Commit Graph

32 Commits

Author SHA1 Message Date
Takashi Kajinami
00f2ec1160 Bump puppet minor versions
... to the latest minor versions. Also remove the bugfix release number
from puppet_gem_version so that we can pull the latest bug fixes.

Change-Id: I525f877ddbb5885d9371e305fa3207e4b3ee20c6
2024-03-06 16:31:33 +09:00
Takashi Kajinami
8ea61b5174 Bump puppet versions to the latest minor releases
Puppet 7.26 and 8.3.1 were released this November.

Change-Id: I60de0a11507785d23cff80bfffdfdfe14d3cca0c
2023-12-06 23:09:05 +09:00
Takashi Kajinami
27ccf1dad3 Bump puppet versions to latest minor versions
Change-Id: I8e35daca7a0500d05aa7bb9a01885f2556e4e425
2023-10-22 00:52:23 +09:00
Takashi Kajinami
ee4c7d17de Add non-voting Puppet 8 jobs
Puppet 8 was recently released. This adds a few non-voting jobs to
start testing our modules with that new major version.

Note that Puppet 8 requires Ruby 3.1, which is not available in Ubuntu
Jammy and CentOS 9 Stream by default. To meat that requirement we use
CentOS 9 Stream with the ruby:3.1 module enabled.

Change-Id: I0dc1d3a6c1b40c1e9cce636e9d41ec45e8bbf3ad
2023-04-28 16:59:00 +09:00
Takashi Kajinami
6984cc9f47 Bump puppet version to 7.22
Puppet 7.22 was just released to fix the incompatibility with
the latest concurrent-ruby. Let's bump the version used in our CI
to unpin the library.

Related-Bug: #2003761
Change-Id: I1fe226be4771fa434cc23f359fc0a9aee87e0ee6
2023-01-27 15:53:37 +09:00
Takashi Kajinami
1cd2ba1cff Ubuntu: Migrate jobs from 20.04 (focal) to 22.04 (jammy)
... because the Zed release is available for only 22.04.

Because Ruby 2 is no longer available in Ubuntu 22.04, this drops all
tests with Puppet 6, which supports only Ruby 2. (Ruby 3 is supported
since Puppet 7.8.0)

Also, this disables the separate ceph repository because the upstream
repository does not yet contain packages for Ubuntu Jammy. We install
ceph packages from UCA for the time being but would revisit this later.

Depends-on: https://review.opendev.org/c/openstack/puppet-nova/+/865105
Change-Id: Icbfe677dadb3dab96ea06afe650c524b4abbb753
2022-11-21 07:07:51 +00:00
Takashi Kajinami
b83a054f93 Ubuntu: Bump puppet version to 6.28.0
... because the latest puppetlabs-mysql requires Puppet >= 6.24.0.

Change-Id: Iaea8d07c0b40bfe50d6a6580826f97a2b76cf529
2022-08-31 01:22:34 +09:00
Takashi Kajinami
65919c198f Bump Puppet 7 version to 7.16
... because now Puppet 7.16 is available in RDO master.

Change-Id: I3b2fd06fd0a5f39545276c8d5091874f3858b63e
2022-06-28 00:03:37 +09:00
Takashi Kajinami
5a113b3b09 Migrate unit tests to CentOS 9 Stream
RDO no longer supports CentOS 8 Stream since Zed, and functional jobs
are being migrated to CentOS 9 Stream.

Following that migration, this change migrates unit tests to CentOS 9
Stream, to reduce OS versions we use in CI.

Change-Id: I93cc7545728fd6dde89399d8a57763137dd24f55
2022-04-20 14:00:08 +09:00
Takashi Kajinami
8bd3dc2988 Remove remaining CentOS jobs with Puppet 6
This is follow-up of d45f560d8e and
removes all the remaining Cent OS jobs with Puppet 6, so that only
Puppet 7 is used with CentOS.

Change-Id: I939afd96dedb3d35644575dd1f56cf58f23159c4
2022-04-07 20:41:35 +09:00
Takashi Kajinami
180d582970 Bump rspec-puppet to 2.8.0
... as we no longer see any failures in the unit test jobs with
rspec-puppet 2.8.0.
The version used in "latest" is bumped to 2.9.0 which is the current
latest version.

Change-Id: Id8f0487e8ac0355fa51b4919614f9dcd2ed8b52a
2022-02-18 19:39:57 +09:00
Takashi Kajinami
7e6080c175 Bump Puppet 7 version from 7.8 to 7.10
... following the version provided by RDO. It is known that
Puppet >= 7.10.0 or >=6.25.0 is required to avoid the wrong service
provider used in CentOS9[1].

[1] https://tickets.puppetlabs.com/browse/PUP-11433

Change-Id: I7cb23b2179292164ddcd2909773d05cacbb334f4
2022-01-27 00:22:38 +09:00
Takashi Kajinami
df35864382 Bump Puppet 7 version to 7.8
... because 7.8 is currently available in RDO Xena testing.

Change-Id: Icbfd3e436aa91d8cf7edccbb716844b6b39a0362
2021-08-11 23:38:08 +09:00
Tobias Urdin
ccea9becb4 Add Puppet 7 testing
Change-Id: I43c55bb428321ef8455e4ec8dddfd38606484804
2021-05-03 10:27:15 +02:00
Takashi Kajinami
fe029254fd Ubuntu: Switch to Focal and Victoria
We already have OpenStack Victoria releae available in cloud archive
so let's switch our master tests to that latest version.
Since Victoria release is only available in Focal this change also
switch base Ubuntu version from Bionic to Focal.

Change-Id: Ie78b6ef1c3f09fbbc3bc584ac99d2a0acfc5d9d9
2021-03-22 14:10:16 +09:00
Takashi Kajinami
5a12e3b187 Bump puppet version to 6.21.1
... because Puppet 6.21.1 is currently available in wallaby testing in
RDO and supposed to be released as a part of RDO Wallaby release.

Change-Id: I92b11c983909194d192b270695f729c5879ef03c
2021-03-20 08:32:10 +09:00
Takashi Kajinami
a75e47446a Switch all CentOS 8 jobs to CentOS 8 Stream
... because RDO Wallay won't support CentOS 8 but only CentOS 8 Stream.

Change-Id: Id76ef3fe2db8888b7d409d7014e775b4c780083f
2021-03-16 23:17:11 +09:00
Alfredo Moralejo
acb80f48a2 Add CentOS 8 Stream jobs to puppet-openstack
RDO has switched to use centos-8-stream to build and validate spec
changes in RDO Trunk for master. Also, now puppet-promotion pipeline is
using both CentOS Linux 8 and CentOS Stream 8 as promotion criteria.

This patch is adding CentOS 8 stream jobs in puppet-openstack projects.
First, i'm adding them to check pipelines as non-voting and once we
check they are stable we can move them to voting.

Change-Id: I6d5c26585a5f5687584a63435ce5cebba7ffae79
2021-01-28 09:57:19 +01:00
Tobias Urdin
ef3c5dc9b7 Add Puppet Litmus and remove Puppet 5 testing
This patch adds the needed bits to replace Beaker
with Puppet Litmus.

Since Puppet Litmus only supports Puppet 6 we
need to remove Puppet 5 testing. The probability
that we break Puppet 5 support (we have promised
to keep it in Victoria) this late in the cycle is
very low hence we should try to get this through.

When this is merged we can move all modules over
to use Litmus and then cleanup all Beaker things.

Change-Id: I73f18345ed3e6481f86ad7af7d68f66b19d2250e
2020-09-01 15:06:37 +02:00
Takashi Kajinami
cb7d847d37 Bump to puppet 6.14
Change-Id: Id3650d13eca709d34af586ac0d0166bcf1fa7fde
2020-04-23 21:14:04 +09:00
Takashi Kajinami
918e548b5c Remove all branches filter in zuul configuration
... to avoid conflict between stable branches, because adding branches
make that job definition global one instead of branch specific one[1].

[1] https://zuul-ci.org/docs/zuul/reference/job_def.html#attr-job.branches

Closes-Bug: #1871866
Change-Id: I4224ab2ca2d66cab1ba596760c6bb594ad1ce098
2020-04-09 15:23:19 +00:00
Takashi Kajinami
2ad580d016 Fix imcomplete migration to CentOS8 in ut/lint
The previous change[1] was merged to migrate jobs from CentOS7 to
CentOS8, but it was in fact incomplete regarding the following points.
 - Check jobs run on CentOS8, while gate job only run on CentOS7
 - Library jobs are still voted by CentOS7 jobs

This patch fixes the imcomplete update to make sure that we use
CentOS8 for master jobs.

[1] fc189a8973

Depends-on: https://review.opendev.org/#/c/715336/
Change-Id: If47b8ec2a43fbf53079ed9029f339a8f904e763e
2020-03-27 13:35:25 +09:00
Alex Schultz
92954b3da1 Fix version locks
In order to lock to a specific minor release we need to specify all 3
numbers or it will pick up the next minor release. For 6.11 we were
getting 6.14.0 when the job run which is the same as the latest.

Change-Id: Idab2b1bd50ae316d9d26f5616174a3421f22b571
2020-03-23 08:50:30 -06:00
Takashi Kajinami
867f939bd6 Run unittests and lint tests on CentOS8
This patch introduces a job to run unit tests and lint tests on
CentOS8, as we are migrating from CentOS7 to CentOS8.

Note that we have a job with puppet 5.5 initially, because we still
use puppet 5.5 in rdo train, but puppet 5 will be deprecated in Ussri.

Change-Id: Id643efdbab93f39ce3b168a2d1c451035547ecab
2020-03-03 22:19:36 +09:00
Zuul
bec9f32375 Merge "Bump to Puppet 4.10 and Puppet 6.11" 2019-12-02 18:16:31 +00:00
Tobias Urdin
0beb85cdb4 Bump to Puppet 4.10 and Puppet 6.11
Change-Id: I7c2bdcf0236aa73361e05967458d18d815e8cd17
2019-11-21 22:38:58 +01:00
Tobias Urdin
d148836bf4 Test Puppet 6 for Train
Change-Id: I447827fb99cb1d168a6d16a9c3fbf47f8abd2c46
2019-11-21 22:35:12 +01:00
Zuul
7e5e0fa8b0 Merge "Dont run puppet 4 unit on master" 2019-06-13 22:59:43 +00:00
Tobias Urdin
1fc406ddc6 Dont run puppet 4 unit on master
Was deprecated in Stein so we continue to run them
there but for Train it's not supported so removing
testing on master.

Change-Id: I062c7e21fa8a2aa35fbf8768c752715868da5132
2019-05-17 10:02:11 +02:00
Tobias Urdin
0b3186ee2a Run puppet 6 unit for Stein and master
We want to test puppet 6 for Stein changes and
for master. Also updates the puppet version
from 6.0.x to 6.4.x which is the latest minor release
for puppet 6.

Change-Id: I18b84f009d1826d45f01d483f57a5c1806565d35
2019-05-09 15:45:43 +02:00
Tobias Urdin
d12671bc28 Set selective rspec-puppet versions
We set the 2.7.1 rspec-puppet version on the
latest non-voting job so that we can start
working on supporting this latest version
were strict variables is enabled.

Since our spec testing does not include classes
in pre_condition properly it fails in later
rspec-puppet versions.

This still leaves our voting jobs with the
2.3.0 versions so that they dont fail.

Change-Id: I7f589d931a948dd9de2100d55f98b95675956768
2019-01-23 08:35:49 +00:00
Alex Schultz
45a2955993 Reorganize the zuul configs
Previously we had all our jobs and templates under a single file which
makes it hard to follow for the configurations we have. This change
splits apart the old .zuul.yaml into base, beaker, integration, library,
linters, tripleo and unit groups.

Change-Id: Ia43ade9d06ab0ab91c4088d0989e578b0fb489b9
2018-12-03 09:20:00 +01:00