gitlab-ci: switch to using The Socket

This commit is contained in:
Luke Granger-Brown 2022-10-10 00:50:09 +01:00
parent 75b39cfbf7
commit 730f157cb1

View file

@ -25,9 +25,7 @@ let
script = [
"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\""
"sleep 10" # give sqlite some time to sync :(
"cp /nix/var/nix/db/db.sqlite* ./"
"GOOGLE_APPLICATION_CREDENTIALS=$HOME/sa.json nix run -f ./ go.nix.bcacheup -c bcacheup --cache_url gs://lukegb-nix-cache --nix_store_db ./db.sqlite ./result"
"GOOGLE_APPLICATION_CREDENTIALS=$HOME/sa.json nix run -f ./ go.nix.bcacheup -c bcacheup --cache_url gs://lukegb-nix-cache ./result"
"cat ./result/other-systemPathJSON > systems.json"
];
artifacts = {