From 5db1d1a881633b7fc14abea02d23d0f047c1f08e Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Mon, 2 Oct 2017 12:08:56 -0700 Subject: [PATCH] Pin docker simulator versions. (cherry picked from commit c055795e020d021f74adca96eccc8b0779e77969) --- test/runner/lib/cloud/cs.py | 3 ++- test/runner/lib/cloud/vcenter.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/runner/lib/cloud/cs.py b/test/runner/lib/cloud/cs.py index 5f6950b42c..b3a0d9fa96 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 cd312b9859..91a253ca63 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):