summaryrefslogtreecommitdiff
path: root/roles
Commit message (Collapse)AuthorAgeFilesLines
* Datastore containerizationLingxian Kong2020-05-271-1/+1
| | | | | | | | | | | | | Significant changes: * Using docker image to install datastore. * Datastore image is common to different datastores. * Using backup docker image to do backup and restore. * Support MariaDB replication * Set most of the functional jobs as non-voting as nested virtualization is not supported in CI. Change-Id: Ia9c97a63a961eebc336b70d28dc77638144c1834
* Improve the function testsLingxian Kong2020-01-282-2/+3
| | | | | | | | | | | | | | | - Execute test groups in serial to make sure no more than 2 database instance are created at the same time. - Remove some unneccesary tests - Remove unneeded datastore, e.g. 'Test_Datastore_1' - Remove unsupported trovestack subcommands - Move unsupported DIB elements to the 'deprecated-elements' folder - Decrease default value of 'agent_call_high_timeout' to 5min - Add initial_deplay for pooling task - Use socket file to connect with database instead of using localhost IP Change-Id: Ie5030a671fbeb453eafa6cbe04e08da7b52e33c9
* Fix Trove CI jobsAndreas Jaeger2019-08-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Changes to get jobs working 1) After [1] devstack no longer changes the ownership of the whole /opt/stack tree to the stack user unconditionally. Switch to the stack user when running integration test. 2) Add bindep.txt file[2]. The default fallback file is not installed anymore and therefore a bindep.txt file is needed to add install additional packages. 3) Use trovestack script rather than devstack to build image so many global variables could be used for consistency. By default, devstack won't build image. 4) Remove the tools/test-setup.sh as it is not used any more. 5) Instance upgrade test keeps failing in CI for some reason, although it's always passed on my local environment. In order not to block other patches, skip the instance upgrade tests temporarily. [1] https://review.opendev.org/203698 [2] http://lists.openstack.org/pipermail/openstack-discuss/2019-June/006888.html Change-Id: I35e17afb9e827b1fead9d28dbf32f11ce4034a9b
* Execute functional test jobs running under python3Marcin Piwowarczyk2018-12-141-2/+2
| | | | | | | | | | | | | Functional tests are executed by trovestack script, which uses python in default OS version which is 2.7. This change wraps python in tox and executes trovestack int_tests in virtual enviroment, starting them in python3. Any future python version change could be managed by tox framework. Change-Id: I3a849978241d3d0669ef9e1c802ff504ac3c32cb Signed-off-by: Marcin Piwowarczyk <m.piwowarczy@samsung.com>
* Migrate to Zuul v3 native job definitionsZhao Chao2018-07-173-0/+21
This patch migrates the legacy gate jobs to Zuul v3 native ones(a new trove-devstack role is created for all those legecy jobs, and the previous way of running gate jobs is still kept as we still cannot migrate the genade job to a Zuul v3 native one), following the documents below: https://docs.openstack.org/infra/manual/zuulv3.html https://docs.openstack.org/devstack/latest/zuul_ci_jobs_migration.html Change-Id: I10a1adae3a79b7322118fce180119f0ee5ff2e1b Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>