dc0b057f6e
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 |
||
---|---|---|
.. | ||
overcloud_containers.yaml | ||
overcloud_containers.yaml.j2 | ||
tripleo_kolla_template_overrides.j2 |