Commit Graph

116 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov d163850d7c Bump ansible-core to 2.12.8
On 30.09.2023, "old" ansible galaxy(galaxy.ansible.com) was replaced
with "galaxy ng"[1].
There was a bug [2][3][4] that was fixed only in a supported
ansible-core versions, so:
- v2.12.8
- v2.13.3
- v2.14.0 (and all newer versions)

All openstack-ansible versions up to Yoga are using older ansible-core
versions.
As a result, bootstrap-ansible.sh script fails with an error:

```
Skipping Galaxy server https://galaxy.ansible.com/api/. Got an
unexpected error when getting available versions of collection
ansible.netcommon:
'/api/v3/plugin/ansible/content/published/collections/index/ansible/netcommon/versions/'
```

This patch bumps ansible-core version to 2.12.8 that includes required
fix.

[1] https://www.ansible.com/blog/new-ansible-galaxy
[2] https://github.com/ansible/ansible/issues/81830
[3] https://github.com/ansible/ansible/issues/77911
[4] https://github.com/ansible/ansible/pull/78325

Change-Id: I2c15c220ca8c6b6f0cbedbf0da8e802b7c0f5e2d
2023-10-16 15:32:55 +00:00
Dmitriy Rabotyagov 0c4f893cf7 Switch functional job to Jammy
As PTI for 2023.1 Antelope release Ubuntu Jammy was set as a target
platform. Thus, we should update our functional jobs to reflect that.

With that we also clean-out projects.yaml from jobs that are currently
undefined among zuul jobs to prevent any zuul config failures.

Change-Id: I72b4bb7eddb37579f9d33d365ded982e5db0a9ac
2022-12-28 23:15:17 +01:00
Dmitriy Rabotyagov 046ecd4abc Switch CentOS 8 Stream to 9 Stream
Change-Id: If030c646e9c79b55b206fdca51d0b5555286c31b
2022-12-01 09:20:54 +00:00
Dmitriy Rabotyagov 2ebc57082c Add SERVICES_BRANCH variable for better control
Currently TESTING_BRANCH serving 2 purposes - it controls over OSA
branch to use and services branch.
At the same time we need to have these separated from time to time, as
OSA is trailing.

Change-Id: Ib5ca8c7d3300f4e8efd81f87612c821594bebfac
2022-05-31 16:59:26 +01:00
Dmitriy Rabotyagov 5371795f68 Provide opportunity to override TESTING_BRANCH
Since OSA has trailing releases, we might want to override branch we're
testing. At the moment it's set based on the .gitreview file.

At same time we temporary override branch to yoga, as deploying from
master breaks installation.

Change-Id: Iacef9bec9ab8f2f15a56e3d95f71734277d7a8c7
2022-05-24 10:47:59 +02:00
Jonathan Rosser d3a67b0b68 Remove unused centos-8 functional job definitions
Depends-On: https://review.opendev.org/c/openstack/ansible-role-qdrouterd/+/820672
Change-Id: I7c4ef5da667cc157a9d263477afa50b8eb73149c
2022-01-21 20:58:31 +00:00
Jonathan Rosser 9044f21756 Clean out unused legacy tests
Remove job definitions for gentoo and bionic and any others which
are not used elsewhere in openstack-ansible.

Depends-On: Ic53886ee1833469daef0b31a46ea361e449d7697
Change-Id: I1fb55fd1f476139fcd4cc0b6c68b291454160132
2021-12-07 08:27:46 +00:00
Zuul 9ef85442ba Merge "Remove linters from openstack-ansible-role-jobs" 2021-07-05 11:43:19 +00:00
Jonathan Rosser 3afe3b7448 Add ansible-role-pki to required-projects
Change-Id: Iba078102bdf5a7e7929a07ddfe9b73a63a70536f
2021-07-01 17:38:17 +01:00
Dmitriy Rabotyagov 0d95a0590e Remove linters from openstack-ansible-role-jobs
Once we've moved almost all repos to integrated linters jobs,
we shouldn't include linters inside functional tests template.

Change-Id: I890529cdd2fe3918e9d97e918da303c929dfe07d
2021-06-30 09:24:33 +00:00
Zuul efd8b4a1a4 Merge "Use ansible_facts[] instead of fact variables" 2021-05-05 09:07:50 +00:00
Dmitriy Rabotyagov 7013ee811e Set buster job to NV
Recent nova does not support libvirt version that is provided in
Debian Buster, so we setting job to not voting.

Change-Id: I2c0bcbcfe1f8b4bee60a6069e4b2417ad5f67cf6
2021-04-19 19:18:49 +03:00
Jonathan Rosser 84eea5b91d Use ansible_facts[] instead of fact variables
See https://github.com/ansible/ansible/issues/73654

Change-Id: I9841e5b7f32f452b7da0c643cb6c3e0e30d9e413
2021-03-17 12:20:20 +00:00
Jonathan Rosser 4eac7fd2c1 Clean up code from unsupported operating systems
Remove SUSE, Gentoo, and references to yum package manager.

Change-Id: If591661b4145219f7837960f93bc9647b60d2a70
2021-03-11 23:08:21 +00:00
dmitriy f84c545d90 [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: Ie904f147076463309c05faeb1dcef1677432a7e1
2021-01-22 18:29:29 +02:00
Jonathan Rosser 07cd16d016 Run linters job on a focal node instead of bionic
Change-Id: I3164b67fdbd53e794f9ad53f73569fdaa7f22047
2021-01-19 17:56:48 +00:00
Jonathan Rosser e2febf6bcf Return centos-8 jobs to voting
Depends-On: https://review.opendev.org/766030
Change-Id: Id526f7b4b1108f6db90c2ebb599c6b8a83279ccb
2020-12-08 16:34:19 +00:00
Dmitriy Rabotyagov b4426f7312 Bump virtualenv to version prior to 20.2.2
Recently released virtualenv breaks linter jobs. In order to prevent this
we temporary fix it's version before this release

Make centos-8 job non-voting as fixing centos 8.3 creates a circular
dependancy on this patch.

Change-Id: I1dc269944445a1493c0008d9f318db56d9f0274f
2020-12-08 12:05:13 +00:00
Dmitriy Rabotyagov be3ee26130 Add missing projects to required ones
Change-Id: I6f729ae1d4c7af7f74759ec71d8ddbb3e31c3369
2020-10-16 12:31:39 +03:00
Zuul a06625642a Merge "Remove Centos-7 support" 2020-09-24 16:42:46 +00:00
Jonathan Rosser 6403dd594e Remove Centos-7 support
Ussuri is the last release that openstack-ansible supports Centos-7.
Remove support for Centos-7 for Victoria.

Depends-On: https://review.opendev.org/742166
Change-Id: I3e3cda925b9bf8361f2c3a8d6b2a226e50974001
2020-09-22 12:26:52 +00:00
Zuul ca45f826eb Merge "Remove opensuse-15 jobs" 2020-09-21 10:53:09 +00:00
Jonathan Rosser 38054d6563 Remove opensuse-15 jobs
Opensuse is no longer supported for OSA deployment so remove the jobs

Change-Id: If939e421f2ee9ec997136b8277120986f9029ed9
2020-09-21 08:02:01 +00:00
Dmitriy Rabotyagov 4672aa0e08 Add os_senlin to required-projects
Change-Id: Ie9f9c15df252bca3e47c6bd6b354169dde9fd8f4
2020-09-02 17:57:06 +03:00
Dmitriy Rabotyagov dcb2b0195d Make focal and centos 8 functional tests voting
Change-Id: I662819f6df0b05e47a2a78bb7432350040ab7b43
2020-09-01 09:25:15 +03:00
Jonathan Rosser 037c6441ed Remove python3 specific test job
All tests are now run under python3 by default so there is no need
for a specific python3 job.

Depends-On: https://review.opendev.org/735873
Change-Id: I3fcd9fe5d0cb9e857ee881a3e775789b6479377d
2020-06-16 12:22:32 +01:00
Jonathan Rosser d49d305d0b Remove pre-gate cleanup tasks for the new plain CI images
See http://lists.openstack.org/pipermail/openstack-discuss/2020-May/015157.html

Change-Id: I8a9923f0c9aab67b7dda7af01b8d467e06ee92ac
2020-06-15 19:37:16 +00:00
Jonathan Rosser 619be407e5 Rewrite CI provided apt sources to be http instead of https on focal
Change-Id: I79b2c72132d7a8e8fe1e06b382ef4de03c05d8b4
2020-05-31 10:56:01 +01:00
Dmitriy Rabotyagov 9fddda5e60 Rewrite CI provided apt sources to be http instead of https on bionic
Causes failure during LXC cache prep as the base image does not contain
ca-certificates and fails to apt-update.

Depends-On: https://review.opendev.org/731809/
Change-Id: Iaab079a2466912288ac433402da26de81df2a573
2020-05-30 08:52:23 +00:00
Jonathan Rosser d6392269ea Add Ubuntu Focal non voting check jobs
Change-Id: I4900a86e76290ac8621773278b81c016006e66bc
2020-05-26 16:20:07 +00:00
Jonathan Rosser 961685ce27 Increase timout for linters job to 30mins
This job is given a longer time to run for two reasons, longer is
spent in the job setup becasue of the increased number of repos
in required_projects and more time is required to push the job
logs into swift storage than the previous method.

Jobs are currently failing because these startup/log collect phases
are taking additional time rather than there being a lint issue, so
this patch extends the job time to account for that.

Change-Id: Iab1593cf46bcf80022bb353ed0399baadf49b165
2020-05-13 11:12:04 +00:00
Jonathan Rosser 73c6096acd Add centos-8 non voting check jobs
Change-Id: I4c85be2308bc6c9a4091fecd35896a1838e41ef8
2020-04-30 10:12:13 -04:00
Dmitriy Rabotyagov cabd88aae2 Retire repo_build and pip_install roles
Change-Id: Iaf8ebe677b40b5a8817eaddd1542bbac2c8d7c59
2020-04-10 12:37:45 +03:00
Jonathan Rosser 8fcdb7f971 Remove python2 or python3 problem pip packages
Change-Id: I0bb8af622b6c42e8c339b3aaa1daecf5743b5bad
2020-03-13 19:11:48 +00:00
Zuul 222a297953 Merge "Clean CI virtualenv installation" 2020-02-28 09:17:10 +00:00
Jonathan Rosser 1b7650fe2a Clean CI virtualenv installation
As CI images have pre-installed latest virtualenv package wich breaks
deployments. This will ensure that this package will be dropped and
appropriate one will be installed later.

Change-Id: Ib2391a6f6433c65d96f1a0a81c09f17115145355
2020-02-26 11:23:14 +00:00
Dmitriy Rabotyagov 18a3067a4f Use buster jobs instead of stretch
As for U we don't support debian stretch, there is no need
in having stretch CI jobs. Buster ones should be used instead.

This also fixes ara report

Needed-by: https://review.opendev.org/706285
Change-Id: I554e512968718492ce6056b29b0612e450f0856b
2020-02-24 20:08:35 +02:00
Mohammed Naser 690c721258 ci: restore centos-7 voting
Change-Id: I6b7a24d3edf6fe41ee222a23eaf9a4196970091e
2020-02-24 13:35:13 +01:00
Jonathan Rosser c45e630762 Run tox functional tests under python3
This requires the centos-7 functional jobs to be non-voting as
a precursor to replacing them with integrated repo tests. These
are centos-7 jobs are removed entirely from the gate template.

Change-Id: I0cd779bb6debaf7b77788b671b2d77869ec89667
2020-02-17 14:07:22 +00:00
Dirk Mueller 9d307895a8 Switch to opensuse-15 nodeset
We don't want to rely on opensuse-150 to exist going forward
but instead use one single nodeset for opensuse testing called
opensuse-15 (which will be reflecting the latest stable opensuse 15
release)

Change-Id: I4036353519ec65db325aa530d882f7c9a3ce0804
2019-09-10 15:04:30 +02:00
Ian Wienand 319b0fd89e Move proposal job into project-config
Change Iac9054de55728601d839c1feede15c2a5acc45b6 made the
propose-updates job protected, meaning it can only be defined in the
project-config repo.  Move it to there

Change-Id: Id839ac69ed44553a8d2d88547b2c54502af4a913
Needed-By: https://review.opendev.org/678135
2019-08-23 13:34:53 +10:00
Dmitriy Rabotyagov d3a052c1cb Drop support for Ubuntu Xenial
This patch drops ability to check xenial in gates for roles which
still do not use integrated tests. Bionic upgrade check is voting now.

As an addition fixed leap 15.1 vagrant vm name

Depends-On: https://review.opendev.org/671685
Depends-On: https://review.opendev.org/671687
Change-Id: I750907ccdb96569a803b5bdf2f4c3fbc0d56bea4
2019-07-19 12:10:25 +03:00
Dirk Mueller 2620841ac8 Rename opensuse functional jobs to opensuse-15
Going forward with openSUSE Leap 15.x the minor versions are always
backward compatible similarly to how centos behaves, so we only
want to have the major version in the job name.

Change-Id: I19803a6ef7307df0b6ffd5f45954b7da6f062f89
2019-05-20 22:55:24 +02:00
Zuul e078ec23ae Merge "missing document start "---"" 2019-04-24 19:58:42 +00:00
OpenDev Sysadmins 1d4b8e34b8 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:31:44 +00:00
Mohammed Naser bdbed0212f debian: add jobs
This patch adds Debian functional jobs for OpenStack Ansible
for those roles that still use it.

Depends-On: I48dcf78b1139f13d3d6195f544789e9b0e4224f9

Change-Id: I135ea73604890eae5e9e2a7cdcab81b2b39ad426
2019-04-08 17:40:50 +00:00
Mohammed Naser c67e418828 zuul: create openstack-ansible-linters project-template
As we try to transition to integrated tests, we need to drop the
role jobs as some seem to be broken.  However, we don't have a way
to do this without dropping linting jobs.

This patch allows us to replace openstack-ansible-role-jobs by
openstack-ansible-linters to keep linters and add new jobs as
we need/want.

Change-Id: I669b526fe6e02424801e003f8a6bde89a4245026
2019-03-28 14:34:22 -04:00
Jean-Philippe Evrard ddcd045ef3 Remove 42.3 from Master
There is no point in testing, even experimentally, 42.3 on master.

We can keep 42.3 for the existing stable branches (Rocky being the
last one).

Change-Id: I9a21a7b4fca4166c7ad350808914705da97c9918
2019-03-25 14:10:07 +00:00
Mohammed Naser 8d617a7603 zuul: move non-voting jobs to experimental
The non-voting jobs for Gentoo are new and they are not stable so
we need to leave them as experimental until we have some proven
gate history and maintainership.

The SUSE jobs have been breaking often, however, it seems that they
are still in use, so we're going to move them to experimental
now so that those who would like to try to maintain it can work
on it.

Change-Id: I1e586c68fb7167480a68a421f3211470e92a7003
2019-03-08 13:20:18 -05:00
Matthew Thode 63dbdfe819
add Gentoo jobs as non-voting
Depends-On: https://review.openstack.org/608325
Depends-On: https://review.openstack.org/608393
Depends-On: https://review.openstack.org/633092
Depends-On: https://review.openstack.org/633093
Depends-On: https://review.openstack.org/633152
Depends-On: https://review.openstack.org/633289
Depends-On: https://review.openstack.org/633394
Depends-On: https://review.openstack.org/633385
Depends-On: https://review.openstack.org/633423
Depends-On: https://review.openstack.org/633424
Change-Id: I8ca881dc47ae26de0caee75385e302396c99bf42
2019-02-22 13:49:51 -06:00