File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,11 +30,9 @@ before_install:
3030 # - sudo apt-get install curl
3131 # All files in this folder will be cached for the next build
3232 - mkdir -p $CACHE_DIR
33- # Login to the Docker-Registry
34- - if [ ! -f $CACHE_FILE_APIM ]; then docker login --username $AXWAY_DOCKER_REG_USER --password $AXWAY_DOCKER_REG_PASS docker-registry.demo.axway.com; fi
3533 # Downloading the APIM-Docker-Image takes too long (Timeout 10 minutes) - Externalized to make use of travis_wait
3634 # In this script, we are either using the cached version or download a new Docker-Image
37- - travis_wait build/pull_apim_docker_image.sh $CACHE_FILE_APIM
35+ - travis_wait build/pull_apim_docker_image.sh
3836 # Now it's time to safe the downloaded API-Management Docker-Image into the cache folder
3937 - if [ ! -f $CACHE_FILE_APIM ]; then docker save $APIM_DOCKER_IMAGE | gzip > $CACHE_FILE_APIM; fi
4038 # Pull Cassandra Image or use the cache
Original file line number Diff line number Diff line change 11#! /bin/sh
22
3+ set -x
4+
35if [ -f $CACHE_FILE_APIM -a ! $SKIP_CACHE = " true" ]
46then
57 echo " Loading API-Manager docker image: $APIM_DOCKER_IMAGE from $CACHE_FILE_APIM "
68 gunzip -c $CACHE_FILE_APIM | docker load
79else
810 echo " Pulling APIM docker from registry, this will take a while"
11+ docker login --username $AXWAY_DOCKER_REG_USER --password $AXWAY_DOCKER_REG_PASS docker-registry.demo.axway.com
912 docker pull $APIM_DOCKER_IMAGE
1013fi
You can’t perform that action at this time.
0 commit comments