From 4d2ef8694cbb3f7e29b48dc8e36e9ee7c0768ddc Mon Sep 17 00:00:00 2001 From: kwadronaut Date: Sun, 22 Apr 2018 15:44:03 +0200 Subject: CI update gitlab to test on stretch 'deploy_test:jessie:master' will deploy to jessie, the packages that are in the 'master' debian repository (stable), the 'except master, stretch' will tell it to not deploy when something to these branches is pushed. - Related 8916 --- .gitlab-ci.yml | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a7a79d11..2160d0cd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -51,15 +51,38 @@ catalog: script: - su -c '/usr/local/bin/bundle exec rake catalog' cirunner -deploy_test:master: +deploy_test:jessie:master: stage: deploy except: - master + - stretch script: - su -c 'set -o pipefail; stdbuf -oL -eL ./ci-build.sh | ts' cirunner -deploy_test:staging: +deploy_test:jessie:staging: stage: deploy + except: + - stretch + variables: + COMPONENT: "staging" + script: + - su -c 'set -o pipefail; stdbuf -oL -eL ./ci-build.sh | ts' cirunner + +deploy_test:stretch:master: + image: 0xacab.org:4567/leap/docker/ruby:stretch_amd64 + stage: deploy + only: + - stretch + allow_failure: true + script: + - su -c 'set -o pipefail; stdbuf -oL -eL ./ci-build.sh | ts' cirunner + +deploy_test:stretch:staging: + image: 0xacab.org:4567/leap/docker/ruby:stretch_amd64 + stage: deploy + only: + - stretch + allow_failure: true variables: COMPONENT: "staging" script: -- cgit v1.2.3