summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2017-07-13 13:30:32 +0100
committerJavier Jardón <jjardon@gnome.org>2017-07-13 13:30:32 +0100
commitc2b8a792e2ab28a9d1bde18de5f475ee34023dfb (patch)
treee9a8ea6472d7f4b2c54c58a8a7b0d17c39d30327
parent999aad38acb9e11435d4a4313db4589defe19eb7 (diff)
downloaddefinitions-c2b8a792e2ab28a9d1bde18de5f475ee34023dfb.tar.gz
.gitlab-ci.yml: Use specific version of ybd instead latest master
-rw-r--r--.gitlab-ci.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3b1a0850..2aafab35 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,7 @@
image: debian:stretch
variables:
+ YBD_SHA: '7135c51af946aff8f304252d77994ac613a93038'
YBD_base: "/cache/ybd_base"
stages:
@@ -13,9 +14,9 @@ stages:
before_script:
- export LC_ALL="C.UTF-8"
- 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
+ - git clone https://gitlab.com/baserock/ybd.git
+ - cd ybd && git checkout $YBD_SHA && cd ..
- cd ybd && ./install_dependencies.sh && cd ..
- pip install -r spec/requirements.txt