Call container-registry role at required job level

In tripleo-ci-containers-rdo-upstream-pre job,
playbooks/tripleo-buildcontainers/pre.yaml is called
in pre-run where it looks for ansible-role-container-registry
role to configure docker registry.

It comes from ansible-role-container-registry project.
if it is not defined there, then the whole pre-run playbook
gets skipped.

Adding it at the job level fixes the issue.

It is only needed for CentOS-7 jobs.
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I04779ec0ab6b6b97707f21d9d14415094bdfff20
This commit is contained in:
Chandan Kumar (raukadah) 2022-03-24 22:42:05 +05:30 committed by Ronelle Landy
parent ba47625fa2
commit 05366af293
1 changed files with 4 additions and 0 deletions

View File

@ -258,8 +258,12 @@
to run pre playbook in RDO and Upstream
required-projects:
- opendev.org/openstack/tripleo-ansible
# Note: Remove ansible-role-container-registry reference
# on removal of CentOS 7 jobs
- opendev.org/openstack/ansible-role-container-registry
roles:
- zuul: opendev.org/openstack/tripleo-ansible
- zuul: opendev.org/openstack/ansible-role-container-registry
parent: tripleo-ci-base-containers-standard
pre-run: playbooks/tripleo-buildcontainers/pre.yaml