diff options
author | Varac <varac@leap.se> | 2017-09-28 20:12:08 +0200 |
---|---|---|
committer | Varac <varac@leap.se> | 2017-09-28 21:06:03 +0200 |
commit | d9d38bb283ff1c94cbf4bd488175cb77ae3fa3a4 (patch) | |
tree | 035b52e878a97b85887650dc5e952dbd718e4dcc /.gitlab-ci.yml | |
parent | 1848c4c1f580ede26695a4731e280bc40d88f9a3 (diff) |
CI: Test staging deb repo component
Resolves: #8871
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 00dcb2b5..a7a79d11 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -51,13 +51,20 @@ catalog: script: - su -c '/usr/local/bin/bundle exec rake catalog' cirunner -deploy_test: +deploy_test:master: stage: deploy except: - master script: - su -c 'set -o pipefail; stdbuf -oL -eL ./ci-build.sh | ts' cirunner +deploy_test:staging: + stage: deploy + variables: + COMPONENT: "staging" + script: + - su -c 'set -o pipefail; stdbuf -oL -eL ./ci-build.sh | ts' cirunner + # However, sometimes it's important to have a way of triggering a deploy # from scratch manually even from the master branch, when i.e. new packages # got uploaded to the master component of the platform deb repo. |