Commit Graph

1592 Commits (master)

Author SHA1 Message Date
manchandavishal 81044bc902 Add nodejs v20 project templates for 2024.1 release
This commit defines the nodejs v20 job template so that horizon
and all its plugins can use this template to run nodejs jobs with
nodejs v20 which is the testing runtime for 2024.1 release[1].

[1] https://review.opendev.org/c/openstack/governance/+/900224

Change-Id: I47a89078dd70da58f95c09eea23ec00a69b5b268
2023-11-15 17:16:09 +05:30
Brian Haley 77eea99bb8 Create py311 jobs for neutron
There are three job definitions here for testing
neutron with the master branches of other projects,
specifically neutron-lib, oslo, and ovsdbapp. As
neutron is no longer testing py310 in its master
gate, create py311 versions of these jobs so we
can move forward.

Also changed the periodic jobs here to start using
the py311 versions.

Change-Id: I28e1d41ebd36fbbe9ed3e4c18dd9604a906af043
2023-10-31 15:19:04 -04:00
Zuul 11eb7e28a5 Merge "Update openstack-python3-charm-jobs py3 branches" 2023-10-25 15:50:20 +00:00
Zuul 539f8eccae Merge "Remove pypy template" 2023-10-25 15:50:19 +00:00
Corey Bryant 6440c5a360 Update openstack-python3-charm-jobs py3 branches
Enable py311 unit tests for master branch only and run py38/py310
for stable/2023.1 and stable/2023.2 branches.

We found that we have an issue running py311 tests on debian,
and have decided to fix it in master branches only.

Change-Id: I52801caecab3db55b80e041b778a5a6cbaea9af8
2023-10-25 11:30:06 -04:00
Ghanshyam Mann bd597347e8 Prepare the job template for 2024.1 testing runtime
2024.1 cycle is going to start and we are defining
testing runtime (depends-on). This commit modifies
python job templatefor the same.

Note: this makes py3.9 and py3.10 job to run on master
periodicly (not on every change) with assumption that
running py3.8 and py3.11 jobs should be enough coverage
to run on every change and able to catch anything break
on py3.9 and py3.10 too.

Depends-On: https://review.opendev.org/c/openstack/governance/+/891225
Change-Id: Ie2b56bac8465ab6847168a09ac60c9d96d7c23e7
2023-10-19 00:19:51 +00:00
Ghanshyam Mann c24a15e8db Fix zuul config error for neutron-greande job
neutron-grenade job definition is gone with neutron
stable/train is EOL but it is used in integrated-gate
template.

This fixes the zuul config error for neutron-grenade job.

Change-Id: Icad45cc966cbe81273a5be9311ab17c1b653f3e1
2023-10-18 17:16:59 -07:00
Andreas Jaeger 72cae8433c Remove pypy template
Remove the template, it is not used anymore.

The pypy job is still used on older stable branches.
The nonvoting template is also used on older stable branches.

Change-Id: Ib44e719ca341e1a9f8a0080f92032d752519f3a4
2023-10-14 12:23:53 +02:00
Zuul 25618e9466 Merge "Start translations for 2023.2 (Bobcat) stable branch" 2023-10-04 19:33:30 +00:00
Ghanshyam Mann f1a28fe034 Add stable/2023.2 to periodic-stable templates
Add the stable/2023.2 branch to the list of branch for the
periodic stable job templates.

Change-Id: I3ca5f82229690a2b62e8a43111e13386f81076a1
2023-09-28 13:10:40 -07:00
Ian Y. Choi 1c11d3b495 Start translations for 2023.2 (Bobcat) stable branch
Run the translation jobs on 2023.2 (Bobcat) branches

Change-Id: Iea856e82c86bb6aaeb3ee5b28955999318a29e16
2023-09-26 01:52:44 +09:00
Elod Illes 1ec1739229 Clean up rocky branch filters
Rocky transitioned to End of Life [1] so let's remove all
stable/rocky related filters from the zuul jobs.

[1] https://lists.openstack.org/pipermail/openstack-discuss/2023-January/031922.html

Change-Id: Id8b5001955d9d6d2631e1eb88364e379f44e7ee7
2023-09-07 17:19:58 +02:00
Dr. Jens Harbott c97e0c0ae4 Merge "Remove rocky branch from periodic-stable templates" 2023-09-07 15:11:38 +00:00
James E. Blair 450dec3a86 Use re2 compatible regexes in branch matchers
Python regexes are deprecated in Zuul, so update the use of regexes
in branch matchers with re2-compatible syntax.

Change-Id: I2216976a9c040cdf1d324f90831a543f7cf4a15d
2023-09-05 15:06:55 -07:00
Zuul a8cd29fa1a Merge "Remove ocata branch filters" 2023-08-22 05:11:35 +00:00
Jeremy Stanley 94e44f1c81 Run project-config-nodepool on debian-bookworm
Nodepool now requires Python 3.11 and so cannot be installed with
the default Python on our default nodeset. Specify a debian-bookworm
nodeset where this version of Python is the default.

Change-Id: I961430b678c3d126a2808320a8529d8649d879ac
2023-08-19 20:05:31 +00:00
Ghanshyam Mann ee72e34006 Continue same set of jobs running for stable/2023.2
We are near to the release of 2023.2 and release team
is starting to create the stable/2023.2 (for lib) soon.
To continue testing the same set of job (py3.9 and py3.11
n-v tox jobs, this change adds the stable/2023.2 in branch
variant for applicable jobs for 2023.2 release.

This way any early cut stable/2023.2 as well as for projects
still have master for stable/2023.2 will continue testing the
same set of jobs we do during 2023.2 release (current master).

Change-Id: I53134ef9b57e9434b8916e4fd146010074d88d59
2023-08-16 16:15:15 -07:00
Ghanshyam Mann be15cc9558 Adding Python3.11 non voting job for 2023.2 cycle testing
Python3.11 is default in Debian 12 and which is going to be
mandatory testing in future cycle. It is good to test it
as non voting in this cycle so that projects will get time
to fix the things in advance.

Change-Id: I8c74a3f21b8696389d692c7b0706cfe6f43120f8
2023-08-16 16:05:11 -07:00
Elod Illes 977deeb97b Remove ocata branch filters
Projects ocata branches have transitioned to End of Life, which means
that all ocata related branch filters and unnecessary definitions can
be removed.

Change-Id: I6bae6ce07c58855379db7afd9394b94de3781fee
2023-08-16 21:14:38 +02:00
Elod Illes 93701c47f7 Remove rocky branch from periodic-stable templates
All the project that had periodic-stable-jobs template set in their
stable/rocky branch have transitioned to End of Life, and their
branches were deleted [1]. This patch removes stable/rocky from the
template as it is not needed anymore.

[1] https://lists.openstack.org/pipermail/openstack-discuss/2023-January/031922.html

Change-Id: I74c3a368fccedd4c1c023699535d5dcc7c00923c
2023-08-16 21:02:45 +02:00
Dr. Jens Harbott e98954049a Add openstack-tox-py311 job
Some projects want to include python3.11 in their testing, provide a
generic job for that like we have for older python versions.

Change-Id: I725b94bee6601a81b5e64db204bf3488674eff9d
2023-08-11 08:37:40 +02:00
James Page 25215327e0 openstack-tox-snap-with-sudo: increase timeout
Increase the timeout for building a snap to 60 minutes; with some
of the transient changes in the Python dependency chain the snaps
have to build quite a few more native extensions, pushing out the
build time.

Change-Id: Icd7f2e10522c2cf69107db74823bf8b767a9e53d
2023-08-03 16:24:44 +01:00
Zuul 6a7e6a6504 Merge "Add stable/2023.1 to periodic-stable templates" 2023-05-24 12:24:50 +00:00
Ghanshyam Mann 7c326ccfc0 Re-add the python 3.8 testing in generic job template
We have been discussing it TC about re-adding the python 3.8
testing in current master 2023.2 release testing.

- https://meetings.opendev.org/meetings/tc/2023/tc.2023-04-25-18.00.log.html#l-191
- https://lists.openstack.org/pipermail/openstack-discuss/2023-April/033469.html

Whiloe governance changes are under review, TC agreed to add py3.8 testing
so that we do not see more projec/lib dropping python 3.8 and make them
uninstalable on python 3.8

- https://meetings.opendev.org/meetings/tc/2023/tc.2023-05-02-18.00.log.html#l-17
- https://review.opendev.org/c/openstack/governance/+/882165

Change-Id: I396ef0df11fe2b8742c239f6eeb3b49f8b51d19c
2023-05-03 20:10:42 +00:00
Jeremy Stanley b3cad4f7a3 Exercise changes to Gerrit ACL normalization
Changes to the normalize_acl.py script should be self-testing so
that we don't break the project-config-gerrit job.

Change-Id: Ib42ee415d39f0239a8ea62c9c3d39b3f215a9ae4
2023-04-07 17:38:58 +00:00
Antoine Musso 699e811cb8 Remove ignored success-url job attribute
Since Zuul 4.7.0:

> The following attributes are now ignored:
>
> * The ``report-build-page`` tenant configuration setting.
> * The ``success-url`` job attribute.
> * The ``failure-url`` job attribute.

Remove `success-url` from all jobs.

Change-Id: I1379221d47edefff716875d801bedf8eee067314
2023-03-17 12:02:23 +01:00
Zuul fb1658cce4 Merge "Start translations for 2023.1 (Antelope) stable branch" 2023-03-16 08:07:48 +00:00
Ghanshyam Mann 3cf89abc3b Prepare the 2023.2 cycle testing job template
2023.2 tetsing runtime is defined(depends-on), this
prepare the job template for the same. As we use the
generic template for master as well stable release testing,
this modify to add the py39 job for master (2023.2) and run
py38 only for stable/2023.1.

Depends-On: https://review.opendev.org/c/openstack/governance/+/872232
Change-Id: I5579fd0f86105fbf5f4c6875bec5996a3f6fca6e
2023-03-15 15:25:47 -05:00
Ian Y. Choi c195e01da1 Start translations for 2023.1 (Antelope) stable branch
Run the translation jobs on 2023.1 (Antelope) branches

Change-Id: I5e1db95578103d50feb5997fb86d5ae9b1eeb91c
2023-03-16 04:56:01 +09:00
Elod Illes 71c48b470b Add stable/2023.1 to periodic-stable templates
Add the stable/2023.1 branch to the list of branches for the
periodic stable job templates.
The supported python runtimes [1] are py38 and py310 for stable/2023.1.

[1] https://governance.openstack.org/tc/reference/runtimes/2023.1.html#python-runtimes-for-2023-1

Change-Id: Ib4a5823e6f8677bad36b176c7cc7977aea8683ed
2023-03-06 13:50:59 +01:00
Cyril Roelandt e2e6e1fa15 openstack-tox-functional: pre-install python packages
Stable branches of some projects (Glance, for instance) use Python2.7
for their functional tests. Pre-install Python2 packages for these
stable branches.

Change-Id: Id629fb84ab64db136b12f6e36dfd7aed1c593cd6
2023-02-28 15:20:29 +01:00
elajkat da46058e0a Use py39 or py310 as base job for oslo-master jobs
Recently openstack-tox-py310-with-oslo-master jobs started to fail
with "No package matching 'python' is available", due to that [1]
dropped py2 from nodepool images, and the base job's parent is
openstack-tox-py27.

[1]: https://review.opendev.org/c/openstack/project-config/+/872476
Change-Id: If66af5320d9a208035d9d1ea219eae7d87a31072
2023-02-13 10:11:19 +00:00
Zuul 64464f23ff Merge "FIPS changes to allow FIPS to run on multinode Ubuntu jobs" 2023-02-09 19:51:50 +00:00
Ian Wienand d267af41de openstack-tox-py27 : pre-install python packages
As noted inline, we dropped the install from the base images.  This
should pre-install python2/-dev to return us to about the same state,
but just for the legacy jobs.

Change-Id: Ia8cf6911cb48dfbef59fcf890d4b29d162dc11ad
2023-02-07 21:03:59 +00:00
Zuul 4f2e80c616 Merge "VPNAAS, FWAAS: remove old jobs from legacy jobs" 2023-02-07 08:32:48 +00:00
Zuul ebeb7d3585 Merge "Remove legacy virtualpdu job" 2023-01-31 17:01:45 +00:00
Ade Lee 176daf9c82 FIPS changes to allow FIPS to run on multinode Ubuntu jobs
There are two problems we need to solve when enabling FIPS for
multinode Ubuntu jobs.

1. Ubuntu nodes require a subscription to be activated with a
   subscription key that is stored as a secret in project-config.

2. Because enabling FIPS requires a reboot, we need to execute the
   enable-fips playbook before the multinode playbook.  If not,
   resources set up by the multinode playbook may not survive the
   reboot.

To solve these problems, we have created a new base job for
OpenStack multinode jobs.  (openstack-multinode-fips).  We expect
to use this job as the base job for OpenStack multinode jobs
instead of the multinode job in zuul-jobs.

The openstack-multinode-fips inherits from openstack-fips, which
is a job defined in project-config that access the UA subscription
key and activates the UA subscription.  This solves problem #1.

It then executes the enable-fips and multinode playbooks
(FIPS first!), which in turn, invoke the enable-fips and multinode
roles in zuul-jobs.  This solves problem #2.

This has the unfortunate result of having to duplicate the logic
of the multinode/pre.yaml playbook in zuul-jobs here in
openstack-zuul-jobs instead, but I can't see a way around that.

Note that unless the variable enable_fips is defined to be true
in the job, all the FIPS logic is essentially a no-op.

If enable_fips is set to True, then jobs will also need to specify
nslookup_target for the post-reboot-tasks role invoked by the
enable_fips role.

Depends-On: I8a88d6a9bcf5725986b00b063e03686d3225b48e
Change-Id: I080df90af850088893976c8649aa528638c6f373
2023-01-30 22:35:16 +01:00
Zuul cb57f26b0d Merge "Clean up queens branch filters" 2023-01-26 10:05:25 +00:00
Elod Illes 791854227d Clean up queens branch filters
Queens transitioned to End of Life [1] so let's remove all
stable/queens related filters from the zuul jobs.

[1] https://lists.openstack.org/pipermail/openstack-discuss/2022-November/031323.html

Change-Id: I2a41f6399d1063125c22885fa89dc022b78037e6
2023-01-24 13:45:22 +01:00
Zuul 2ca868f635 Merge "Remove queens branch from periodic-stable templates" 2023-01-24 12:44:01 +00:00
Elod Illes 5fea3412ab Remove queens branch from periodic-stable templates
All the project that had periodic-stable-jobs template set in their
stable/queens branch have transitioned to End of Life, and their
branches were deleted [1]. This patch removes stable/queens from the
template as it is not needed anymore.

[1] https://lists.openstack.org/pipermail/openstack-discuss/2022-November/031323.html

Change-Id: Id587679ea84a4560a194b6af801f02c32a5b1295
2023-01-24 12:14:17 +01:00
Riccardo Pittau 229f592754 Remove legacy virtualpdu job
Cleaning up legayc virtualpdu job in parallel with [1]
We'll start dealing with CI jobs directly in the project with [2]

[1] https://review.opendev.org/c/openstack/project-config/+/869979
[2] https://review.opendev.org/c/x/virtualpdu/+/869983

Change-Id: If6a465f5b167e8e3625b8d104787a45add9c2480
2023-01-16 12:23:46 +01:00
Ghanshyam Mann 4888ad13e9 Pin tox<4 for stable branches (<=stable/zed) testing
tox4 need changes in tox.ini file to be compatible with it
and while fixes are merged in master and backported to stable
(if project decide to backport) let's cap the stable branch
testing to tox<4.

This only pin for jobs running for stable branches <=stable/zed.

Change-Id: Id468500746bc5c0986ec3334bfdafc24eeaba2f8
2023-01-05 14:27:41 -06:00
Jiri Podivin 7ce5a0e1da Fixing documentation of the openstack-tox-job to correctly state the node set used
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I80fedc9a6f806e4d1b27bc6a390b13538de10272
2022-12-06 09:43:11 +01:00
Zuul 65af8a8e72 Merge "Add py310 master template jobs" 2022-11-28 13:06:40 +00:00
Ghanshyam Mann 6d85fd8399 Migrate OpenStack tox base jobs to Ubuntu Jammy (22.04)
As per 2023.1 testing runtime[1], we need to move gate
test jobs on Ubuntu Jammy (22.04).

OpenStack tox base jobs are migrated to ubuntu jammy for
2023.1 onwards and they will continue running on Focal
until stable/zed.

[1] https://governance.openstack.org/tc/reference/runtimes/2023.1.html

Change-Id: If9bab60107ea2f049f0940766cf44ce3ebb002ee
2022-11-18 16:50:03 -06:00
Ghanshyam Mann 9d423d6f3e Update 2023.1 unit tests job template
TC is updating the 2023.1 cycle testing runtime to make the py38
as minimum python version to be tested (depends-on). This commit
updates the unit tests job template also on the same line.

Depends-On: https://review.opendev.org/c/openstack/governance/+/860599
Change-Id: Idea0b7b18f9fa7de7c07b4310667d61d90b95171
2022-11-14 20:57:54 -06:00
Zuul fe8e994bef Merge "Run build-openstack-puppet-tarball on Focal" 2022-10-31 12:07:38 +00:00
Takashi Kajinami b20eb582a0 Run build-openstack-puppet-tarball on Focal
The build-openstack-puppet-tarball job consistently fails since
the default node set was switched from Focal to Jammy. This change
pins the node set back to Focal until we fix the current issue.

Change-Id: Ib1a55d624c72aa773ab03b736efed0699f35e946
2022-10-31 15:13:22 +09:00
elajkat 4d28e8dcff Add py310 master template jobs
The following py39 based jobs has been changed to py310 based in these
templates:
- periodic-jobs-with-neutron-lib-master
- periodic-jobs-with-oslo-master
- periodic-jobs-with-ovsdbapp-master

Change-Id: I96023fb323647465dacc450567d4a6adf6f59314
2022-10-25 10:30:44 +02:00