gitlab-ci: just inline the variables

This commit is contained in:
Luke Granger-Brown 2020-05-10 00:06:29 +01:00
parent 2f7e50cc35
commit 818751bac1

View file

@ -15,27 +15,17 @@ nixCache:
.deploy:
stage: deploy
variables:
SSH_ARGS: ''
script: './hack/deploy.sh "$DEPLOY_TO" "$SSH_ARGS"'
tags:
- deployer
ixvm-fra01:
extends: .deploy
variables:
# TODO(lukegb): DNS...
DEPLOY_TO: "141.98.136.124"
script: './hack/deploy.sh "141.98.136.124" ""'
marukuru:
extends: .deploy
variables:
# TODO(lukegb): DNS...
DEPLOY_TO: "2402:28c0:4:104e::1"
SSH_ARGS: "-p 20022"
script: './hack/deploy.sh "2402:28c0:4:104e::1" "-p 20022"'
clouvider-fra01:
extends: .deploy
variables:
# TODO(lukegb): DNS...
DEPLOY_TO: "193.228.196.57"
script: './hack/deploy.sh "193.228.196.57" ""'