Commit Graph

74 Commits

Author SHA1 Message Date
Douglas Viroel bd726e63d5 Add Ceph nightly jobs for stable/wallaby
This patch adds new ceph nightly jobs for stable/wallaby
and replace the previous master periodic line (that recently
stopped to run on master teardown[1])

[1] f6cb4cde9c

Change-Id: If5695eba546b6660dc4f1db78b1f2248d4e6615c
2023-06-15 16:30:13 -03:00
Marios Andreou f6cb4cde9c Tripleo-CI master CI teardown check and gate only branchful jobs
See topic branch [1][2] for related patches. This removes all master
jobs from this repo leaving only the multinode-branchful template.

Depends-On: https://review.rdoproject.org/r/c/config/+/48074

[1] https://review.rdoproject.org/r/q/topic:tear-down-master-line
[2] https://review.opendev.org/q/topic:oooci-tear-down-master-line

Change-Id: I7432355b5b32b19919a61fc4cca00b4c54bc64f0
2023-04-24 14:05:48 +00:00
Chandan Kumar (raukadah) bbd65abc43 Add tripleo-external-compute-deployment-pipeline job template
In order to test compute deployment via tripleo-ansible
standalone tripleo-ansible roles.

It adds the following job to test that:
- Bootstrap first node and deploy standalone
- Generate 99 standalone vars and copy it to second node
- Bootstrap second node and install packages
- Copy 99 standalone vars to tripleo-inventory
- Deploy compute serices.

Regarding this job:
- parents from container multinode base
- Set bridge_address_offset to 4 to get different
  br-ex ips for controller and compute otherwise
  ssh connectivity gets lost.

The logs related to this job can found:
- tripleo_standalone_vars in /home/zuul/99-standalone-vars
- deployment logs in /home/zuul/deploy_compute.log.

All the patches can be found under this topic:
https://review.opendev.org/q/topic:standalone-roles-testing

Depends-On: https://review.opendev.org/c/openstack/tripleo-ansible/+/840509/
Depends-On: https://review.opendev.org/c/openstack/tripleo-quickstart-extras/+/862160
Depends-On: https://review.opendev.org/c/openstack/tripleo-quickstart/+/861748

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: Ie3adc3cd8d2216aa4284b5cde19dfc04b0605225
2022-10-22 06:30:29 +05:30
Douglas Viroel b2ecca12a1 Add new fips jobs and create template for periodic
This patch adds a set of standlone jobs' definition with fips
enabled. Creates a new project template with all fips jobs on
periodic pipeline.

Change-Id: I839830a5efb257c2c4407e6f43c8c47ab68aec0a
Signed-off-by: Douglas Viroel <dviroel@redhat.com>
2022-08-02 12:11:28 -03:00
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
Douglas Viroel dd9bd5043f Enable tripleo-ceph-periodic run for tripleo-ci project
Change-Id: I5f4f26ec24174ee02fac5c6eb469fa8f01533b09
Signed-off-by: Douglas Viroel <dviroel@redhat.com>
2022-03-30 11:19:56 +00: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
Sagi Shnaidman f9b670531f Depend centos9 jobs on tox linters
Our CentOS 8 jobs depend on tox linters jobs to pass, otherwise
they don't start. Configure the same for CentOS 9 jobs.

Change-Id: I84100b5744b5f4638c870ed5e0996fc4255b97d8
2022-01-31 14:21:14 +02:00
Ronelle Landy 658de3f191 Make tripleo-tox-molecule voting/gating again
Iaed4f3f74d34e7fc7cd1dd424f551ad090601019 fixed the
tripleo-tox-molecule jobs.
This review makes tripleo-tox-molecule voting
and gating again.

Change-Id: I09d9bec40217ff8e6d556813ba5423313986c63b
2021-11-30 16:50:16 -05:00
Sagi Shnaidman fae73127a8 Disable voting for centos9 build-image jobs
.. and for tox-molecule which is broken recently.
Change-Id: Ieb65de62ddb54b0369a4be913a2b9d708f8d7396
2021-11-29 15:49:03 +02:00
Ronelle Landy 15370eb7e7 Make standalone-ipa jobs voting again - minus train
The standalone-ipa job was made non-voting due to
uneven results on various cloud providers.

Since https://review.opendev.org/#/c/757943/ merged,
this review makes the standalone-ipa job voting again
on master/victoria/ussuri.
This test has never passed on train.

Change-Id: I367d9293754a22c8bfe3af30d023f1dd35e87cf3
2021-06-23 11:59:50 +00:00
Marios Andreou 57d0c46968 Revert "Adds tripleo-get-hash module get tripleo-ci hash info from tag"
This reverts commit 4cf80d855a.

Reason for revert: The code is now merged into tripleo-repos at https://review.opendev.org/c/openstack/tripleo-repos/+/789535

Change-Id: I22aca766019e293e8a9478cae29de392dac9412c
2021-05-07 10:40:28 +00:00
Marios Andreou 4cf80d855a Adds tripleo-get-hash module get tripleo-ci hash info from tag
We want to replace the current ansible role and bash scripts
that fetch the hash for us in tripleo CI jobs.
This tripleo-get-hash module will be packaged to pypi, then used in
an ansible python module to replace the current ansible invocations
of get-hash.

Change-Id: Id7c7192bec43052af50e37196ff5761c6baa4ffe
2021-04-29 12:33:49 +03:00
Sorin Sbarnea cc0d019446 Add py39 support
- update setup.cfg to advertise supported platforms
- fix tox.ini file use version agnostic envlist
- add openstack-tox-py39 job
- minor fix on test file which wrongly assumed that pop
  returns a new dictionary
- added type to release dictionary, which is what would
  have prevented previous item from being introduced.

Change-Id: I60b80ebe41a66d39e6f1a51a3d00c0b9292d42fd
2021-04-12 18:42:38 +01:00
Marios Andreou c2ee81752b Make content-provider depend on openstack-tox-linters in check
Part of a wider CI optimization at [1] this makes the content
provider job in the check layout depend on openstack-tox-linters.

Also added to the multinode-branchful template since it is used
only in tq/tqe and they both already have the linters job.

[1] https://review.opendev.org/q/topic:tripleo-ci-reduce

Change-Id: Id70d5724a26abb0042cd8219c68aa194612147a1
2021-02-19 15:56:20 +02:00
Rafael Folco 19f8dfd914 Switch to content provider jobs/templates
This change switches templates and jobs to the content provider
dependency relation so the jobs share the produced artifacts.

 - Nuke c7 jobs from layout (master).
 - Remove dup jobs from layout already defined in templates.
 - Remove content providers from layout (not in use by any job).
 - Fix zuul graph freeze issue.
 - Make periodic and branchful jobs consumers of content
   provider jobs.
 - Move periodic jobs to its own yaml file.
 - Remove scenario jobs from periodic template queue (overkill).

Change-Id: Iec63f53364924288c25d79298204a7b570221464
2020-11-01 17:52:11 -05:00
Alex Schultz 9a46bd50bc Remove centos7 standalone upgrade jobs
Since we switched to HA upgrade testing only, the standalone upgrade
jobs are broken on centos7 because of podman vs docker. Since these jobs
no longer provide us with valuable upgrade coverage, let's remove them.
We still have upgrade testing between versions via the undercloud
upgrade process starting with Rocky since it shares the upgrade tasks so
we are still exercising the upgrade process in a standalone fashion. We
now have centos8 upgrade jobs starting in Train that provide us better
coverage going forward.

Change-Id: I6c7301e05b0d7ef22b84ee90a7e2d2f9c9356953
Closes-Bug: #1901208
2020-10-28 20:49:05 +00:00
Zuul b75d4cf493 Merge "Remove providers outside of templates" 2020-10-24 10:19:54 +00:00
Rafael Folco 536e39a6f8 Switch c7 jobs to content provider
except c7 upgrade jobs

Change-Id: Ie9172e3cbcc4a3c7b153ef07fa203fd8a7f40e5d
2020-10-22 17:30:05 -03:00
Sagi Shnaidman d9ffa4ffac Remove providers outside of templates
Change-Id: I041b203f479305a36900100ceb646816e5c720ef
2020-10-21 17:43:39 +03:00
Rafael Folco 326008c17b Remove multinode-experimental template
Cleanup any references to the template:
Depends-On: https://review.opendev.org/756575

No longer used, kill it with fire

Change-Id: I18afb66656cf2efc56542619f744af3c8f313cc6
2020-10-16 19:14:22 +00:00
Sagi Shnaidman 3df51c8e4f Run providers always to prevent freezing graph errors
When providers jobs run in template only there are errors from
Zuul about "unable to freeze the graph". Let's run them always
to prevent such errors.

Change-Id: I2a563e7a1596a59cf4039c70818f41a01b4d5963
2020-10-13 11:13:44 +03:00
Sagi Shnaidman 58516c07d4 Add content provider for undercloud templates
Create new template for undercloud jobs and a new layer
to parent off undercloud jobs that use content ptovider.

tripleo-ci-centos-8-undercloud-containers job bootstrap:
https://review.rdoproject.org/r/#/c/29894/

Co-Authored-By: Rafael Folco <rfolco@redhat.com>

Change-Id: I6b895ef44d5cd3491122089b3ff2a65338e60f08
2020-10-08 10:39:00 -03:00
Chandan Kumar (raukadah) e88568f433 Donot trigger c7 container multinode job on stable/train
This job was kept initially to maintain coverage on c7, since
there is no user of CentOS-7 train, so we are removing this
job.

A periodic version of the job will be still running in the
upstream infra, https://review.opendev.org/#/c/752029/

Since https://review.opendev.org/#/c/752220/ already removes
the same job but it got triggered as it is defined in job
templates, so removing stable/train branch part from job
fixes it.

Added tripleo-ci-centos-8-content-provider to fix job
freeze issue.

Change-Id: I3ed7e99b7bc27094ab4347a4f883afc3787e422e
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
2020-09-17 14:54:36 +00:00
Sagi Shnaidman 7550556fb9 Run multinode c7 train in periodic
Change-Id: I0a6682406342922318cd492174ca4b2c370b1bfa
2020-09-15 15:10:05 +03:00
Sagi Shnaidman c3843a8e30 New CI job: configure multinode to use provider job
Depends-On: https://review.opendev.org/749243
Change-Id: If383cb83071b20467515c606de91e24b472942db
2020-09-03 06:23:34 +00:00
Sagi Shnaidman f360f4168f New CI job: configure a new standalone template
Provide the new template for a pipeline:
provider job builds containers and repository,
while consumer standalone jobs use this repository and containers
registry, without using docker.io or building package itself.

Depends-On: https://review.opendev.org/746719
Depends-On: https://review.opendev.org/748424

Fix for SA errors:
Depends-On: https://review.opendev.org/#/c/748360/

Change-Id: I52e0a425f8933c0fae99224aec842d4695e91362
2020-08-27 18:56:24 +03:00
Sagi Shnaidman 1fff44be09 Limit upgrade-update jobs for specific files
Change-Id: I5a3031ec20a269c6e9e43fe4fdc1e5dd21968db8
2020-07-30 13:49:03 +00:00
Zuul cd339f23a9 Merge "Move job python." 2020-07-28 22:59:15 +00:00
Marios Andreou 8935334865 Adds new tripleo-ci-buildimage-jobs template for branchless repos
This adds a tripleo-ci-buildimage-jobs template for the buildimage
jobs definitions to be used in the branchless repos similar to the
tripleo-ci-build-containers template. Also adds missing branches:
master for -train -ussuri jobs and makes the buildimage hardened
jobs voting. Also marks train jobs as non-voting due to #1881732

This patch was originally posted after discussion in the parent review
at [1]. The Depends-On is for failing build-containers-centos-8-ussuri

[1] https://review.opendev.org/#/c/722790/

Partial-Bug: #1881732
Depends-On: https://review.opendev.org/733790
Change-Id: I85a1c0a102613a88c31cd62554e5cfcc79423b17
2020-06-16 09:16:05 +00:00
Daniel Bengtsson 1d331e6739 Move job python.
Move the python3.5 job to python3.6 a more recent version.

Change-Id: I76a0891f0d0acbf52d59dabba3e427fcd8a57ae0
2020-06-11 10:12:54 +02:00
Emilien Macchi db711241b9 non-voting job for tripleo-build-containers-ubi-8
Add a new job that will build tripleo container images without kolla.

Change-Id: Icf904489ecaed58eceb8a5b58b60adba8acf9191
Signed-off-by: Kevin Carter <kecarter@redhat.com>
2020-06-10 14:13:51 +00:00
Marios Andreou 52c6bd344e Add stable/ussuri jobs
Added containers, multinode and build image jobs.
Tracked by tripleo-ci squad in [1].

[1] https://tree.taiga.io/project/tripleo-ci-board/us/1649

Change-Id: I743fd5fddbffbb24a6114be84e889ada4648eaef
2020-05-27 00:26:32 +00:00
Chandan Kumar (raukadah) 56f6b4b488 Refactor build-images role for downstream and centos-7
It contains:
* It reverts https://review.opendev.org/720555 revert of
  refactored image build changes.
* It also includes support for building c7 based images.
* includes https://review.opendev.org/720538 (now abandoned)
  centos-7 train based jobs so that it gets tested on both
  platform.

Other changes:
* Moves c7 related vars to a seperate file
* dib_release configurable
* moved tripleo_image_os under var
* All the default values points to c8 as master jobs runs on c8

https://tree.taiga.io/project/tripleo-ci-board/task/1620

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I9df7eac0af930baff26cf758bb298af639cb5b9a
2020-04-22 18:48:19 +05:30
Sorin Sbarnea e5217e01a4 Refactored tox jobs
- assure we test triple-jobs-gerrit.py file
- fix division by zero bug with above file
- simplified tox.ini file
- prevent accidental regression on CI by checking number of passed tests
- removed test_molecule.py file which was the precursor of what later
  become pytest-molecule

Change-Id: Id6ffb9df88a376bcd3c8a0d77b2d378fca8da115
2020-03-27 13:39:35 +00:00
Chandan Kumar (raukadah) 4ac2fd0abd Added tripleo-ci-centos-8-scenario007-multinode-oooq-container
It will run only on master branch.

Change-Id: I53e1dba2a82a4ee947fe073937d6bfc988743f93
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
2020-03-12 19:39:20 +05:30
Chandan Kumar (raukadah) d485912d98 Improve build images role for CentOS8
* Below is the list of improvements, it adds
- replace rhel_image_source to tripleo_image_source by maintaining
  backward compatibility
- Reset dib set_facts for RHEL and CentOS-8
- Run pathfix_repos.sh script only for few files
- Set DIB_NAME and DIB_PYTHON_VERSION for centos-8 and RHEL-8
  as the Image stills have python2 content or getting pulled by
  something else.
- Added the centos jobs to respective places
- Install pyyaml for centos-8
- Copy tripleo-centos-* repo when dib_yum_repo_conf is not defined

Change-Id: Ibcf1cbb7e3fa669e926392f3dd2c122cabb889e9
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
2020-03-03 12:51:26 -05:00
Wes Hayutin eb2e42c687 remove py27 jobs
Partial-Bug: #1861803
Change-Id: I7300d49976295a9521971f781612500090f9ba56
2020-02-04 13:43:32 -07:00
Sorin Sbarnea b6611fd03a Fixed flake8 and broken gate
Flake8 went broken recently, adopts correct calling method to avoid
regression and fixes broken rules.

Also removes openstack-tox-pep8 from gate which was a guaranteed
failure when triggered as pep8 was removed.

Change-Id: Iba03d3051952f461bb16299a6d32475b2be43041
2020-01-27 19:21:48 +00:00
Alex Schultz b284d2c45e Make minion job voting
We broke the minion job 8 days after we added it. It's green with the
dependent patch. Let's add it to the undercloud/multinode jobs so we
don't break it again.

Depends-On: https://review.opendev.org/#/c/697321/
Change-Id: Idb806253e35ebf8bec764232bd3bdbfa5ce44d90
2019-12-05 12:12:52 -07:00
Rafael Folco 5d91d804c4 Remove scenario012 multinode job
standalone version is the natural replacement.

Change-Id: I0408cf7601490a1ef7168f384da95a136a58cedf
2019-10-28 16:02:05 -03:00
Chandan Kumar (raukadah) 1884fcb1a6 Added train jobs
It includes:
* Standalone train upgrade
* multinode train jobs
* Build containers train jobs

Change-Id: Ie7bee896439487d272706b1aacdbe7c6bd23bfc6
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
2019-10-24 11:56:39 +02:00
Sagi Shnaidman 69498a2128 Remove scenario009-multinode-oooq-container job from master
Run scenario009-multinode-oooq-container only from queens till
stein.

Change-Id: I9c6ee6fb1e701682c85cb9de09d2f41f46a5a6b5
2019-09-09 18:22:10 +03:00
Alex Schultz a9feeae6b2 Add multinode minion job
Depends-On: https://review.opendev.org/#/c/662343/
Depends-On: https://review.opendev.org/#/c/662349/
Depends-On: https://review.opendev.org/#/c/672380/
Change-Id: I7902c285bcf4574624b7ad50bb953aeb2af74a9e
2019-07-30 07:38:58 -06:00
Marios Andreou 95e4beee3d Rename tripleo-ci build-images to oooci-build-images for clash
The build-images role was added in [1] but it clashes with the
role in tripleo-quickstart-extras. This renames tripleo-ci
build-images to oooci-build-images. Also fix up the zuul layout
so the jobs run on changes to the new files. Tracked by tripleo-ci
squad in [2].

[1] Ie092b0430f10ad461e02d8361b557ab11c3993c0
[2] https://tree.taiga.io/project/tripleo-ci-board/task/1144

Change-Id: Ic7a040333def790856b56424ea21f76598d9df5a
2019-07-12 11:43:18 +03:00
Zuul ba4d45a769 Merge "Restrict upgrade-stein job" 2019-07-11 10:27:00 +00:00
Alex Schultz 9dfb931ccb Restrict upgrade-stein job
The upgrade-stein job tests rocky -> stein. For most branches that means
only test on stable/rocky or stable/stein. For tripleo-ci, quickstart,
quickstart-extras we need to override this to run on master since these
repos are branchless but can affect the stable/* branches.

Change-Id: Id26f053fccf8d40a119ddd33b576f5f5c9c55a84
2019-07-10 13:35:06 -06:00
Sorin Sbarnea 128ffc377e Adds tripleo-tox-molecule
This new job should be used by tripleo jobs that need molecule
but also need to use extra required-projects in order to enable us of
Depends-On.

The job is similar to openstack-tox-molecule but with extra bits
for tripleo.

Change-Id: I49b74476170c06ccd847c08318f4fc501b690924
Depends-On: https://review.opendev.org/#/c/669871/
2019-07-10 09:17:44 +01:00
Ronelle Landy 4fb018f6b8 Add per-release project templates for build containers jobs
This review adds per-release containers build templates
to be used when making changes on repositories which do not have
branches.

Change-Id: I181e9d25f4bd460ea7a7165f1d9b74a16b4b80d4
2019-06-20 19:03:41 +00:00
Ronelle Landy 08b7cb05c5 Remove scenario008 jobs
ODL is no longer tested.

A later job will remove the job definition when all the other
references to the job have been deleted.

Change-Id: Id9bac7899f8a94f36626d2baa745d7d9151658e7
2019-06-13 16:35:05 -04:00