ci: just skip using vars, maybe look into alias in the future?

This commit is contained in:
silver 2024-05-12 14:03:22 +01:00 committed by Brendan Golden
parent 5f6704f8aa
commit 3ff86cad0a
Signed by untrusted user: silver
GPG key ID: 54E2C71918E93B74

View file

@ -1,14 +1,11 @@
stages: stages:
- build - build
variables:
NIX: nix --extra-experimental-features 'nix-command flakes'
.scripts_base: &scripts_base .scripts_base: &scripts_base
- $NIX profile install nixpkgs#bash - nix --extra-experimental-features 'nix-command flakes' profile install nixpkgs#bash
.scripts_cache: &scripts_cache .scripts_cache: &scripts_cache
- $NIX profile install nixpkgs#attic-client - nix --extra-experimental-features 'nix-command flakes' profile install nixpkgs#attic-client
- attic login skynet https://nix-cache.skynet.ie/ $CACHE_KEY - attic login skynet https://nix-cache.skynet.ie/ $CACHE_KEY
- attic use skynet-cache - attic use skynet-cache
@ -30,7 +27,7 @@ handovers:
script: script:
# cache any dependencies # cache any dependencies
- attic watch-store skynet-cache & - attic watch-store skynet-cache &
- $NIX run .#handovers - nix --extra-experimental-features 'nix-command flakes' run .#handovers
# what it does afterwards # what it does afterwards
artifacts: artifacts: