Commit Graph

494 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
Marios Andreou 5cf9d418c0 Use update-promotion-* file and add new override_docker_image_tag var
In downstream periodic minor update job we should use
update-promotion-testing-hash-* release config file. The file defines all
required variables to run rhos job including release related vars.
Emit_release should be skipped as it is not not used in downstream job.

This change introduces also override_docker_image_tag variable. This
variable defines if container images should be overridden during minor
update to pull from registry already created container images.

Change-Id: I22803fdac815338943cc1c24cf9d87c4ad7f7d98
2023-10-16 20:30:45 +02:00
Takashi Kajinami f29a718924 Use the latest CentOS image for image build
The c9s image currently used no longer exists in the repository. Let's
switch to the latest to avoid updating the image name when old images
are purged.

Related-Bug: #2025224
Change-Id: Iea1167424dea0fb36862ae7ad73c5b1d8de54a88
2023-06-28 17:38:22 +09:00
Cédric Jeanneret 4ba629c140 Update CS9 image for Wallaby
Change-Id: I5565437bbff73ae8345c35d4806cc7847534b85f
Closes-Bug: #2025224
2023-06-28 09:48:24 +02: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
Sandeep Yadav 0bc4d1bc5e Updating tripleo_image_source image
older image is no longer available

Change-Id: I7205939883a37602bfe3c808d5c02b8368d67af2
2023-05-25 15:17:34 +05:30
Douglas Viroel 3ac10a0791 Updates CentOS-9 image
This patch updates CentOS-9 image to latest since current one
is not available anymore.

Change-Id: I32cb57ecf1dc17a9f847e1d844486f4eba95c345
2023-05-17 11:31:05 -03:00
Ronelle Landy 20fc32bf42 Updating CentOS-8 stream default build image
Previous image is no longer available at
https://cloud.centos.org/centos/8-stream/x86_64/images/.

Updating to reference the latest image.

Closes-Bug: #2016422
Change-Id: I3919a8422cc07799a258c8da1162a1c945c0bc4c
2023-04-16 11:57:10 -04:00
Arx Cruz d5a73f5f56 Updating CentOS image
Previous image was old and it is no longer available, updating to latest
image.

Closes-Bug: #2016284

Change-Id: I0d26f2e2b337d230d26d619f03d762a71efde2c2
2023-04-14 11:51:49 +02:00
Marios Andreou 0caf72a59b Cleanup after mixed-os single deploy refactoring rename deploy play
This uses the new name for the deploy play that is done with the
depends-on. This follows the recent single heat stack deployment
for the mixed OS jobs [1].

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

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

Change-Id: Idfa6653b33cf8bd90b5dfe1b81573670bfc5b075
2023-02-15 11:49:51 +02:00
Marios Andreou 7c2eeee1c0 Remove extra compute deploy and add registry_distro_lower var
This patch wires up the single deployment mixed rhel CI workflow by
setting the registry_distro_lower var that is consumed by [1][2]
to enable per role container image prep. The extra deployment for the
compute node is no longer required so we remove that play from the base job.

[1] https://review.opendev.org/c/openstack/tripleo-quickstart-extras/+/868210
[2] https://review.opendev.org/c/openstack/tripleo-quickstart/+/868208

Change-Id: I2b4db3879b0fbb28484d77a033257fb4d25be231
2023-02-07 09:56:56 +00:00
Cédric Jeanneret d45b5fdd06 Update call for task include
"include" is mostly deprecated - and the "static" parameter is dead in
newer ansible.

It's better to call "include_tasks" instead, since it will dynamically
load the task. In the loop context, it will act the right way. It's also
backward compatible with older ansible versions, at least the ones we're
using in CI env.

This patch also replace the two "with_items" by "loop" parameter.

Change-Id: Id7fc8eb6c24c9671835dd217d834ae462e483da7
2023-02-03 10:05:18 +01:00
Zuul 74c54178bc Merge "Allow to call the discover-latest-image role" 2023-01-28 04:37:41 +00:00
Cédric Jeanneret 6df518c8a9 Allow to call the discover-latest-image role
It comes from oooq-extras:
https://opendev.org/openstack/tripleo-quickstart-extras/src/branch/master/roles/discover-latest-image

Calling it will allow to correct some issues we may face when the image
changes on a daily basis.

It adds 3 new parameters:
+tripleo_ci_discover_latest (boolean): whether or not discover latest
image
+tripleo_ci_discover_base_url: base_url passed down to the role
+tripleo_ci_discover_qcow_prefix: qcow_prefix passed down to the role

Depends-On: https://review.opendev.org/c/openstack/tripleo-quickstart-extras/+/871833
Change-Id: I89ce291546a68606c1eab1bb9379a21836773c70
2023-01-26 16:27:14 +00:00
Zuul c5edb92853 Merge "Add TripleO Zed update and upgrade jobs" 2023-01-19 00:19:32 +00:00
Soniya Vyas 3bde69edbc Do not source venv for downstream builds
openstacksdk and openstackclient violate upper-constraints for Wallaby.
venv install versions are violating upper-constraints. This patch forces downstream image builds to rpms and source packages.

Related-bug: BZ2161262
Change-Id: I207403264bc59db286d4e501c3a8042f9b093991
2023-01-17 15:33:11 +00:00
Dariusz Smigiel 7c26fa177e Add TripleO Zed update and upgrade jobs
- created Zed upgrade zuul template between
Wallaby and Zed releases.
- created undercloud-upgrade job

Change-Id: I63fa6b0699450d9a4439d31db190d1d01cbc71d5
2023-01-16 14:22:25 +00:00
Amol Kahat 25042c4cba
Remove trunk.registry from tripleo-ci repo
trunk.registry.rdoproject.org going to decomission
soon. This patch remove trunk.registry from
tripleo-ci repo.

This patch also removes Dockerfile_rhui.j2 template,
which is used internally. No need to keep it in the
upstream.

Signed-off-by: Amol Kahat <amolkahat@gmail.com>
Change-Id: I11bc7cc37af6271fac7c651c8598a741cf0af783
2023-01-10 12:44:54 +05:30
Zuul b1dfa67c45 Merge "Add rhos-18 settings for container builds" 2023-01-03 16:49:19 +00:00
Zuul 6060cff77f Merge "Remove reference to IBM BM2 provider" 2022-12-13 10:47:11 +00:00
Zuul 11ccf0116b Merge "Match puppet-pacemaker branches to respective releases" 2022-12-12 21:31:06 +00:00
Douglas Viroel 3cef2b1f82 Remove reference to IBM BM2 provider
This patch remove IBM BM2 provider references from code since
this provider was decommissioned.

Change-Id: Ib643bb75cfea2dbac40d48ac29180ec8db72c2e2
2022-12-12 15:30:35 -03:00
Ronelle Landy e5ea2013f7 Ensure CentOS nodes are selinux Permissive
CentOS 9 nodes are startng with selinux in
Enforcing mode. This is not the expected
configuration to run RDO/CentOS tests.

This patch sets selinux to permissive in pre
when running on CentOS.

Change-Id: I14dff0c0bb2d793ef4cd52ddcc2ff5ca4f870b97
Related-Bug: #1998954
2022-12-06 16:34:19 -05:00
Luca Miccini 38fcbdc779 Match puppet-pacemaker branches to respective releases
Change-Id: I5a5ab37553d63f6b0939d1ea39402c59ad39a47c
2022-12-06 15:53:19 +01:00
bshewale 04b6ac57b4 Add rhos-18 settings for container builds
rhos-18 containers are bring added.
This patch adds the 18 relevant settings for
skipping conatiners that are not needed.

Change-Id: I0d83b2c72e19084fb7ef14234c425d987f997a90
2022-12-01 16:04:21 +05:30
Zuul 97939179e8 Merge "Use virtualenv_site_packages: true when using venv" 2022-11-25 11:25:10 +00:00
Sandeep Yadav 909c83bc62 Do not use --debug for image build
Since Ansible was bumped to 2.14, we've observed the container image
build process gets stuck in the middle of ansible tasks to generate
Docker/Buildah files, because of a bug[1] with ansible-runner.

This removes --debug option from the build command to avoid -vvv option
in the ansible command, to workaround the above bug.

Same workaround is added for content-provider already[2], adding same
workaround for build-containers role.

[1] https://github.com/ansible/ansible-runner/issues/1164
[2] https://review.opendev.org/c/openstack/tripleo-quickstart-extras/+/864838

Related-Bug: #1996612
Change-Id: I498c9cac7815d3d0682835d2bf943594dad2203c
2022-11-24 12:57:35 +00:00
rabi 6dbbaf0d33 Use virtualenv_site_packages: true when using venv
This would ensure site-packages are visible to venv
python.

Change-Id: I45980a36b691f62f4250b0759e7ba304b5e2a2ec
2022-11-24 15:17:05 +05:30
Zuul 2066a2baa2 Merge "Remove pingtest from tripleo" 2022-11-21 22:27:16 +00:00
Zuul 32812a0391 Merge "Added standalone-ffu job." 2022-11-18 13:03:55 +00:00
Douglas Viroel ed91889d9d Add new nodepool_provider for ibm cloud
This patch adds a new nodepool provider for "ibm rhcloud". With this
change, the environment config used for BM2 provider will also be used for
BM3 provider[1].

[1] 56e6bc85ad/roles/ci-common-vars/vars/main.yaml (L60)

Testproject: https://review.rdoproject.org/r/c/testproject/+/46046/

Change-Id: Ia14302ad02245894966229fc7b27d5a7ca74fc5a
2022-11-16 17:53:22 +00:00
Juan Badia Payno a7214267b6 Added standalone-ffu job.
The test of this patch can be seen at:
https://review.opendev.org/c/openstack/tripleo-heat-templates/+/861363

Co-authored-by: Jose Luis Franco
Co-authored-by: Daniel Bengtsson
Depends-On: Idd922d921fe52e9ca88ed84177d2eb81285bafae
Change-Id: I867febeb9b694401c0cfeb7931864a2291f87b99
2022-11-04 09:43:29 +01:00
Marios Andreou d281e8e2cc Adds zed into previous_release_from and fix master upgrades
We added emit release support with [1] but forgot this case.
It is the cause of related-bug. We also fix the master upgrade
template since we now have zed as the previous release so
replace wallaby with zed content provider in dependencies.

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

Related-Bug: 1992560
Change-Id: I70a4ce03b950038dd0a9b383313bc7b505644329
2022-10-12 14:03:41 +03:00
Arx Cruz 4db10e39a4 Remove pingtest from tripleo
Ping test is no longer being used in the last 5 years and was replaced
by tempest. However there are still pieces of code being executed, and
replacing some files, for example the testrepository.subunit file that
tempest generate and it is being used by the ci logging scrapper to
collect data about tempest.

Change-Id: Ia2b18f88652f144d5b593c5d209a9acf2d0374c8
2022-10-05 11:51:33 +02:00
Zuul a65a28afa9 Merge "Victoria tear down : build image/container jobs" 2022-09-26 12:42:17 +00:00
Zuul dd3b423ca0 Merge "Add exclude_containers for zed container build" 2022-09-25 11:25:17 +00:00
Pooja Jadhav 44951853e4 Victoria tear down : build image/container jobs
This patch removes victoria build image and
build containers job definitions.

Change-Id: I598f0438477bfd09d11b7af94d3b9139d23f1bf2
2022-09-23 17:02:16 +05:30
Chandan Kumar (raukadah) c75f267ea6 Drop ANSIBLE_RUNNER_IMAGE from tcib_extra_config
https://review.opendev.org/c/openstack/tripleo-common/+/858864 drops
the same from tripleo-ansible-ee container image.

Depends-On: https://review.opendev.org/c/openstack/tripleo-common/+/858864

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: Id8865e04eed3c23587c13d652641c435ad59b45d
2022-09-23 16:00:34 +05:30
Marios Andreou df668d55e0 Add exclude_containers for zed container build
Change-Id: I624e4778dbf7d11d6a9cce35b54d9ef23b4cf3b4
2022-09-23 08:29:40 +00:00
bshewale 0492c16aad Add support for tcib_extra_config for master branch only
OSBS tool used in downstream to build wallaby container
doesnot support taking ARGS from FROM label in Dockerfile[1].
It is blocking the container build job[2].
So enabling tcib_extra_config for master only unblocks the line.

Links:
[1]. https://github.com/containerbuildsystem/dockerfile-parse/issues/118
[2]. https://bugzilla.redhat.com/show_bug.cgi?id=2128230

Change-Id: I4b68432080e6c87d60e281acd8dae994e85e2e01
2022-09-20 16:43:26 +05:30
Chandan Kumar (raukadah) 0e7811e203 Disable tcib_extra_config for train temporarily
tcib_extra_config features does not work in RHOS-16.2 and
the fix[1] needs to be promoted to downstream to fix it.

In order to unblock the container-build job downstream, we
are disabling this feature for train.

Note: We have not added code comment in the template change as it
breaks the CLI.

[1]. https://review.opendev.org/c/openstack/tripleo-ansible/+/857777

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I0cde6daed826f08d8cc4b51f2b3350bd303ffdb6
2022-09-15 13:06:51 +05:30
Chandan Kumar (raukadah) ae93c395a3 Add support for tcib_extra_config
Additional parameters to tcib tool like Dockerfile Args
can be passed via tcib extra_config[1]. It can be used while
building tripleo-ansible-ee container[2].

[1].https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/deployment/3rd_party.html#tips-and-tricks-with-tripleo-container-image-build
[2]. https://review.opendev.org/c/openstack/tripleo-common/+/776674
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: Ic1a588bb7eab9fbb7e813674b11d2b04b110a1e8
2022-09-12 18:34:32 +05:30
Zuul a699710992 Merge "Add cloud config for IBM cloud" 2022-08-01 13:10:03 +00:00
Chandan Kumar (raukadah) 4e348fd9eb Add cloud config for IBM cloud
It contains config for standalone, multinode and OVB jobs.

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: Ia3461036a0672d201d0ed5c9932475c5d42a8761
2022-07-25 15:08:21 +05:30
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
Ronelle Landy 43bec18a4a Add rhos-17.1 settings for container builds
rhos-17.1 containers are bring added.
This patch adds the 17.1 relevant settings for
skipping conatiners that are not needed.

Change-Id: If66cdd8c57b20b1e6035990ef1d087abcfd4cc79
2022-07-19 11:08:49 -04:00
Zuul d99a68b70c Merge "Add CentOS9 standalone job with FIPS enabled" 2022-07-06 15:46:07 +00:00
Douglas Viroel 20f4031179 Add CentOS9 standalone job with FIPS enabled
This patch adds a new non-voting centos-9 standalone jobs with
FIPS enabled to the check pipeline. In order to have FIPS enabled,
the base-upstream job need to inherit from multinode-fips job, which
runs enable-fips role on a pre-playbook. When running enable-fips
role, the node will need to reboot in order to enable fips flag as
kerner parameter. When enabling fips mode, a post reboot task checks
if DNS is up by running nslookup against a provided target.

In order to check if FIPS is enabled, search for "crypto.fips_enabled =
1" on node's "var/log/extra/sysctl.txt" or search for "fips=1" in
kernel boot command line in "var/log/extra/dmesg.txt"

Co-Authored-By: Ade Lee <alee@redhat.com>
Co-Authored-By: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I5972a41e0ffec818742a67d4e73c9fdea82ee2f6
Signed-off-by: Douglas Viroel <dviroel@redhat.com>
2022-07-04 10:04:59 -03: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
chandan kumar 3866735c4e Revert "Make sure 05-selinux-9-stream is executable"
This reverts commit b48f287493.

Reason for revert: https://review.opendev.org/c/openstack/diskimage-builder/+/846078

Change-Id: I9d51111af6fb5307fdd6fbcdeab1ebcccfed6111
2022-06-22 18:20:19 +05:30