Commit Graph

21 Commits

Author SHA1 Message Date
Ghanshyam Mann 72ea117f61 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

Change-Id: Ic549bdcc76a5e12a0104143fbe79fd0db2c866b0
2024-02-24 11:44:35 -08:00
mciecier 395003def5 Override docker_image_tag variable in container-prep role
docker_image_tag variable has to be overridden to point to
dlrn_hash_newest instead of dlrn_hash. This has to be done in
order to substitute tag in containers-prepare-parameter.yaml with newer
tag in downstream update job.

Depends-on: https://review.opendev.org/c/openstack/tripleo-ci/+/888933

Change-Id: If79b38bf427f75143582c1db7e524123fb311e81
2023-10-16 12:58:24 +02:00
Brent Eagles 1c264319f5 Make sure container_build_id is removed before writing new one
If the container_build_id file exists, copying in a new one may fail
because of permission issues on os.rename().

Change-Id: I70cbf111e0fdce47386cac3b50688cbf86558dd5
2021-12-16 20:59:26 -03:30
yatinkarel 68af35edf1 Allow to build containers before undercloud-install
If build_container_images is true build containers
and use these build containers instead of downloading
containers and running container updates.

Change-Id: If6f0c21581039a2318a5b019175852f5c5263f62
2021-10-20 21:08:21 +05:30
Ronelle Landy a8bf5e1c0e Do not set update_containers_append_tag for consumer jobs
minion jobs are failing when set as consumer jobs as
they are expecting containers with an -updated
tag. This review does not set
update_containers_append_tag when it is run within
a consumer job.

Depends-On: https://review.opendev.org/#/c/761402/
Change-Id: Icfc5b606616a7ffed6b6884935c7ea271c2f2720
2020-11-04 12:58:24 +00:00
Sagi Shnaidman 69bd10d87f Save dlrn container tag on the disk
Change-Id: I3993ed128b4c65a4fa967b634c75191406cf8570
2020-10-08 10:42:15 +00:00
yatinkarel d151bee4a6 Honour standalone updates too for container-prep
This is needed for running standalone deploy with
container updates outside of zuul. In zuul jobs issue
was not detected as update_containers is always
set for zuul jobs.

Partial-Bug: #1889219
Change-Id: I87a0214a344a9b23dd267e412a37b2abe0eb0571
2020-08-05 14:44:14 +05:30
wes hayutin 49f4389bc3 Revert "Set container build hash based on dlrn md5 checksum"
This reverts commit 93f39c64f2.

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

Change-Id: Ibe224ad4ba63c0caea37fbded9aa2c37bcf7a9d7
2020-03-06 07:13:43 +00:00
Chandan Kumar (raukadah) 93f39c64f2 Set container build hash based on dlrn md5 checksum
Change-Id: Ia4895074b3b87d4bf117352a15aafc92655f80f1
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
2020-03-02 17:55:35 +00:00
Sorin Sbarnea e702a6b97f ansible-lint: re-enabled
Previously ansible-lint was running without any rules, so mainly as good
as not runnign at all. Renabling it required updating the list of skips,
but we will address these in follow-ups.

This also bumps ansible-lint to the master version which is not affected
by the installation bug.

Bug: https://bugs.launchpad.net/tripleo/+bug/1848512
Change-Id: I3e78dbf6d3a09aea9430a01e9553d31f8171235a
2019-10-23 12:12:49 +01:00
Wes Hayutin bf138f2ec1 update tqe openstack -> opendev
Change-Id: I14443c5d5e8cddde01373ce6408ced47a7dc1403
2019-04-22 13:17:19 -06:00
OpenDev Sysadmins db85f97e1d OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:42:23 +00:00
Ronelle Landy 5df6fdd310 Do not redefine container_build_id if set with get_build_command
Change Ia767988dae7bf3c01b74fd719facf9f20daa6059
redefines the container_build_id with teh docket_image_tag
even if it has already been defined by get_build_command.

This review adds a when: condition to skip that redefinition.

Change-Id: I031cdaaa31f08e142c9ddd07de63592f213f1ffb
2019-03-27 16:36:23 -04:00
Wes Hayutin c6eaa9d8cb WIP: attempt cleanup on container build id vars
Change-Id: Ia767988dae7bf3c01b74fd719facf9f20daa6059
2019-03-15 14:07:55 +00:00
Sorin Sbarnea 72141b7fab Adopt yamllint strict linting
Upgrades yamllint to latest version and adots use of its strict
checking.

Fix all known problems reported by yamllint so we don't have to do
that while touching these files.

Change-Id: I4bdc520d9e2aff086c4b463718bc1e053261a4f5
Story: https://tree.taiga.io/project/tripleo-ci-board/task/381
2018-11-26 12:37:21 +00:00
Ronelle Landy 08978f2875 Resolve get_build_command output before container_build_id
In releases Rocky and later, the get_build_command is not used
directly as a bash variable and therefore needs to be
evaluated before it is assigned to container_build_id.

This review also adds an option to supply
docker_insecure_registries to the undercloud.conf.

Change-Id: Ia801fa7326c3e5c64a8a5f5999a03ab758451122
2018-11-02 17:55:46 +00:00
Zuul ecbc08a573 Merge "add default value for update_containers" 2018-08-11 02:09:28 +00:00
Wes Hayutin f6dd92d23b add default value for update_containers
missing default value

Closes-Bug: #1786106
Change-Id: I517cc3e68edb52cedf8c9504526effd20f4f396a
2018-08-08 15:55:42 -04:00
Chandan Kumar fbb9e59b22 Use local docker registry host for tempest container
* On Containerized undercloud, tempest container is already pulled
  and pushed to local docker registry through image prepare workflow
  and it gets updated if there is an package update. So let's use that
  once instead of pulling it again and test the stuff with that.
* new tempest_container_tag would be docker_image_tag + update_containers_append_tag
  which comes from image prepare workflow.
* make container_build_id, update_containers_append_tag as cacheable as it is need in
  different ansible run

Depends-On: https://review.openstack.org/#/c/589523/

Change-Id: Ibe5a285d6d26c9433d9ff6e7a85f266acc32815a
2018-08-07 15:48:37 +00:00
Wes Hayutin 8396560677 ensure the container_build_id is set
In locally run workflows the container_build_id is not set.
Ensure the var is set properly and is echo'd to the console
for transparency.

Closes-Bug: #1777896
Depends-On: I74c03ecaedaa8847c585814acf6249722b508dff
Change-Id: I138471bf07476fa174eca315cf6e4330d1ea65fa
2018-07-04 12:00:24 +00:00
Wes Hayutin 2037e9a415 set container variables when needed
Only run container tasks when required to:
1. prior to undercloud
2. prior to overcloud-prep-containers
3. prior to standalone deployment

Closes-Bug: #1777896
Change-Id: I50054a95500747972454305001d34c4c97b71e7f
2018-06-26 02:03:48 +00:00