From 3e472871eb043afe51e6dec71e0b672d597c3ab1 Mon Sep 17 00:00:00 2001 From: Daniel Firth Date: Fri, 9 Dec 2016 12:09:20 +0000 Subject: Try staging/fromybd --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 82241d2f..e53f0b0f 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 "$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 $YBD_BRANCH - cd ybd && ./install_dependencies.sh && cd .. build-system-x86_64-chroot-build: -- cgit v1.2.1