Skip to content
Snippets Groups Projects
Verified Commit a3fc4340 authored by Varac's avatar Varac
Browse files

[CI] Use CI_JOB_NAME to determine what action to take

parent c2cc39e6
Branches
Tags
No related merge requests found
...@@ -149,16 +149,16 @@ set +x ...@@ -149,16 +149,16 @@ set +x
# Enable xtrace again only if it was set at beginning of script # Enable xtrace again only if it was set at beginning of script
[[ $xtrace == true ]] && set -x [[ $xtrace == true ]] && set -x
case "$CI_ENVIRONMENT_NAME" in case "$CI_JOB_NAME" in
staging) ci.leap.se)
TAG='latest' TAG='latest'
run ibex ssh://gitolite@leap.se/ibex run ibex ssh://gitolite@leap.se/ibex
;; ;;
production/demo/mail) mail.bitmask.net)
TAG='demomail' TAG='demomail'
run bitmask ssh://gitolite@leap.se/bitmask run bitmask ssh://gitolite@leap.se/bitmask
;; ;;
production/demo/vpn) demo.bitmask.net)
TAG='demovpn' TAG='demovpn'
run bitmask ssh://gitolite@leap.se/bitmask run bitmask ssh://gitolite@leap.se/bitmask
;; ;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment