Commit b78bad6a authored by locallycompact-ct's avatar locallycompact-ct Committed by GitLab

Add shortcut for checking ybd branches.

Branches that follow the pattern "staging/fromybd/$1" will `git checkout ybd -b $1`
parent 6ded8a72
Pipeline #5359036 passed with stages
in 40 minutes and 46 seconds
......@@ -9,7 +9,8 @@ stages:
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#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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment