From 266573f45661ef358aeea289ad5a0b670d83f255 Mon Sep 17 00:00:00 2001 From: Ricardo Hernandez-Montoya Date: Fri, 30 Jun 2017 10:58:14 +0200 Subject: [PATCH] pip upgrade, install specific docker-compose version --- .gitlab-ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 760ecba..f485b78 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,7 @@ variables: GIT_SUBMODULE_STRATEGY: normal + DOCKER_COMPOSE_VERSION: 1.14.0 + PY_DOCKER_VERSION: 2.4.2 CI: "true" cache: @@ -51,8 +53,9 @@ deploy_review: DOCKER_CERT_PATH: "certs" before_script: - apk add --no-cache py-pip - - pip install docker-compose - - pip install -U docker==2.4.2 + - pip install --upgrade pip + - pip install docker-compose==$DOCKER_COMPOSE_VERSION + - pip install -U docker==$PY_DOCKER_VERSION - mkdir -p $DOCKER_CERT_PATH - echo "$DEPLOYMENT_CACERT" > $DOCKER_CERT_PATH/ca.pem - echo "$DEPLOYMENT_CLIENT_CERT" > $DOCKER_CERT_PATH/cert.pem