Commit 5358a362 authored by André Anjos's avatar André Anjos 💬

[test] Homogenize indentation

parent ef8e5d9f
Pipeline #27133 passed with stage
in 18 minutes and 32 seconds
......@@ -104,12 +104,12 @@ def setup_package():
if installed_tag == ('%s:%s' % (image, tag)):
has_image = True
if not has_image: #must pull (network connection required)
token = os.environ.get('CI_BUILD_TOKEN')
params = (image, tag)
if token is not None: #running on CI, setup
auth_config = dict(username='gitlab-ci-token', password=token)
params += (auth_config,)
client.images.pull(*params)
token = os.environ.get('CI_BUILD_TOKEN')
params = (image, tag)
if token is not None: #running on CI, setup
auth_config = dict(username='gitlab-ci-token', password=token)
params += (auth_config,)
client.images.pull(*params)
if DOCKER_NETWORK_TEST_ENABLED:
try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment