Commit Graph

34 Commits

Author SHA1 Message Date
Jonathan Rosser 667321df9c Use integrated repo 'hosts' jobs to test different backing stores
This uses the main openstack-ansible repo for testing these different
backing store scenarios rather than openstack-ansible-tests. This is
more maintainable and ensures that we test using the same code as is
used for a real deployment.

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/843027
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-repo_server/+/843418
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/843547
Change-Id: Ic62a8fd7290318ed7c76c22620ee0b6f09075a85
2022-05-26 21:29:46 +00:00
Dmitriy Rabotyagov d7489a08f1 Use only supported functional jobs
This drops jobs for unsupported Ubuntu Bionic and CentOS 8

Change-Id: I6eb4ba4ef9969e2c69dba586b1e28f0662e3c79d
2022-01-12 13:19:52 +02:00
Dmitriy Rabotyagov 352a7f87ca Add upgrade jobs
With previous commit we accidentally removed upgrade jobs, since
they're not explicitly included into deploy template

Change-Id: Ib5aaa7575f2f6fa4a3838134800b78d76f2658db
2021-06-02 18:27:13 +03:00
Dmitriy Rabotyagov ae2ca181f5 Replace linters test with integarted one
We've created integrated linters check job a while back and it's successfully
working for several releases. At the moment we experience difficulties
with future maintenance of the linters check from the openstack-ansible-tests
repo. So instead of fixing current one, we replace it with modern version of
the test.

We also drop regular functional testing as it's replaced with infra
integrated jobs.

Change-Id: I481ef8ec9df7b37b49b2adca606e4c02beee9e48
2021-06-01 13:02:33 +03:00
dmitriy 44637e411c [reno] Stop publishing release notes
Since we copy all release notes to the integrated repo there is not need
in publishing release notes for each repository. We should only verify their
validity and linting.


Change-Id: If2bb2f412145c78f6fc88f273b2fa83eecfd431b
2021-03-04 17:14:32 +00:00
Jonathan Rosser 70e4d1eb15 Add infra scenario CI jobs
These jobs will test the role in the context of the integrated repo
which may show errors not covered by the functional tests.

Depends-On: https://review.opendev.org/756244
Depends-On: https://review.opendev.org/755497
Change-Id: Ice244f946bb2f7199979e0d74ceb61ce64d7a68d
2020-10-07 07:50:15 +00:00
Jonathan Rosser cfcaff62e8 Remove support for Centos-7
Openstack-ansible does not support Centos-7 beyond Ussuri so drop
support for Victoria.

Depends-On: https://review.opendev.org/742103
Change-Id: I395e0f7b1d362240e67a86fa4545a8be64f3053c
2020-09-22 13:53:09 +01:00
Jonathan Rosser da4f62b006 Remove machinectl from LXC cache prep
machinectl is only used to store the image during
initial cache preparation and is unrelated to the
backing store used by LXC.

This patch removes the use of machinectl and btrfs
which makes the lxc_hosts role portable to centos-8
which does not have btrfs

Change-Id: Ib03ea09fa5b4d4b6b3d5ca38a0a6c5cf67eb1df4
2020-06-17 14:15:58 +00:00
Jonathan Rosser 123cdc3bfe Add functional tests for ubuntu focal
Depends-On: https://review.opendev.org/732010
Depends-On: https://review.opendev.org/732013
Change-Id: Ifcb09830dc6d4c9f06db907a4b646a230b1ad938
2020-06-01 18:29:44 +00:00
Andreas Jaeger 7cdb2d1ac3 Remove openSUSE 15 jobs
openSUSE does not support lxc, remove all jobs.
There's no value testing a use case that will not work.

Change-Id: I1a8b7ec942eb594c669c3feb0f2b6db159d8b909
2019-10-18 10:34:41 +02:00
Zuul ffe246442c Merge "missing document start "---"" 2019-04-24 19:04:51 +00:00
Jean-Philippe Evrard f1b877ec47 Remove 42.3 support
No need to keep this. Let's focus on 15.

This makes 15.0 testing non-voting as it is currently broken
and will be fixed in a later commit (both 42.3 and 15 are broken
now).

Change-Id: I5f27ae963163a4f39e8ce9a088e674a89e530cfe
2019-03-21 17:20:09 +01:00
Jonathan Rosser be2d57a40e Remove centos copy-on-write backed tests
BTRFS support is absent from RHEL8, and both btrfs and overlayfs
tests are currently broken, possibly since centos 7.6. This patch
unblocks other work whilst leaving the centos dir backed test in
support of existing containerised deployments.

Change-Id: Ib117ad76ca2bd5521d16e02206cb5f5b9f248bf2
2019-01-11 14:49:01 +00:00
wangqi bc032bc69f missing document start "---"
Change-Id: Ieb5004737ebbf565bc26b39b63cdb289aaf1e6f3
2018-10-30 07:59:38 +00:00
Kevin Carter 1307acd38c Switch xenial jobs to bionic
In Stein we're only planning to test and support
bionic, so we switch the xenial jobs to bionic.

Change-Id: I8ff1e033546012397e2fa6a42953befec6dd8792
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-10-10 19:40:17 +00:00
huang.zhiping 4859c196a2 switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I6eb9abab85d20403a2e5798951eadfac417bcbc2
Story: #2002586
Task: #24319
2018-08-21 13:21:47 +00:00
huang.zhiping 9409b0a7b2 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I158d7c8769c007109d66e70680c2c590e5346ba5
Story: #2002586
Task: #24319
2018-08-21 12:46:53 +00:00
Markos Chandras 3319c8ba48 zuul: Add openSUSE Leap 15 jobs to check pipeline
Change-Id: I301a2cef0c46bbd9a3a8b644afc7532405bbc80c
Depends-On: https://review.openstack.org/#/c/574717/
2018-06-28 14:06:52 +01:00
Mohammed Naser 1bdd37d75a Switch to using project-templates
In order to have more centralized configuration, switch the role
to use the project-template instead.

Depends-On: I2608fc5a0230436cebb0e6c579deae7bd4d7c209
Change-Id: If31c4812b3797f2d20af30c57e1c3371c68bf338
2018-06-16 19:48:11 -04:00
Zuul eeeb889cbb Merge "Trivial: Fix the pep8 warning" 2018-05-17 01:51:31 +00:00
Jean-Philippe Evrard 2910c5ad60 Add Bionic testing
Now that bionic testing is added into the tests repos, we can
start testing it in the repo.

cgmanager isn't in bionic, and therefore is removed

The service module isn't in bionic, and therefore it's been renamed to
"systemd".

The apparmor setup we were doing was breaking the apparmor profiles
required. While this worked in xenial it breaks bionic. To fix this
we're just disabling the apparmor profiles instead of trying to to
augment them through block file changes.

Depends-On: https://review.openstack.org/#/c/566959/
Change-Id: Ie4bca80d0dba7b0da0b5829b91cd6d815894aeaa
Co-Authored-By: Kevin Carter <kevin.carter@rackspace.com>
2018-05-14 21:04:09 +02:00
fpxie cf847ca8da Trivial: Fix the pep8 warning
The yaml should start with "---"

Change-Id: Idc217ee0d4409360c0763779acadf21d39206ff7
2018-05-08 17:34:53 +08:00
Jesse Pretorius 1416166a70 Remove required-projects from job definition
Given that the parent is the functional job, which already
includes all the required roles, this is unnecessary and
only serves to slow down the test.

Change-Id: Iadcebc9eca9e279ea647a7a35bff5d00f82489f1
2018-03-27 17:29:42 +00:00
Markos Chandras 30b9835dad zuul: Add missing CentOS and openSUSE jobs
openSUSE and CentOS have been voting jobs for a while so we should
start testing all the scenarios on them. The only job that hasn't
been added is the ZFS one since there is no such package on openSUSE
or CentOS.

Change-Id: I25e79a1fab85f1bb4b88f8f7a8eaf945e68ef0ba
Depends-On: Icde5ed7a4e6be8ac19412f15b84febf2096ba404
2018-03-02 15:42:18 +00:00
James E. Blair 30a78eeda2 Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: I2d90d8d9c396f78ad9b981229d0741b71f59812d
2018-02-06 02:04:38 -08:00
Jean-Philippe Evrard 000e4b8d09 Allow the experimental trigger of the integrated repo
This would allow someone to test its change with an AIO.

Change-Id: I31658a1fb95ba2a041a72281ae680505f6ffe47d
2017-12-06 08:21:12 +00:00
Kevin Carter (cloudnull) e9aa551a80 Add more testing and increase build timeout for suse/cent
This adds more testing so we're doing everything we can combat
regressions across distros and all of our storage backends. To enure the
greatest possibility of consistent success when running the container prep
process the build timeout has been doubled for both SUSE and Cent.

For the SUSE prep-process the dbus-1 package has been added to the
installation list. This is being done for consistency across the distros
we support.

Depends-On: Ia4856f36b2d106d987e3c774f31493e25a23d4b5
Change-Id: I481cfa36c8f6c5dbda09dadbcb3194c0052ed3f9
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-11-29 01:47:56 +00:00
Jesse Pretorius 7b44043562 Remove non-voting check from gate queue
In https://review.openstack.org/516625 the
openstack-ansible-lxc-dir check was switched
to non-voting, but not removed from the gate
queue.

Change-Id: I6d15d72fe4a6acb8fcc59d4f3442f09057ea9709
2017-10-31 21:45:00 +00:00
Markos Chandras 1e30c47a7a SUSE: Fix copying repositories from the host
The repositories were missing the .repo extension from the filename so
none of them was copied to the container chroot. Moreover, we should pass
the zypper repository directory as argument to the 'find' command and not
the repository files themselves.

To prevent chicken and egg situations, we make the cross-repo test
non-voting.

Change-Id: Iab6f0c408edaf237ad022242c9d6d20257deff1a
2017-10-31 20:06:18 +00:00
Zuul a1286fb642 Merge "Add lxc-container-create tests" 2017-10-30 15:38:01 +00:00
Jesse Pretorius 2cd8463d02 Remove unified queue from gate pipeline
Initially the intent for adding this was to better test
any patches for roles together before they merge, but it
has had the unintended side-effect of causing patches to
take much longer to merge (because they all get lined up
in a single queue, rather than independent queues) and
a lot more infra resources are used (because a patch
that fails at the top of the queue will result in all
subsequent patches restarting all their tests).

As discussed in the channel, we'd prefer to revert back
to the previous independent queue method of testing. It
has served us well.

Change-Id: I7aced1293d9747a3ae3ab4a4fb63467fceb9d214
2017-10-23 11:12:39 +01:00
Jesse Pretorius 43499ead9f Add lxc-container-create tests
In order to properly verify that changes to the lxc-hosts
role do not negatively affect the lxc-container-create
role, the changes are tested together with these tests.

Change-Id: Ifa58829a8435fd8a039f6658583f01a244111ab8
Depends-On: If39e4bec8db0be04b13dfc005ee404b73c0b65d3
2017-10-19 18:38:13 +00:00
Jesse Pretorius 7d4082f6ac Add openstack-ansible-linters test
Currently the linters test is in the project-config
repository, but those are meant to be used for standard
jobs which do not require any repository other than the
one given. Our lint tests use the 'openstack-ansible-tests'
repository, so we should rather use our own job definition.

Change-Id: I1f97af8354b7209211ab7d7fbbe32660f5aabb64
Depends-On: I0391ec310c4eede436011a48490e3c524c8ddf4d
2017-10-18 17:46:59 +01:00
Jesse Pretorius 28a62e408e Initial OSA zuul v3 role jobs
This patch implements an initial set of jobs intended to match
the current job execution method. It does not intend to improve
how the jobs are executed - only to replicate what is currently
in openstack-infra/openstack-zuul-jobs and provide the platform
to iterate on.

Change-Id: I53dfb4f5c24c523d77f9f293d47b7b882aa77bf1
2017-10-17 17:59:49 +01:00