Pin docker simulator versions.

(cherry picked from commit c055795e02)
This commit is contained in:
Matt Clay 2017-10-02 12:08:56 -07:00
parent d2c11a1b00
commit 5db1d1a881
2 changed files with 4 additions and 2 deletions

View file

@ -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 = ''

View file

@ -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):