summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2017-01-28 18:59:09 (GMT)
committerJavier Jardón <jjardon@gnome.org>2017-01-29 00:45:24 (GMT)
commitd7651d1c27dc3ac93d127a96a5922b33acae1c8e (patch)
tree919e25c98f43e9b3834d0e542a037d7e97bca271
parent079319075460062ea3cd6c500716c55a8478adf4 (diff)
downloaddefinitions-staging/jjardon/change_docker_image2.tar.gz
.gitlab-ci.yml: Use Debian:jessie docker image instead python:2.7-slimstaging/jjardon/change_docker_image2
python:2.7-slim install python in /usr/local/bin instead /usr/bin, which is making deployment extensions to fail as they expect python to be in /usr/bin/python
-rw-r--r--.gitlab-ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c7f8a27..c09d670 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,4 @@
-image: python:2.7-slim
+image: debian:stretch
stages:
- validate
@@ -9,7 +9,7 @@ stages:
before_script:
- export LC_ALL="C.UTF-8"
- - apt-get update -qq && apt-get install -y -qq git
+ - apt-get update -qq && apt-get install -y -qq git python-dev
- export CI_YBD_BRANCH=`[[ "$CI_BUILD_REF_NAME" =~ ^staging/fromybd/ ]] && echo -b ${CI_BUILD_REF_NAME#staging/fromybd/}`
- git clone https://gitlab.com/baserock/spec.git
- git clone https://gitlab.com/baserock/ybd.git $CI_YBD_BRANCH