diff options
-rw-r--r-- | .gitlab-ci.yml | 5 |
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 |