summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Firth <dan.firth@codethink.co.uk>2016-12-09 12:15:25 +0000
committerDaniel Firth <dan.firth@codethink.co.uk>2016-12-09 12:15:25 +0000
commit8fc82e3bd330f448fdda9c2cfbcc439a9f0ba05f (patch)
treef10125297d938443c3691206adf96e5ffac446c3
parent08958c0a34ab565b47957939821f4f95cc7106ce (diff)
downloaddefinitions-staging/fy.tar.gz
Try staging/fromybdstaging/fy
-rw-r--r--.gitlab-ci.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 82241d2f..e8bcd543 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,7 +3,8 @@ image: python:2.7-slim
before_script:
- export LC_ALL="C.UTF-8"
- apt-get update -qq && apt-get install -y -qq git
- - git clone https://gitlab.com/baserock/ybd.git
+ - export $CI_YBD_BRANCH=([[ "$CI_BUILD_REF_NAME" =~ ^staging/fromybd/ ]] && echo "-b $CI_BUILD_REF_NAME" | sed -e 's|^staging/fromybd/||')
+ - git clone https://gitlab.com/baserock/ybd.git $CI_YBD_BRANCH
- cd ybd && ./install_dependencies.sh && cd ..
build-system-x86_64-chroot-build: