depot/.gitlab-ci.yml

32 lines
758 B
YAML
Raw Normal View History

stages:
- build
- deploy
2020-05-08 16:48:34 +00:00
nixCache:
stage: build
2020-05-08 16:48:34 +00:00
image: "nixos/nix:latest"
script:
- "./hack/populate_secrets.sh"
- "nix build -v -f ./ci-root.nix --substituters \"https://cache.nixos.org s3://lukegb-nix-cache?endpoint=storage.googleapis.com&trusted=1\""
- "nix copy -v --to 's3://lukegb-nix-cache?endpoint=storage.googleapis.com' ./result"
.deploy:
stage: deploy
tags:
- deployer
ixvm-fra01:
extends: .deploy
2020-05-09 23:13:35 +00:00
#resource_group: ixvm-fra01
2020-05-09 23:06:29 +00:00
script: './hack/deploy.sh "141.98.136.124" ""'
2020-05-09 23:01:47 +00:00
marukuru:
extends: .deploy
2020-05-09 23:13:35 +00:00
#resource_group: marukuru
2020-05-09 23:09:33 +00:00
script: './hack/deploy.sh "103.105.48.15" "-p 20022"'
2020-05-09 23:01:47 +00:00
clouvider-fra01:
extends: .deploy
2020-05-09 23:13:35 +00:00
#resource_group: clouvider-fra01
2020-05-09 23:06:29 +00:00
script: './hack/deploy.sh "193.228.196.57" ""'