1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Pin docker simulator versions.

This commit is contained in:
Matt Clay 2017-10-02 12:08:56 -07:00
parent 1241d0a3f4
commit c055795e02
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') 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.container_name = ''
self.endpoint = '' self.endpoint = ''
self.host = '' self.host = ''

View file

@ -39,7 +39,8 @@ class VcenterProvider(CloudProvider):
""" """
super(VcenterProvider, self).__init__(args, config_extension='.ini') 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 = '' self.container_name = ''
def filter(self, targets, exclude): def filter(self, targets, exclude):