1 .test-octocatalog: &test-octocatalog
5 - unset BUNDLER_VERSION BUNDLE_APP_CONFIG BUNDLE_BIN BUNDLE_PATH GEM_HOME
7 - git config --global user.name "Your Name"
8 - git config --global user.email "you@example.com"
11 - apt-get install -y cmake libldap-dev libsasl2-dev
12 - bundle install --binstubs bin --with octocatalog
14 - git branch -f base $REF_BASE
15 - git branch -f test $CI_BUILD_REF
17 - echo -n "$R10K" > r10k.yaml
18 - bundle exec r10k deploy environment --verbose debug base test
19 - spec/octocatalog/init-system
20 - spec/octocatalog/init-env base test
21 - spec/octocatalog/run-octocatalog base test
23 test-octocatalog/master:
30 REF_BASE: origin/master
35 remote: '$CI_PROJECT_DIR'
36 basedir: 'environments'