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
If the container_build_id file exists, copying in a new one may fail
because of permission issues on os.rename().
Change-Id: I70cbf111e0fdce47386cac3b50688cbf86558dd5
If build_container_images is true build containers
and use these build containers instead of downloading
containers and running container updates.
Change-Id: If6f0c21581039a2318a5b019175852f5c5263f62
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
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
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
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
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
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
* 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
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
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