diff --git a/test/runner/lib/cloud/cs.py b/test/runner/lib/cloud/cs.py index 14b7b484a75..179cc610ca8 100644 --- a/test/runner/lib/cloud/cs.py +++ b/test/runner/lib/cloud/cs.py @@ -52,7 +52,8 @@ class CsCloudProvider(CloudProvider): """ super(CsCloudProvider, self).__init__(args, config_extension='.ini') - self.image = 'ansible/ansible:cloudstack-simulator' + # The simulator must be pinned to a specific version to guarantee CI passes with the version used. + self.image = 'ansible/ansible:cloudstack-simulator@sha256:885aedb7f34ce7114eaa383a2541ede93c4f8cb543c05edf90b694def67b1a6a' self.container_name = '' self.endpoint = '' self.host = '' diff --git a/test/runner/lib/cloud/vcenter.py b/test/runner/lib/cloud/vcenter.py index 43fb4f2bf0b..3515cbb59b6 100644 --- a/test/runner/lib/cloud/vcenter.py +++ b/test/runner/lib/cloud/vcenter.py @@ -39,7 +39,8 @@ class VcenterProvider(CloudProvider): """ super(VcenterProvider, self).__init__(args, config_extension='.ini') - self.image = 'ansible/ansible:vcenter-simulator' + # The simulator must be pinned to a specific version to guarantee CI passes with the version used. + self.image = 'ansible/ansible:vcenter-simulator@sha256:1a92e84f477ae4c45f9070a5419a0fc2b46abaecdb5bc396826741bca65ce028' self.container_name = '' def filter(self, targets, exclude):