summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkwadronaut <kwadronaut@leap.se>2018-04-22 15:44:03 +0200
committerVarac <varac@leap.se>2018-06-12 16:37:52 +0200
commit4d2ef8694cbb3f7e29b48dc8e36e9ee7c0768ddc (patch)
tree40a7bcc30323b752fb4fef047f9508fb93109da0
parent8f1e528db6f3cdddef8890e1ee4209a4df5490df (diff)
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
-rw-r--r--.gitlab-ci.yml27
1 files 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: