tripleo-common/tripleo_common/tests/image
James Slagle 0c4de9c771 Don't assume default tag exists in container repo
When no tag is set for an entry in ContainerImagePrepare, the default
tag from container-images/container_image_prepare_defaults.yaml will be
assumed, which is typically current-tripleo, or a release version such
as 16.0.

In most cases, this tag will exist. However, when using a satellite with
a content view that has been filtered on tags, it likely won't exist
since content views are often used with container image versions that
are not the latest.

In the case where no tag is set in the entry in ContainerImagePrepare,
and the default tag does not exist in the container repo, the latest tag
from the repo will be assumed instead.

Change-Id: I985ef22c340c4071866c8c51bf303a6f4ee7713c
Closes-Bug: #1886547
Signed-off-by: James Slagle <jslagle@redhat.com>
2020-07-15 12:11:24 +00:00
..
builder Merge "Use unittest.mock instead of third party mock" 2020-05-20 22:01:02 +00:00
__init__.py Build image files from definitions in yaml 2016-03-18 11:43:32 -04:00
fakes.py Break out function get_undercloud_registry 2018-04-05 21:03:57 +00:00
test_base.py Use unittest.mock instead of third party mock 2020-05-15 18:58:43 +02:00
test_build.py Use unittest.mock instead of third party mock 2020-05-15 18:58:43 +02:00
test_image_builder.py Use unittest.mock instead of third party mock 2020-05-15 18:58:43 +02:00
test_image_export.py Use unittest.mock instead of third party mock 2020-05-15 18:58:43 +02:00
test_image_uploader.py Don't assume default tag exists in container repo 2020-07-15 12:11:24 +00:00
test_kolla_builder.py Don't assume default tag exists in container repo 2020-07-15 12:11:24 +00:00