URL: https://github.com/freeipa/freeipa/pull/2673
Author: netoarmando
 Title: #2673: [WIP] Move docker pull call to before_install block
Action: opened

PR body:
"""
Travis seems to be failing to pull the Docker image from Docker Hub. I'm 
following Travis guide to test if this could fix it.

More info: https://docs.travis-ci.com/user/docker/
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/2673/head:pr2673
git checkout pr2673
From 05001c4b88de640a10f5b3e98c43847568d6b9be Mon Sep 17 00:00:00 2001
From: Armando Neto <abiag...@redhat.com>
Date: Tue, 11 Dec 2018 20:32:06 -0200
Subject: [PATCH] Move docker pull call to before_install block

Signed-off-by: Armando Neto <abiag...@redhat.com>
---
 .travis.yml         | 1 +
 .travis_run_task.sh | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 126fced23a..f790666a46 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -47,6 +47,7 @@ before_install:
     - ls /proc/net
     - cat /proc/net/if_inet6
 #    - ip addr show dev lo | grep -q inet6 || (echo "No IPv6 address found"; exit 1)
+    - docker pull $TEST_RUNNER_IMAGE
 
 install:
     - pip3 install --upgrade pip
diff --git a/.travis_run_task.sh b/.travis_run_task.sh
index 85a79f2d36..b121d9095f 100755
--- a/.travis_run_task.sh
+++ b/.travis_run_task.sh
@@ -45,8 +45,6 @@ then
     popd
 fi
 
-docker pull $TEST_RUNNER_IMAGE
-
 ipa-docker-test-runner -l $CI_RESULTS_LOG \
     -c $TEST_RUNNER_CONFIG \
     $developer_mode_opt \
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/freeipa-devel@lists.fedorahosted.org

Reply via email to