CI: Test staging deb repo component
[leap_platform.git] / .gitlab-ci.yml
index 00dcb2b..a7a79d1 100644 (file)
@@ -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.