gitlab-ci: update for newer GitLab

We now have resource_groups, and environment.name. We don't yet have
environment.deployment_tier, though, but that can live in the base template and
be enabled once Heptapod is at GitLab 13.10.
This commit is contained in:
Luke Granger-Brown 2021-03-28 01:31:35 +00:00
parent 701ab955af
commit ca02dda602

View file

@ -28,79 +28,129 @@ nixCache:
artifacts: true artifacts: true
tags: tags:
- deployer - deployer
# environment:
# deployment_tier: production
marukuru: marukuru:
extends: .deploy extends: .deploy
#resource_group: marukuru resource_group: marukuru
script: './hack/deploy.sh "marukuru" "-p 20022"' script: './hack/deploy.sh "marukuru" "-p 20022"'
environment:
name: marukuru
clouvider-fra01: clouvider-fra01:
extends: .deploy extends: .deploy
#resource_group: clouvider-fra01 resource_group: clouvider-fra01
script: './hack/deploy.sh "clouvider-fra01" ""' script: './hack/deploy.sh "clouvider-fra01" ""'
environment:
name: clouvider-fra01
kusakabe: kusakabe:
extends: .deploy extends: .deploy
#resource_group: kusakabe resource_group: kusakabe
script: './hack/deploy.sh "kusakabe" ""' script: './hack/deploy.sh "kusakabe" ""'
environment:
name: kusakabe
clouvider-lon01: clouvider-lon01:
extends: .deploy extends: .deploy
resource_group: clouvider-lon01
script: './hack/deploy.sh "clouvider-lon01" ""' script: './hack/deploy.sh "clouvider-lon01" ""'
environment:
name: clouvider-lon01
totoro: totoro:
extends: .deploy extends: .deploy
resource_group: totoro
script: './hack/deploy.sh "totoro" ""' script: './hack/deploy.sh "totoro" ""'
environment:
name: totoro
swann: swann:
extends: .deploy extends: .deploy
resource_group: swann
script: './hack/deploy.sh "swann" ""' script: './hack/deploy.sh "swann" ""'
environment:
name: swann
etheroute-lon01: etheroute-lon01:
extends: .deploy extends: .deploy
resource_group: etheroute-lon01
script: './hack/deploy.sh "etheroute-lon01" ""' script: './hack/deploy.sh "etheroute-lon01" ""'
environment:
name: etheroute-lon01
blade-janeway: blade-janeway:
extends: .deploy extends: .deploy
resource_group: blade-janeway
script: './hack/deploy.sh "blade-janeway" ""' script: './hack/deploy.sh "blade-janeway" ""'
environment:
name: blade-janeway
# chakotay and kim are not autodeployed because they're usually off. # chakotay and kim are not autodeployed because they're usually off.
#blade-chakotay: #blade-chakotay:
# extends: .deploy # extends: .deploy
# resource_group: blade-chakotay
# script: './hack/deploy.sh "blade-chakotay" ""' # script: './hack/deploy.sh "blade-chakotay" ""'
# environment:
# name: blade-chakotay
# #
#blade-kim: #blade-kim:
# extends: .deploy # extends: .deploy
# resource_group: blade-kim
# script: './hack/deploy.sh "blade-kim" ""' # script: './hack/deploy.sh "blade-kim" ""'
# environment:
# name: blade-kim
# paris and tuvok are not autodeployed because they are the routers, and I don't trust myself # paris and tuvok are not autodeployed because they are the routers, and I don't trust myself
#blade-paris: #blade-paris:
# extends: .deploy # extends: .deploy
# resource_group: blade-paris
# script: './hack/deploy.sh "blade-paris" ""' # script: './hack/deploy.sh "blade-paris" ""'
# environment:
# name: blade-paris
# #
#blade-tuvok: #blade-tuvok:
# extends: .deploy # extends: .deploy
# resource_group: blade-tuvok
# script: './hack/deploy.sh "blade-tuvok" ""' # script: './hack/deploy.sh "blade-tuvok" ""'
# environment:
# name: blade-tuvok
blade-torres: blade-torres:
extends: .deploy extends: .deploy
resource_group: blade-torres
script: './hack/deploy.sh "blade-torres" ""' script: './hack/deploy.sh "blade-torres" ""'
environment:
name: blade-torres
bvm-nixosmgmt: bvm-nixosmgmt:
extends: .deploy extends: .deploy
resource_group: bvm-nixosmgmt
script: './hack/deploy.sh "bvm-nixosmgmt" ""' script: './hack/deploy.sh "bvm-nixosmgmt" ""'
environment:
name: bvm-nixosmgmt
frantech-las01: frantech-las01:
extends: .deploy extends: .deploy
resource_group: frantech-las01
script: './hack/deploy.sh "frantech-las01" ""' script: './hack/deploy.sh "frantech-las01" ""'
environment:
name: frantech-las01
frantech-lux01: frantech-lux01:
extends: .deploy extends: .deploy
resource_group: frantech-lux01
script: './hack/deploy.sh "frantech-lux01" ""' script: './hack/deploy.sh "frantech-lux01" ""'
environment:
name: frantech-lux01
frantech-nyc01: frantech-nyc01:
extends: .deploy extends: .deploy
resource_group: frantech-nyc01
script: './hack/deploy.sh "frantech-nyc01" ""' script: './hack/deploy.sh "frantech-nyc01" ""'
environment:
name: frantech-nyc01
docker-push: docker-push:
stage: deploy stage: deploy