Commit Graph

270 Commits

Author SHA1 Message Date
Ronelle Landy f7381ebd2b Remove Train check/gate jobs
There are no longer imports from the train branch.
This review remove Train from check/gate templates.

Change-Id: Ie24ab5b5b16d8a6af4f7d37483367f60265ee1ab
2023-09-21 14:37:19 -04:00
Sofer Athlan-Guyot 9e7cf30337 Add content provider using current tag to build containers for minor update
Add content provider job, which builds containers using `current` dlrn
tag on same release branch as regular content-provider job.

Apart from new content provider job, the change adds new variable called
`minor_update`, which enables to consume containers created by new
content provider job in depended multinode-oooq-container-updates job.

minor_update variable is used in featureset068.
The featureset is activated in jobs for wallaby branch and onwards.
Train job uses featureset038 as previously.

Related-Bug: #2015993
Change-Id: I7a7713be0cd15321d5b16f6b8ca85f06d296219f
2023-06-22 15:03:51 +02:00
Ronelle Landy 37f88e99f7 Remove Zed check branchful jobs
Per the decision to not maintain TripleO after
the Zed release [1], and Zed is not an imported
release, the Zed branchful check and periodic jobs
are being removed.

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

Depends-On: https://review.rdoproject.org/r/c/rdo-jobs/+/48504
Change-Id: I20233cd928fc16e401f8f9300705c7451e8231e0
2023-05-17 11:27:44 +00:00
Sofer Athlan-Guyot 5c586b8740 Add a multi-rhel update job
Re-use the multi-rhel deployment (fs 66) and add the update variables
to the new job.

Use the run_test_role_vars to pass the variable to the role.

Change-Id: Ica24513c6542376695d6c2f5d71e57166b0aca3f
2023-03-20 11:04:49 +01:00
Takashi Kajinami 59c2c84214 Pull flake8 from Github
It seems flake8 is no longer available in Gitlab. This change switches
the source from Gitlab to Github to avoid the following failure.

fatal: could not read Username for 'https://gitlab.com': No such device
or address

This also makes sure that functional jobs are skipped when pre commit
config is changed, to avoid the failing job graph freeze when updating
only .pre-commit-config.yaml.

Closes-Bug: #1996668
Change-Id: I79143651e432cb4a62dafdb94c839d0d782b4f9f
2022-11-16 11:02:03 +09:00
Zuul 95470dbb77 Merge "Do not exclude the scripts directory" 2022-10-27 10:25:11 +00:00
Pooja Jadhav 7188cbccb0 Adds branchful jobs for zed release
This patch adds branchful jobs so we can
get some zed coverage against the ci repos.

Change-Id: If69a5e680687da3eae5906b62866c3d6b69fdb6a
2022-10-13 13:50:58 +05:30
Pooja Jadhav 4c2f7f9040 Victoria tear down : multinode and undercloud jobs
This patch removes victoria multinode and
undercloud job definitions.

Change-Id: Icd3f16eca4a7ec4c01b766a02febab2102e04379
2022-09-23 12:52:56 +05:30
Marios Andreou fde3cd71a8 Revert "Mark tripleo-ci-centos-8-9-multinode-mixed-os non voting"
Also fixes gate issue in deprecated layouts using the 'old'
queue syntax per the change at [1]

This reverts commit a860a16e93 and
fixes deprecated queue syntax

[1] https://lists.openstack.org/pipermail/openstack-discuss/2022-September/030505.html

Reason for revert: See discussion in Related-Bug job is now green again

Change-Id: Ic9fa83f612604dc15401b6f5694326459487d8fe
Related-Bug: 1989341
2022-09-19 14:58:42 +03:00
Marios Andreou a860a16e93 Mark tripleo-ci-centos-8-9-multinode-mixed-os non voting
This is temporary as described in related-bug (see comment #1)

Related-Bug: 1989341
Change-Id: I6587573bbfccdb4d83b1bae3364fc51ef4615bbb
2022-09-12 16:04:49 +03:00
Takashi Kajinami e18ea19de8 Do not exclude the scripts directory
The scripts directory in tripleo-common has a few core script files
like bootstrap_host_exec and any change with these scripts should
trigger actual deployment jobs.

Change-Id: I2405ba227b39ad1bd81baf40031edb55dcf06429
2022-09-06 12:14:12 +09:00
Zuul c67c105120 Merge "Do not trigger functional jobs for unit test changes" 2022-08-02 09:58:24 +00:00
Takashi Kajinami f522ba52bb Do not trigger functional jobs for unit test changes
Codes under the test directory are not used by actual functionality but
only by unit tests. Thus we don't need to run functional jobs in case
only these test codes are updated.

Change-Id: I425c111238768163ed237d57e16c68f391b0f41c
2022-08-01 16:47:01 +09:00
Zuul 77d9ebffe6 Merge "Add new multinode-mixed-os job and required content provider changes" 2022-07-26 11:03:29 +00:00
Takashi Kajinami 96ddfad3fd Do not trigger functional tests for .ansible-lint
... because the file does not affect any functionality.

Change-Id: I3c2385c3d33b234e74f4dc8473c90c99258705d7
2022-07-25 23:25:22 +09:00
Marios Andreou 6a73e5550e Add new multinode-mixed-os job and required content provider changes
Includes changes to pass the registry_distro var through to the toci
playbook executions. Also adds the registry_ip_address_distro and
_hash_distro into the content provider return data for use by the
mixed-os-job. See topic at [1] for related reviews.

The new job is in the tripleo-multinode-container-minimal-pipeline
layout so it will run across the tripleo repos (wallaby only).

[1] https://review.opendev.org/q/topic:oooci_mixed_rhel

Change-Id: I1690fbece3ef8d40cef01ef0d10f5f5edbfe2747
2022-07-25 12:01:31 +03:00
Zuul de05e74207 Merge "Create containers and standalone-ipa multinode -options jobs" 2022-07-15 13:54:03 +00:00
Takashi Kajinami 5d4881b7a7 Ignore molcule files for deployment jobs
Any change in molecule test files does not affect functionality. Thus
there is no need to run jobs which involves deployment if only the test
files are updated.

Change-Id: Ia5cfbee55f094486eaed9f5fd51316654b57025b
2022-07-14 17:18:37 +09:00
Amol Kahat 119915747a Create containers and standalone-ipa multinode -options jobs
This patch created containers and  standalone-ipa multinode -options
jobs.
test patch: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/848825/1#message-3294918b1fa22dc598c50a41268d6c958f6ade19

Change-Id: I7f9dd368e8b9be1d70018dfcfdb6fa3b618bf88b
2022-07-13 13:08:12 +05:30
Marios Andreou 81a6da5966 Moves the shared zuul queue to the project level
See [1] for more information

[1] https://lists.openstack.org/pipermail/openstack-discuss/2022-May/028603.html

Change-Id: Ia9af303df99516b46134ebb555a8bbeabb04491b
2022-06-23 09:14:37 +03:00
Pooja Jadhav b11d21ad8f Ussuri tear down as EOL
Ref : https://review.opendev.org/c/openstack/releases/+/834049

Change-Id: Ie5be105b3b65108e741a6e1d2ea79d54596a7a5a
2022-05-16 11:51:39 +05:30
Marios Andreou 053ec5758f Remove centos-7 job definitions and zuul layouts
As part of [1] this removes the job definitions and zuul layout
for all centos-7 jobs. Related review topic for RDO at [2].
Some jobs are moved to deprecated.yaml with note on where
they are still referenced.

[1] https://review.opendev.org/q/topic:ooo_c7_teardown
[2] https://review.rdoproject.org/r/q/topic:ooo_c7_teardown

Change-Id: I70d2e5dbe995bc8dfe06817d6460f3f2f3732e7e
2022-05-11 11:49:20 +03:00
Marios Andreou 00df6fcb4e Cleanup jobs from old releases already EOL pike|queens|rocky|stein
Removes any job definitions that are wired up for old EOL releases.
In some cases just remove these from the branches: match.

Depends-On is needed for standalone/scen3 used in sahara and
centos-7-standalone-os-tempest in ansible-role-python_venv_build
and scenario001/2-multinode-oooq-container in aodh

Change-Id: I946aaef1e975bb2817311059dade029fadba9b95
2022-04-19 13:14:18 +03:00
Marios Andreou 2d4c668d1e Centos8 wallaby jobs teardown - multinode jobs
Per the topic branch [1] and discussed at [2] this removes the
centos8 jobs from running on stable/wallaby branch.

The tripleo-ci-centos-8-containers-multinode-wallaby has been
updated to be centos-9 instead and related content provider
for 8 wallaby removed.

[1] https://review.opendev.org/q/topic:c8_wallaby_teardown
[2] http://lists.openstack.org/pipermail/openstack-discuss/2022-February/027403.html

Change-Id: Ibda8e008a6dee16d8a656e04c5dd0172a840d623
2022-04-01 10:56:08 +00:00
Marios Andreou 9ff3056e85 Bump black to 22.3.0 to fix deps issue (click)
As described in related-bug new release of click
broke the openstack-tox-linters job. Bumping to
latest version of black fixes it.

Also adds irrelevant files
to layout to address freeze issue seen at [1]

[1] https://review.opendev.org/c/openstack/tripleo-ci/+/835547/4#message-f3307ccba64ac124fe6ef497c151e66f5731a0e1
Related-Bug: 1966879

Change-Id: I62d101a1fa6c55d047bb328565cfec443e2e496f
2022-03-29 17:00:41 +00:00
Chandan Kumar (raukadah) cc3f50ba85 Put setup.* file under irrelevant files
https://opendev.org/openstack/tripleo-ci/src/branch/master/zuul.d/base-upstream.yaml#L92
adds  ^setup.*$ under irrelevant-files and content-provider is parent
from tripleo-ci-base-standalone-standard and which parents from
tripleo-ci-base-standard.

Since setup.* files under irrelevant files so content provider will
not run and undercloud, upgrade and standalone job depends on that.

It leads to job freeze issue. Putting setup files under
irrelevant files fixes the issue.

Disable auto discovery as a workaround to fix
setuptools 61.0 issue[1]

[1]. https://github.com/pypa/setuptools/issues/3197
Related-Bug: #1966382


Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I43b88e356e1f6823f9febe47e9753cf3e5b176c6
2022-03-25 13:55:33 +00:00
Chandan Kumar (raukadah) 9e270ea7f8 Use required-projects-multinode-upstream as parent for multinode jobs
Based on CS job parenting re-structure[1], for multinode jobs,
It follows the following inheritance
* tripleo-ci-base-common-required-projects
* tripleo-ci-base
* tripleo-ci-base-multinode-standard
* tripleo-ci-base-required-projects-multinode-upstream

For Distro specific
* CentOS 7
tripleo-ci-base-required-projects-multinode-upstream
- tripleo-ci-base-multinode

* CentOS 8
tripleo-ci-base-required-projects-multinode-upstream
- tripleo-ci-base-multinode-centos-8

* CentOS 9
tripleo-ci-base-required-projects-multinode-upstream
- tripleo-ci-base-multinode-centos-9

With the above pattern,

* tripleo-ci-base-multinode-standard will be used as a parent in
  downstream or rdo.

* Any Upstream specific multinode var can be placed in the distro
  base job.

post-artifact-mult.yml playbook is used in EL8 and EL9 so
it is moved to a new role [2] tripleo-ci-post, to reuse it
at all places.

[1.] https://review.opendev.org/q/topic:cs-parenting
[2]. https://review.opendev.org/c/openstack/tripleo-ci/+/832254

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I2f3420d0be112a53c240f9e5539860e5e8673e4b
2022-03-08 21:45:19 +05:30
Zuul fc75f6428b Merge "Add tripleo-ci-centos-9-content-provider-wallaby job definition" 2022-02-28 16:23:21 +00:00
Marios Andreou d7285b9510 Run centos-9 jobs for stable/wallaby check/gate layouts
This enables the centos-9 jobs to run for stable/wallaby branch.
Mostly this removes wallaby in the negative regex we use for
the c9 branches match ^(?!stable/(train|ussuri|victoria|wallaby)).*$

The depends-on adds missing python3-dev needed by c9 wallaby
content provider.

Depends-On: https://review.opendev.org/c/openstack/tripleo-quickstart/+/830336
Change-Id: I9332b251db06ad762dadd903413cceb0666dea07
2022-02-24 08:33:17 +00:00
Chandan Kumar (raukadah) faf999e5c3 Add tripleo-ci-centos-9-content-provider-wallaby job definition
We are keeping it seperate so that it can be reused with
other cs9 wallaby jobs.

It also adds this job to upgrade and multinode job template.
We are keeping the tripleo-ci-centos-8-content-provider-wallaby
job and will be removed in
https://review.opendev.org/c/openstack/tripleo-ci/+/829655 .

Depends-On: https://review.opendev.org/c/openstack/tripleo-quickstart/+/830336

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: Iea25083c5246fd601b336f4beb92ef7634c9eb12
2022-02-24 04:27:15 +00:00
Marios Andreou 534d77015a Change parenting on C9 jobs to not inherit directly from c8 versions
As seen with the merge of [1] some of the c9 jobs stopped running
because the branches: match between c9 and parent c8 were compliments
i.e. "^(?!stable/(train|ussuri|victoria|wallaby)).*$" vs
"^(stable/(train|ussuri|victoria|wallaby)).*$". To avoid that we
remove the direct parenting e.g. centos-9-undercloud-containers
no longer inherits from centos-8-undercloud-containers and
instead carries the required vars.

[1] https://review.opendev.org/c/openstack/tripleo-ci/+/826317

Change-Id: I99ab7f88e0e6edc25be98edf985294a3a8ef3faf
2022-02-15 15:19:40 +02:00
Marios Andreou bda6e1a61a Centos8 master jobs teardown - c8 on train/ussuri/victoria/wallaby
This adjusts branches: match for the centos8 jobs so we avoid
running these for master. C8 jobs will only run on train ussuri
victoria and wallaby branches. The master branch will be c9 only
moving forward.

See [1] for related patches that depends-on this across the
tripleo repos. See [2] for related dummy nodeset required for
zuul 3rd party on this review.

[1] https://review.opendev.org/q/topic:c8_teardown_master
[2] https://review.rdoproject.org/r/c/rdo-jobs/+/39045

Change-Id: If62f83de171de4e7651b58b70c31bea005710c71
2022-02-11 12:29:44 +02:00
Marios Andreou 82edbebd78 Moves master undercloud-upgrade and minor update deprecated add c9
This moves tripleo-ci-centos-8-undercloud-upgrade and
tripleo-ci-centos-8-scenario000-multinode-oooq-container-updates to
deprecated and removes them from the zuul layout. It adds the
c9 job to the master layout instead (no undercloud upgrade yet).

tripleo-ci-centos-9-scenario000-multinode-oooq-container-updates
definition and check/gate layout is moved to the
upgrades-jobs-templates.yaml in line with other upgrade related jobs.

See [1] for related reviews (removal of c8 from master).

[1] https://review.opendev.org/q/topic:c8_teardown_master

Change-Id: I77ca4b99581722ccf932c515f66437211fcd594b
2022-02-08 09:21:15 +00:00
Marios Andreou 739b45d3b7 Add C9 multinode jobs to gate queue and voting
Makes the tripleo-ci-centos-9-containers-multinode
scenario007-multinode + scenario000-multinode-oooq-container-updates
jobs voting and moves them to the gate queue. The parent patch at [1]
deals with the content provider.

[1] Id3f4f9876602bd51d6ac6d2464b98ecb23528f8d

Change-Id: I7f1f96ec7b452c1468b49291c627a6077483f68c
2022-01-11 14:38:27 +02:00
Douglas Viroel e12cb71d28 Enable remaining CS9 jobs in tripleo
This patch enable the following jobs in check for tripleo projects:
- tripleo-ci-centos-9-scenario007-multinode-oooq-container
- tripleo-ci-centos-9-scenario000-multinode-oooq-container-updates
- tripleo-ci-centos-9-standalone-on-multinode-ipa

Change-Id: I4d7506e544ce4f01a9e0d55247cc30fc2bb6066f
Signed-off-by: Douglas Viroel <dviroel@redhat.com>
2021-12-23 14:27:22 -03:00
Douglas Viroel 9197a68610 [CS9] Add missing CS9 jobs defintion
This patch adds definition of the following CS9 jobs:
- tripleo-ci-centos-9-scenario007-multinode-oooq-container
- tripleo-ci-centos-9-scenario000-multinode-oooq-container-updates
- tripleo-ci-centos-9-standalone-on-multinode-ipa

Change-Id: I4fd774b1fc3db9a881334e6388c6403b5b637faf
Signed-off-by: Douglas Viroel <dviroel@redhat.com
2021-12-23 14:27:09 -03:00
Chandan Kumar (raukadah) 681b447cab Enable CS9 jobs for all tripleo projects
It enables following jobs in check as non-voting now.
* Standalone, Sc1-12
* undercloud
* Container-multinode

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I1bb7b45088d1d2b12f882cf6bbef40e38b882c5a
2021-12-22 17:54:55 +05:30
Chandan Kumar (raukadah) ee41177916 Run undercloud and multinode jobs on tripleo-ci repos
https://review.opendev.org/c/openstack/tripleo-ci/+/822312 adds
the job definition of undercloud and multinode job.

This patch adds it to tripleo-multinode-branchful pipeline
to run on all tripleo-ci repos.

We are keeping it seperate so that we can easily revert it.

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: Iba3c7677d636e907158613c8f3e7ed60b8403f54
2021-12-22 12:31:09 +05:30
Zuul 48c79823c7 Merge "Added CS9 undercloud and multinode job definition" 2021-12-21 15:47:38 +00:00
Chandan Kumar (raukadah) 99009640d7 Added CS9 undercloud and multinode job definition
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: If0b8a9abe39852c89269366998d1f2a79727ce9c
2021-12-21 13:39:06 +05:30
Chandan Kumar (raukadah) 3e7757f369 Run cs9 sc1-12 jobs on all tripleo-ci repos
https://review.opendev.org/c/openstack/tripleo-ci/+/821698 adds
the job definition of sc1 to 12.

This patch adds it to tripleo-multinode-branchful pipeline
to run on all tripleo-ci repos.

We are keeping it seperate so that we can easily revert it.

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I9f3dcc7a4f7766f2d882ee115c9a1fe84340795b
2021-12-20 06:36:56 +00:00
Sagi Shnaidman d01398bb90 Add centos-9 provider and standalone jobs to CI repos
Add them non-voting for now

Change-Id: I951846a66148dd03482bbb4c5d36bc77715bbdae
2021-12-15 08:27:12 +00:00
Sagi Shnaidman 4c54eb2b63 Remove victoria and ussuri from CI repos
Change-Id: I352493cfb98ecf671bf3b7001aee95ce6914219f
2021-11-29 12:05:07 +02:00
Zuul d9a304be4d Merge "Remove jobs that uses obselete fs b/w 31 - 99" 2021-09-22 14:52:27 +00:00
Sandeep Yadav 88acdf6f47 Remove jobs that uses obselete fs b/w 31 - 99
With this patch, Removing jobs corresponding to
obselete featureset between fs031 to fs099.

Change-Id: Iefc88dfdb5451d3ae926097d775aad22e94767d5
2021-09-16 12:07:38 +00:00
Wesley Hayutin 0dabe4dc82 initial commit for tripleo-critical-bugs
Change-Id: I5b09e795ade6462a07e46e457b781895a93fc99b
2021-09-10 11:59:26 -06:00
Zuul 712906e48f Merge "ignore setup.cfg for multinode, upgrade jobs" 2021-08-19 06:40:46 +00:00
Alex Schultz d52d282afe Stop running minion for Wallaby+
With the switch to ephemeral heat for the overcloud, the minion is no
longer viable. This change updates the branches to only run T->V where
the minion should work and was supported.

Related-Bug: #1938539
Change-Id: I5855de77b700124be0d0332ebe6a3f80524c521e
2021-07-30 08:33:50 -06:00
Ronelle Landy 24fbeb95cc Reduce irrelevant-files from content provider jobs
Patches to code in tripleo-quickstart-extras that
trigger tripleo-ci-centos-8-undercloud-upgrade
jobs are failing as
tripleo-ci-centos-8-content-provider-wallaby
was not run.

tripleo-multinode-branchful template limits the
files where the branches content providers run.

This patch reduces the irrelevant files to avoid
the freeze graph error
Currently it's equal to upgrade job set.

Change-Id: I4ea37e56dae4a3bc2e95c510e39c7af561f50088
2021-07-20 07:30:45 +00:00
wes hayutin 7b27004413 Revert "Temp: containers-multinode-wallaby non-voting"
This reverts commit 5deb96d2b8.

Reason for revert: https://zuul.openstack.org/builds?job_name=tripleo-ci-centos-8-containers-multinode-wallaby

Change-Id: I127630841cc0f8b064c030e08e0df847b6efcea5
2021-05-11 16:02:18 +00:00