diff --git a/changelogs/fragments/71905_bump-cloudstack-test-container.yml b/changelogs/fragments/71905_bump-cloudstack-test-container.yml new file mode 100644 index 00000000000..30b0eeef5bc --- /dev/null +++ b/changelogs/fragments/71905_bump-cloudstack-test-container.yml @@ -0,0 +1,2 @@ +minor_changes: + - ansible-test - Implemented CloudStack test container selection by ENV variable `ANSIBLE_CLOUDSTACK_CONTAINER` with a default to `quay.io/ansible/cloudstack-test-container:1.4.0`. diff --git a/test/lib/ansible_test/_internal/cloud/cs.py b/test/lib/ansible_test/_internal/cloud/cs.py index dc79d9a1ae8..05c780fd77b 100644 --- a/test/lib/ansible_test/_internal/cloud/cs.py +++ b/test/lib/ansible_test/_internal/cloud/cs.py @@ -48,8 +48,7 @@ class CsCloudProvider(CloudProvider): """ super(CsCloudProvider, self).__init__(args) - # The simulator must be pinned to a specific version to guarantee CI passes with the version used. - self.image = 'quay.io/ansible/cloudstack-test-container:1.2.0' + self.image = os.environ.get('ANSIBLE_CLOUDSTACK_CONTAINER', 'quay.io/ansible/cloudstack-test-container:1.4.0') self.container_name = '' self.endpoint = '' self.host = ''