commit dc0b057f6e2fdf17ff84f51e5a5af7897226bf12
Author: Steve Baker <email address hidden>
Date: Wed Jun 7 09:14:52 2017 +1200
Make overcloud_containers.yaml template driven
Currently container based CI jobs are implementing their own logic to
transform overcloud_containers.yaml to a file that reflects the
container images and registry required to run their job [1] unless the
job requires the exact images which the static
overcloud_containers.yaml provides[2].
This change adds a template overcloud_containers.yaml.j2 which will
exist in parallel to overcloud_containers.yaml until all downstream
users of overcloud_containers.yaml switch to a templated approach.
This change is the first step to write commands which allow
overcloud_containers.yaml to be built for a specific enviroment,
including version based tags and reducing the image list to those
needed by the deployment.
The test test_container_images_yaml_in_sync will ensure that any
changes made to overcloud_containers.yaml won't pass until they're
made to overcloud_containers.yaml.j2 as well. This will keep them in
sync until overcloud_containers.yaml is removed.
Reviewed: https:/ /review. openstack. org/471537 /git.openstack. org/cgit/ openstack/ tripleo- common/ commit/ ?id=dc0b057f6e2 fdf17ff84f51e5a 5af7897226bf12
Committed: https:/
Submitter: Jenkins
Branch: master
commit dc0b057f6e2fdf1 7ff84f51e5a5af7 897226bf12
Author: Steve Baker <email address hidden>
Date: Wed Jun 7 09:14:52 2017 +1200
Make overcloud_ containers. yaml template driven
Currently container based CI jobs are implementing their own logic to containers. yaml to a file that reflects the containers. yaml provides[2].
transform overcloud_
container images and registry required to run their job [1] unless the
job requires the exact images which the static
overcloud_
This change adds a template overcloud_ containers. yaml.j2 which will containers. yaml until all downstream containers. yaml switch to a templated approach.
exist in parallel to overcloud_
users of overcloud_
This change is the first step to write commands which allow containers. yaml to be built for a specific enviroment,
overcloud_
including version based tags and reducing the image list to those
needed by the deployment.
The test test_container_ images_ yaml_in_ sync will ensure that any containers. yaml won't pass until they're containers. yaml.j2 as well. This will keep them in containers. yaml is removed.
changes made to overcloud_
made to overcloud_
sync until overcloud_
[1] https:/ /github. com/rdo- infra/ansible- role-rdo- kolla-build/ blob/master/ tasks/main. yml#L39- L75 /github. com/openstack/ tripleo- quickstart- extras/ blob/master/ roles/overcloud -prep-container s/templates/ overcloud- prep-containers .sh.j2# L18
[2] https:/
Change-Id: I4fe18565362f9f 308dd9957aeb9bc 0f7498590a6
Partial-Bug: #1696598