Commit Graph

26 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov 0d4b994049 Add nfs and ceph jobs to templates
With changing cinder code we potentially can break some backends.
In order to detect this in time we are adding ceph and nfs scenarios.

We also fix lvm backend for use on RedHat.

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/859339
Change-Id: Ifceb2b816199339ec7725bd95cc890595eed95d9
2022-10-04 12:56:58 +02:00
Dmitriy Rabotyagov 9e6ba16bc9 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.


Change-Id: I16531da2fb45dde15b57dcd1b09ec1e471d1addb
2021-05-21 15:52:29 +03:00
dmitriy 5bb61ffb70 [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: I51d0f20c05a7949dfbb802a19fcb491dcc410618
2021-01-22 18:24:57 +02:00
Zuul 5cf9da12fe Merge "missing document start "---"" 2019-04-24 20:06:17 +00:00
Jesse Pretorius 927ad2091a Test using integrated build
In order to do a more complete verification of any patches,
we add a full uncontainerised OpenStack deployment to the
functional testing using the integrated repo. This replaces
the previous role functional test mechanism.

Any additional role tests are left as-is. They will require
some extra implementation in the integrated build before they
can be transferred.

Depends-On: https://review.openstack.org/647840
Depends-On: https://review.openstack.org/648502
Depends-On: https://review.openstack.org/648551
Change-Id: I1255361809c14a3a2742092414a38e3f5a612719
2019-03-28 23:50:11 +00:00
Jesse Pretorius bc19831e5c Test using integrated build
In order to do a more complete verification of any patches,
we add a full uncontainerised OpenStack deployment to the
functional testing using the integrated repo.

Depends-On: https://review.openstack.org/629542
Change-Id: I16939a348327ab4a3d5b617d33ba312a3466c73f
2019-01-09 15:36:45 +00:00
wangqi 41c7eb2f2a missing document start "---"
Change-Id: I0beb18e2e0afc39923d5a1c12c4096af09becb66
2018-10-30 07:36:11 +00:00
Markos Chandras aa82e8aa39 zuul: Switch to distro package installation template
Change-Id: I5fee5db5eede4fa9bfdd8f3880317c17587e63db
2018-09-28 13:26:47 +01:00
Jesse Pretorius 939df55739 Clean up role tests
Now that we're using the general templates, we can slim down
the role test definitions. We can also remove tests which are
not being watched, or which are fundamentally broken. With
this we can also remove unused scripts/plays.

We do the following:

1. We remove the 'ssl' job, given that the person working on
   that is no longer doing so, and no-one else has picked up
   the work.
2. We remove the 'upgrade' job, given that it's been broken
   all cycle due to the way the job executes and we need to
   regroup to figure out another way to do it.

Change-Id: I28ff7b95d3b2cc064c59c9966e9c25c7ad9184da
2018-09-16 03:38:08 +00:00
huang.zhiping 5dab34a6e8 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: I7b77be296d0f4014ce37e803b855160e5b6b0e0e
Story: #2002586
Task: #24319
2018-08-21 13:21:53 +00:00
huang.zhiping 2425bcbb94 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: I47442caa4d7f977701f8bc4b394f1524613afa80
Story: #2002586
Task: #24319
2018-08-21 13:06:26 +00:00
Markos Chandras 7a809e22a3 zuul: Drop distro jobs for Xenial and switch to smoke tests
There will be no Rocky packages for Xenial so there is little point
in testing Xenial against current and upcoming releases. As such,
lets switch to Bionic. This also makes the functional jobs in Bionic
voting again.

In addition, this change switches to use smoke tests only because
there is no upstream coverage to use the cinder_tempest_plugin which
seems to have some broken jobs.

It seems that we're currently configuring the LVM config after
the service is setup which can cause it to go up with missing
LVM configuration.

This moves the tasks up so that the underlying storage is prepared
before the service is installed and deployed.

This is a squashed commit that covers a few topics because dropping
the Xenial jobs fails because the cinder_tempest_plugin tests
are failing.  Also, the LVM config running later seems to cause
the process to spin, possibly causing some troubles for RabbitMQ
connectivity.

Depends-On: https://review.openstack.org/#/c/591966/
Depends-On: https://review.openstack.org/#/c/591968/
Change-Id: I592691358f8dc587182052f9a079886dfc442744
2018-08-16 10:03:20 -04:00
Jonathan Rosser 58912302d6 Mark bionic gate jobs as non-voting
Re-enable these once this role is fixed for bionic

Change-Id: I07ece3624ec9de42c4db6a6ba75ef07b7d40a3a9
2018-08-06 15:02:22 +01:00
Mohammed Naser 7d677ef9d4 Enable CentOS 7 distro jobs
The necessary packages are now shipping for CentOS so we can deploy
and ship Cinder directly from packages and gate on that.

Change-Id: I16710c2b8e4ee2f11f85d6db1c5270481bd1fc70
2018-07-12 12:44:46 +00:00
Heba Naser 708a0fdef3 Switch to using project-templates
In order to have more centralized configuration, switch the role
to use the project-template instead.

Change-Id: I9cffa19870edec8df244a97412670049b199ad14
2018-06-29 06:45:52 +00:00
Mohammed Naser 0b13c6f07b Switch non-voting jobs to use Zuul stanza
The extra jobs that we have are not something that is needed, we simply can
set the jobs to non-voting in the project definition and avoid having non
voting jobs.

Change-Id: If7e15b57302a9ff80dc8ae0824ce850468b85985
2018-06-24 16:13:37 +00:00
Jean-Philippe Evrard 5b0612ceb6 Add new voting jobs to gates
All the voting jobs should be part of the gates.

Change-Id: I352bcbdb6ca5e3cc1c0c83459007aaf6ad1728e2
2018-05-14 17:42:28 +02:00
Markos Chandras ee22a77c3a vars: Do not install build dependencies for distro installs
The cinder_distro_packages contain packages which are build dependencies
to the 'PIP' ones so we don't need to install them when we are using the
Cinder distribution packages. This also renames the '*cinder_wsgi_bin'
to '*cinder_uwsgi_bin' since it refers to the actual uwsgi package.
Finally, we add the missing 'install_method' conditional when recording
the local facts.

Change-Id: Ib6f3a85dd20c61611e968baffd4e3c725d9e39b3
Implements: blueprint openstack-distribution-packages
2018-05-14 12:59:09 +01:00
Markos Chandras ba7c1e29d9 Add support for using distribution packages for OpenStack services
Distributions provide packages for the OpenStack services so we add
support for using these instead of the pip ones.

Change-Id: I4ff3cbf5e1e1ce04cd4cdc9c1ce97afdeace5159
Depends-On: I5a78e2120e596d36629b4ba978b2b5df76b149b0
Implements: blueprint openstack-distribution-packages
2018-05-04 17:08:45 +01:00
Paul Belanger c15254988e
Stop running non-voting jobs in gate
There isn't a need to run non-voting jobs in gate, as it ends up just
wasting CI resources.  Results can be obtained from the check pipeline
results.

Change-Id: I017a5d979fd70f086860b0604b4cec4d8891b1ba
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-02-12 11:05:45 -05:00
James E. Blair 1acf7f92c0 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: Ib61a6f00eba2a60aa35d232e6f65ce2f4a839222
2018-01-27 17:58:16 -08:00
Jimmy McCrory 198acc08aa Add MySQL connection SSL support
When 'cinder_galera_use_ssl' is True, use an encrypted connection to
the database using either a self-signed or user-provided CA certificate.

A new non-voting test has been added to verify that the role remains
functional when enabling SSL features.

Partial-Bug: 1667789

Change-Id: Ifeda0acb4b70ba313e6572c806125d31ab3eb300
Depends-On: I95cc994df5118fce7ce588fc0bff979bc283a6f3
2017-12-18 15:01:59 -08:00
Jean-Philippe Evrard b589084500 Allow the experimental trigger of the integrated repo
This would allow someone to test its change with an AIO.

Change-Id: Ibb2b4036b488d5f2b53cb5ee146c9c38f4c188ae
2017-12-06 08:21:56 +00:00
Jesse Pretorius a7f4d9870a 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: Iaf062e3707b320104361beffc4cf48254492509f
2017-10-23 11:16:41 +01:00
Jesse Pretorius 9b846910ed 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: Ie6f7265084471efd0ab6e1a14f9d214162a57d8e
Depends-On: I0391ec310c4eede436011a48490e3c524c8ddf4d
2017-10-18 17:47:48 +01:00
Jean-Philippe Evrard 3815c5bb4e Update upgrade role for Queens from P
This changes the a-r-r with the proper version, and fixes
the repo path for role upgrades:

The role will, during test-upgrade-pre, have its current branch
checked out, and will deploy the current branch infrastructure,
including the generation of the constraints.

Then, the installation of previous branch of the role will use
the constraints for its previous version, but will have no
constraints for it, and fail.

We need to generate the constraints for the previous version too.
This should do it.

On top of that, we needed to update the work for Zuul v3:
This implements the 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: I2d455e9a47c85b77655e3b55847cf45959901b77
2017-10-17 18:28:22 +00:00