stages: - build - deploy nixCache: stage: build image: "nixos/nix:latest" only: - disabled_while_iterating script: - "mkdir -p ops/secrets" - "cp ${OPS_SECRETS_DEFAULT_NIX} ops/secrets/default.nix" - "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 script: './hack/deploy.sh "141.98.136.124" ""' marukuru: extends: .deploy script: './hack/deploy.sh "2402:28c0:4:104e::1" "-p 20022"' clouvider-fra01: extends: .deploy script: './hack/deploy.sh "193.228.196.57" ""'