Merge pull request #629 from kubernetes-incubator/fix-download-once

Fix download once
This commit is contained in:
Bogdan Dobrelya
2016-11-21 10:55:54 +01:00
committed by GitHub
4 changed files with 74 additions and 15 deletions

View File

@@ -1,4 +1,7 @@
sudo: false
sudo: required
services:
- docker
git:
depth: 5
@@ -6,6 +9,7 @@ git:
env:
global:
GCE_USER=travis
LOG_LEVEL=-v
SSH_USER=$GCE_USER
TEST_ID=$TRAVIS_JOB_NUMBER
CONTAINER_ENGINE=docker
@@ -117,11 +121,14 @@ before_install:
# W/A https://github.com/ansible/ansible-modules-core/issues/5196#issuecomment-253766186
- pip install --user apache-libcloud==0.20.1
- pip install --user boto==2.9.0 -U
# Load cached docker images
- if [ -d /var/tmp/releases ]; then find /var/tmp/releases -type f -name "*.tar" | xargs -I {} sh -c "zcat {} | docker load"; fi
cache:
- directories:
- $HOME/.cache/pip
- $HOME/.local
- /var/tmp/releases
before_script:
- echo "RUN $TRAVIS_JOB_NUMBER $KUBE_NETWORK_PLUGIN $CONTAINER_ENGINE "
@@ -154,6 +161,9 @@ script:
-b --become-user=root -e cloud_provider=gce $LOG_LEVEL -e kube_network_plugin=${KUBE_NETWORK_PLUGIN}
-e bootstrap_os=${BOOTSTRAP_OS}
-e ansible_python_interpreter=${PYPATH}
-e download_run_once=true
-e download_localhost=true
-e local_release_dir=/var/tmp/releases
cluster.yml
# Tests Cases