From 1664554b4a917ed5652d4fc778eeec1d38c67494 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Tue, 3 Apr 2018 20:25:04 +0200 Subject: [PATCH] Unrandomize docker registry selection stick with quay for now --- test/runner/lib/cloud/foreman.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/runner/lib/cloud/foreman.py b/test/runner/lib/cloud/foreman.py index 9bce0370ceb..cc096a41ab5 100644 --- a/test/runner/lib/cloud/foreman.py +++ b/test/runner/lib/cloud/foreman.py @@ -4,7 +4,6 @@ from __future__ import absolute_import, print_function import os -import random from . import ( CloudProvider, @@ -53,6 +52,8 @@ class ForemanProvider(CloudProvider): https://github.com/ansible/foreman-test-container """ + DOCKER_REGISTRY = 'quay' + def __init__(self, args): """Set up container references for provider. @@ -76,7 +77,7 @@ class ForemanProvider(CloudProvider): # to guarantee CI passes with the version used: '{registry_url}/{img_name}:{img_tag}' ).format( - **(image_src or random.choice(self.DOCKER_IMAGES)) + **(image_src or self.DOCKER_IMAGES[self.DOCKER_REGISTRY]) ) self.container_name = ''