gitlab-ci: add systems.json to pipeline artifacts

This commit is contained in:
Luke Granger-Brown 2021-03-20 02:36:59 +00:00
parent 627c8bf17c
commit 713c2e755b

View file

@ -13,6 +13,11 @@ nixCache:
- "nix run -f ./ third_party.nixpkgs.bash -c ./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"
- "cat ./result/other-systemPathJSON > systems.json"
artifacts:
paths:
- systems.json
expire_in: '30 days'
tags: tags:
- cacher - cacher