From c2b8a792e2ab28a9d1bde18de5f475ee34023dfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Thu, 13 Jul 2017 13:30:32 +0100 Subject: .gitlab-ci.yml: Use specific version of ybd instead latest master --- .gitlab-ci.yml | 5 +++-- 1 file 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 -- cgit v1.2.1