Drop ANSIBLE_RUNNER_IMAGE from tcib_args

In Downstream, Openshift Build System(OSBS) is used to build
the container image.

In tripleo-ansible-ee yaml file, ANSIBLE_RUNNER_IMAGE is overriden
via tcib_args during tcib container build process but
OSBS does not overrides the ANSIBLE_RUNNER_IMAGE arg from FROM
instructions due to
https://github.com/containerbuildsystem/dockerfile-parse/issues/118.

It is not clear when the above issue will get fixed.
In order to unblock the pipeline and to have a proper fix
in place, we are going to using the default image name in tcib_from
argument.

In Downstream, tcib_from will be overriden with downstream
image.

Related-Bug: rhbz#2128230

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I81f911500ba620b27707075ef4fda8d52b2a5831
This commit is contained in:
Chandan Kumar (raukadah) 2022-09-22 13:44:02 +05:30
parent 59b57ebf57
commit e310a3ced0

View File

@ -1,7 +1,6 @@
tcib_args:
TRIPLEO_ANSIBLE_REQ: "/usr/share/openstack-tripleo-common-containers/container-images/kolla/tripleo-ansible-ee/requirements.yaml"
ANSIBLE_RUNNER_IMAGE: quay.io/tripleoansible/ansible-runner:stream9
tcib_from: $ANSIBLE_RUNNER_IMAGE
tcib_from: quay.io/tripleoansible/ansible-runner:stream9
tcib_actions:
- run: dnf install -y {{ tcib_packages['common'] | join(' ') }} && dnf clean all && rm -rf /var/cache/dnf
- user: root