standalone upgrade: use container_build_id as tag specifier

container prep role server as a collection point to all the variables that
specify a tag, and set the winner tag in container_build_id. Let's use that var
instead to prepare the containers.

Change-Id: Ia0e446c7e0ec91822e678362bb43f4abc988046f
This commit is contained in:
Gabriele Cerami 2019-05-22 10:35:29 +01:00
parent a1df6e86ee
commit 50c3916c8d

View File

@ -9,6 +9,6 @@ sed -Ei 's/^([\t ]+)namespace: [a-z./]*/\1namespace: {{ docker_registry_host }}\
{% endif %}
{% if dlrn_hash_tag != '' %}
# Make CI specific tag change to the container params
sed -Ei 's/^([\t ]+)tag: [a-z-]+/\1tag: {{ dlrn_hash_tag }}/' \
sed -Ei 's/^([\t ]+)tag: [a-z-]+/\1tag: {{ container_build_id }}/' \
"{{ working_dir }}/containers-prepare-parameters-upgrade.yaml"
{% endif %}