Set update_repo to gating_repo_name parameter

In previous releases we used gating_repo_name parameter
to set the repositories to be used to update container
packages. After moving it to tripleo-modify-image role,
repo name is hardcoded to gating-repo but in some cases
we need to use a different name (as in RDO rdoinfo jobs),
so making it configurable using the same parameter seems
to be a good option.

Change-Id: I1a7a9edde53ecc85bb347f3c7dc3140aac06985e
This commit is contained in:
Alfredo Moralejo 2018-07-12 20:10:52 +02:00 committed by Sagi Shnaidman
parent 67ff889519
commit d32e1f3ea5

View File

@ -14,7 +14,7 @@ parameter_defaults:
tasks_from: yum_update.yml
compare_host_packages: true
yum_repos_dir_path: /etc/yum.repos.d
update_repo: gating-repo
update_repo: "{{ gating_repo_name|default('gating-repo') }}"
{% endif %}
set:
tag: "{{ container_build_id }}"