gitlab-ci: RAAAARGH

This commit is contained in:
Luke Granger-Brown 2020-05-10 02:32:05 +01:00
parent bcdb449269
commit f994f155cd
2 changed files with 2 additions and 3 deletions

View file

@ -6,7 +6,7 @@ nixCache:
stage: build stage: build
image: "nixos/nix:latest" image: "nixos/nix:latest"
script: script:
- "./hack/populate_secrets.sh" - "nix run -f ./ third_party.nixpkgs.bash -c ./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 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" - "nix copy -v --to 's3://lukegb-nix-cache?endpoint=storage.googleapis.com' ./result"

View file

@ -1,5 +1,4 @@
#!/usr/bin/env nix-shell #!/usr/bin/env bash
#!nix-shell -p bash -i bash
set -eu set -eu