Commit Graph

51 Commits

Author SHA1 Message Date
Ghanshyam Mann a606c60efc Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Depends-On: https://review.opendev.org/c/openstack/ansible-role-collect-logs/+/910044
Depends-On: https://review.opendev.org/c/openstack/neutron/+/910099

Change-Id: I338ed19678cf4a6248c46551bdf9cb23abc511bd
2024-02-24 20:22:39 +00:00
Chandan Kumar (raukadah) 140097ee9b Switch to ubi9 containers_base_image image
Since RHEL-9 is released now and
registry.access.redhat.com/ubi9 is also available.
Let's use the same in content provider and build-containers job.

Depends-On: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/846166


Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: Ieb275fd0f4f9df2251465a8fffe2a962d53b1ce9
2022-06-28 02:33:08 +00: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
Chandan Kumar (raukadah) 1d640d09fd Use tripleo-ci-build-containers-required-projects-upstream as parent
Based on CS job parenting re-structure[1], for container build
jobs, It follows the following inheritance
* tripleo-ci-base-common-required-projects
* tripleo-ci-base
* tripleo-ci-base-singlenode-standard
* tripleo-ci-base-containers-standard
* tripleo-ci-build-containers-required-projects-upstream

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

* CentOS 8
tripleo-ci-build-containers-required-projects-upstream
* tripleo-build-containers-base-centos-8

* CentOS 9
tripleo-ci-build-containers-required-projects-upstream
* tripleo-build-containers-base-centos-9

Note: It adds tripleo-build-containers-base-centos-8
as a CS8 distro base job to create
tripleo-build-containers-centos-8 in order to keep
the consistency.

[1]. https://review.opendev.org/q/hashtag:cs-parenting

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: Ifd941e8ce0b42b434b95688c461db8db0a2ded9c
2022-03-23 10:49:22 +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
Amol Kahat 48dcf70fa7
CentOS-9 build containers base job
This job is going to test build containers[1] changes
for cs9.

[1] https://opendev.org/openstack/tripleo-ci/src/branch/master/roles/build-containers

Signed-off-by: Amol Kahat <amolkahat@gmail.com>
Change-Id: I29452bd6fe8854a3e1a9a0bdf317d166120270f6
2022-01-14 11:54:05 +05:30
Ronelle Landy 9d5ff817ea Enable supported container-tools before login
Container-tools module needs to be set before
the podman login step.
Going forward, this should be done with tripleo-repos.

This review also removes unnused container stein
jobs from check and gate.

Closes-Bug: #1942078
Change-Id: I448a8d6d2dad94cb413a8f82adb85867c043f5b7
2021-08-31 15:01:45 -04:00
Marios Andreou b813597a5a Remove all rocky related jobs/conditionals tests after rocky End of Life
Rocky is now EOL since [1][2] so this removes all the rocky related jobs
or conditionals.
Moves tripleo-ci-centos-7-undercloud-containers to deprecated jobs as it
is still in use in other repos so we can't remove yet.
Related reviews in topic branch tripleo-ci-reduce-rocky [3].

[1] https://review.opendev.org/c/openstack/releases/+/774244
[2] http://lists.openstack.org/pipermail/openstack-discuss/2021-March/020912.html
[3] https://review.opendev.org/q/topic:tripleo-ci-reduce-rocky

Change-Id: Ibe2fd5c7792d55236c09dbf9cf88e23e1c5a5673
2021-03-26 13:47:18 +02:00
Shnaidman Sagi (Sergey) d75bd4f043 Revert "Set image and container build jobs non-voting: stream"
This reverts commit 41847d7f49.

Reason for revert: jobs pass

Change-Id: Ic0ee3241693b1d1096f2d3618341130aef616829
2021-03-08 11:13:04 +00:00
Ronelle Landy 41847d7f49 Set image and container build jobs non-voting: stream
Set container and image build jobs to non-voting during
the transition from centos release nodes to
centos stream nodes on all releases.

Related-Bug: #1917808
Change-Id: I5b904aa969222740b444cd73e722c09168924716
2021-03-04 16:43:49 -05:00
Zuul 4dd9ff8a13 Merge "Revert "Pin UBI image to 8.2 for build containers job"" 2020-12-28 04:49:30 +00:00
yatin 36d8cd6937 Revert "Pin UBI image to 8.2 for build containers job"
This reverts commit ff032920df.

Reason for revert: Pinning is no longer needed post [1].

[1] https://review.opendev.org/q/I55f4b8cf2ad971e196fbd06db743d07ce3135ea8

Change-Id: Id8ee92d0e9a7569883b0996db1a321feba27acf6
2020-12-24 12:24:14 +00:00
Wes Hayutin 4ecf0ea9e1 exclude ussuri, tested via content-provider
Change-Id: Ib4f26d31ee3520da42409883c944d4dec6bd9e98
2020-12-12 14:02:26 -07:00
Wes Hayutin c33b75aab5 exclude ubi-8-containers from train
The train branch is currently blocked when
tripleo-repos + current is required.

The containers-build workflow is exercised
via the content-providers, this *may* be
removed completely after a discussion

Change-Id: I812444c0db0ecdf10f28ffd12291bb34c2858a7a
2020-12-12 09:26:17 -07:00
Amol Kahat c87f24b459 Removed ubi-8 based jobs
ubi-8 based jobs uses tcib method of building containers
and same method also used by content-provider jobs.

We nearly migrated to content-provider, this jobs
are no longer in use.

Depends-On: https://review.opendev.org/761862
Change-Id: Id1ba5ac0dcaf7f2c84b1960a35eb00220dc60e8c
Signed-off-by: Amol Kahat <amolkahat@gmail.com>
2020-12-11 14:07:51 +00:00
Sagi Shnaidman ff032920df Pin UBI image to 8.2 for build containers job
Building jobs fail because UBI image changed to centos 8.3
Related-Bug: #1902846

Depends-On: https://review.opendev.org/761463
Change-Id: I4954f55d5bf2e221450058b147ec1be91f057de5
2020-11-04 20:34:26 +00:00
Sagi Shnaidman 65cab52acd Specify build container files
And ignore zuul files for upgrades jobs
Change-Id: I03a8303da3b96919e1432fd7954b69e6dcd37d57
2020-09-15 21:50:57 +03:00
Ronelle Landy 0af7328a1f Separate required-projects and roles from base jobs
Keep required-projects and roles in separate parent
jobs so they can be shadowed downstream.

This will allow downstream to override required-projects
and roles while still parenting from upstream.

Change-Id: I0073a9cf7083a917968b6fff5b6ee35aa344c46e
2020-08-19 12:47:45 +00:00
Zuul 7733dc86f7 Merge "remove kolla based container builds for train,ussuri,master" 2020-08-03 21:25:16 +00:00
Wes Hayutin b6be68df1d remove kolla based container builds for train,ussuri,master
The build-containers-ubi-8 jobs are the current
container build method for centos-8 and
https://review.opendev.org/#/c/736752/ adds the ubi-8 based
new container build for train c8.

We are keeping c7 train container build job to keep the
coverage.

Change-Id: I88300f07a4fea18f14ab1fc0a46aa73cc5b09840
2020-08-03 14:03:55 +05:30
Zuul 7a8309fb5d Merge "Include train for Centos8 Jobs" 2020-08-01 01:42:42 +00:00
Zuul 33ad3ac6c6 Merge "Branchful C8 Train jobs" 2020-07-30 20:29:53 +00:00
Sandeep Yadav c8d83e8137 Include train for Centos8 Jobs
Previously only C7 based jobs were run against train branch. With this
patch we are updating branches condition to run Centos8 based jobs on
train branch as well.

Depends-On: https://review.opendev.org/#/c/742645/

Change-Id: I01dc61bbccb53ac43013048d6d40590e543fba40
Story: https://tree.taiga.io/project/tripleo-ci-board/task/1842
2020-07-30 10:03:16 +05:30
Emilien Macchi 2e42e1f549 Revert "Disable ubi8 job on train"
This reverts commit f0cb940efa.

Depends-On: https://review.opendev.org/740095
Change-Id: I97ba6ab7f9440b616e19719ba28af0f7b2b6f805
2020-07-29 02:31:56 +00:00
Sandeep Yadav db529d9cc3 Branchful C8 Train jobs
With this patch we are adding Centos8 version of train branchful jobs
to run against CI branchless repo.

Once these C8 train jobs will get stable then we will remove
corresponding C7 train jobs in a follow up patch.

Depends-On: https://review.opendev.org/#/c/742645/

Change-Id: I209754fefe18a2f26d7159547e8a92f5ab8f6eb6
Story: https://tree.taiga.io/project/tripleo-ci-board/us/1704
2020-07-23 17:05:14 +05:30
Emilien Macchi f0cb940efa Disable ubi8 job on train
For now, we haven't backported enough patches to have this job working.
We'll enable it when https://review.opendev.org/#/c/740095 will be
merged.

Change-Id: I2240656762770daa75f7b0501ccc08866e1c9412
2020-07-21 10:26:24 -04:00
Emilien Macchi 405a96b51e Introduce stable jobs for tripleo-build-containers-ubi-8
tripleo-build-containers-ubi-8-ussuri (and train), child jobs of
tripleo-build-containers-ubi-8 and non voting. It'll allow to test
container builds without Kolla on stable/ussuri and train.

Change-Id: Iadb569851d5b07439cd21dc57061baa061538d14
2020-07-08 06:19:00 +00:00
Wes Hayutin b5f047007f move build-containers-ubi-8 to voting/gating
https://zuul.openstack.org/builds?job_name=tripleo-build-containers-ubi-8

Change-Id: I87f15cc3f9a0be356b8650081f385ac7598db3fa
2020-06-19 14:13:57 -06:00
Emilien Macchi bffeaf16a4 Add tripleo-build-containers-ubi-8 into job template
Add tripleo-build-containers-ubi-8 into tripleo-build-containers-jobs
for wider coverage (tripleo-common, tripleoclient) and make sure the job
doesn't run on stable/ussuri for now.

Change-Id: I50e0b773273910ed7e4884d52106f07003d4e080
2020-06-17 14:29:08 +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
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
Wes Hayutin caa96846dd make centos-8 build containers, voting, gating
voting, gating
update hash from tripleo-ci-testing to current-tripleo

Change-Id: I45b8c2aed3d01a594a9f08fc47ac4b734e256836
2020-03-03 05:13:56 +00:00
yatinkarel 80adb6cfe4 Fix run for branched build-containers job
With https://review.opendev.org/#/c/708893/
branched container build jobs are not running,
this patch creates seperate parent with correct
branches setting so branched jobs runs in tripleo-ci.

Change-Id: I407133900657c70a7b2be8ef678c57d2e1ae90e9
2020-02-22 00:17:20 +05:30
Alex Schultz ef75d437ef Remove centos-7 container for U
Since kolla has dropped py2 support in Usurri, we can should rely on the
centos-8 job from now on. This change makes the centos-7 job active only
for rocky, stien, and train.

Change-Id: I63784342843b540d48790601829da0159e1b50d9
Related-Bug: #1864018
2020-02-21 15:26:31 +00:00
Marios Andreou 4308d080eb Adds tripleo-build-containers-centos-8 master upstream check no push
Adds the master centos8 containers build jobs. These are not pushing
just building. Tracked by TripleO CI squad in [1]

Co-Authored-By: Wes Hayutin <whayutin@redhat.com>
[1] https://tree.taiga.io/project/tripleo-ci-board/task/1515

Change-Id: Id70b10fe2bbd9b28d9231e90e5ba940071e753a2
2020-02-13 17:57:16 +02: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 954a8d2734 Run build containers on rocky branch
Change-Id: I32c7741435e195f06d31d3ac4087c9243f2f39e0
2019-09-19 15:53:18 +00:00
Gabriele Cerami b84f38500e Revert "Move centos 7 buildah jobs to non-voting"
The job has been passing for the last 10 days in gates
Reverting it to voting.

This reverts commit e554e6ab62.

Change-Id: Ibc6cab0c7feabbc2d0bafd4b5c89e9ddc1dde7a3
2019-09-09 18:34:20 +01:00
Ronelle Landy e554e6ab62 Move centos 7 buildah jobs to non-voting
These jobs are failing sporadically.
Noting that we now have rhel-8 jobs for buildah
and the buildah version on centos is older,
this review moves these jobs to non-voting.

Change-Id: I6e14db844ea50e0efe81555063bb054c0d8fa324
Related-Bug: #1840849
2019-08-20 18:09:38 -04: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
Rafael Folco a441daffdd Create new container build jobs for stein
Define branchful jobs for stein with both docker/buildah.

docker cli:
  - tripleo-build-containers-centos-7
  - tripleo-build-containers-centos-7-stein (NEW*)
  - tripleo-build-containers-centos-7-rocky

buildah cli:
  - tripleo-build-containers-centos-7-buildah
  - tripleo-build-containers-centos-7-buildah-stein (NEW*)

Both Docker and Buildah jobs are voting and gating, however,
buildah ones are not stable for pushing to registry, see
Bug #1824388. None of these jobs push to registry in check/gate.

Will keep duplicate jobs for docker/buildah cli until we
completely switch to buildah.

Related-Bug: #1824388
Story: https://tree.taiga.io/project/tripleo-ci-board/us/815

Change-Id: I20d1546d18f44c8c2da9614cbbd5c15b7d8f88d1
2019-04-22 15:40:48 -03:00
Emilien Macchi 8985516a3a Make tripleo-build-containers-centos-7-buildah voting
tripleo-build-containers-centos-7-buildah is stable, and takes roughly
40 min, same as the Docker job.

I think it's ready to vote.

Change-Id: I4e8569e81e287c66d4ba3b1f8c35d6065096374b
2019-04-10 01:41:00 +00:00
Sagi Shnaidman e7317c7a58 Rocky containers branchfull job
As tripleo-ci repo is branchless and has only master, we need
a rocky containers job that will run on this repo and will check
that we don't break anything for rocky containers building.
Breaking this job will affect periodic promotion because we started
to use this job for containers building in promotions.

Depends-On: https://review.openstack.org/#/c/648358
Change-Id: I8a1c69a9ab1de6992eb52b76862cacacaf265896
2019-03-28 09:56:38 +00:00
Emilien Macchi 0079e9496f Create a new container build job with Buildah on centos7
This job will run in Stein and beyond, where we replace Docker by
Buildah to build images.

blueprint podman-support
Depends-On: I7608136cb213bdca81348a0c3c751b488f48d712
Change-Id: Ia43d96326fdcc9629696c972df1cf677cd69c87f
2019-02-28 00:13:39 +00:00
Sorin Sbarnea bf91585388 Make build-containers job definition reusable
Allows us to define build-containers-fedora-28 job on rdo that would
inherit the upstream definition.

Base jobs that do have file patterns define should have a
`-base-with-files` suffix instead of just `-base`, so we can avoid
accidental use in periodic jobs.

Adds missing patterns on triple-repos which is used by build-containers
in order to avoid making changes to it that would break these jobs.

Change-Id: Ibd0512f1e9bc9c4acb8c0256d1f161bd6d09fe73
Needed-By: https://review.rdoproject.org/r/#/c/18913/
Related-To: https://storyboard.openstack.org/#!/story/2005040
2019-02-21 14:41:31 +00:00
Marios Andreou 4ffc30df03 Add new base for containers-build and periodic without files:
As tracked in [1] in order to use the upstream as base in the
periodic containers build job, we need the base to *not* have any
files: defined otherwise zuul refuses to run it. There is more
info on this bug at [2]

This adds new tripleo-build-containers-base in the base.yaml file
and the existing job then parents onto that see [3]

[1] https://tree.taiga.io/project/tripleo-ci-board/task/712
[2] https://storyboard.openstack.org/#!/story/2005040
[3] https://review.rdoproject.org/r/#/c/18896/
Change-Id: I7520b19eb85069e5d75c000f73cbc3499fedeec7
2019-02-19 13:26:56 +00:00
Alex Schultz 570c200912 Make container build job voting
In order to prevent us from merging changes in tripleo-common that break
container builds using the current promoted code, we need to make this
job voting.

Related-Bug: #1813998
Related-Bug: #1813176
Change-Id: If984dbd9c35e599bd13e52ed8df8d3386e36eb82
2019-02-12 15:06:08 +00:00