tripleo-common/container-images
Steve Baker dc0b057f6e 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.

[1] https://github.com/rdo-infra/ansible-role-rdo-kolla-build/blob/master/tasks/main.yml#L39-L75
[2] https://github.com/openstack/tripleo-quickstart-extras/blob/master/roles/overcloud-prep-containers/templates/overcloud-prep-containers.sh.j2#L18

Change-Id: I4fe18565362f9f308dd9957aeb9bc0f7498590a6
Partial-Bug: #1696598
2017-06-22 11:03:04 +12:00
..
overcloud_containers.yaml Merge "Add ceph/daemon image to undercloud registry" 2017-06-15 15:50:38 +00:00
overcloud_containers.yaml.j2 Make overcloud_containers.yaml template driven 2017-06-22 11:03:04 +12:00
tripleo_kolla_template_overrides.j2 Switch to RDO packages for HA support in Kolla images 2017-06-16 13:04:04 -04:00