summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorkwadronaut <kwadronaut@leap.se>2018-04-22 15:20:38 +0200
committerkwadronaut <kwadronaut@leap.se>2018-05-28 15:36:13 +0200
commit1de4fe1de57387ca937055257bee5b5b176bae69 (patch)
tree9063332b106c8ee5b4bd638182bce7c49d158d32 /.gitlab-ci.yml
parent09031d90055e80c8101f06951b824f5c7fa96e14 (diff)
CI use a stretch image
'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. Fixes #8920 Related #8916
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml27
1 files changed, 25 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8656104a..d9b79c8e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -40,15 +40,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: