diff options
author | Javier Jardón <jjardon@gnome.org> | 2017-01-28 18:59:09 +0000 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2017-01-29 01:30:00 +0000 |
commit | 739963b2fd2a6136095ed9cbf209e3665330b050 (patch) | |
tree | 919e25c98f43e9b3834d0e542a037d7e97bca271 | |
parent | 079319075460062ea3cd6c500716c55a8478adf4 (diff) | |
download | definitions-739963b2fd2a6136095ed9cbf209e3665330b050.tar.gz |
.gitlab-ci.yml: Use debian:stretch docker image instead python:2.7-slimstaging/jjardon/change_docker_image
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.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c7f8a271..c09d670b 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 |