ci: make sure bash is installed
This commit is contained in:
parent
d46055042f
commit
bf68aa670b
1 changed files with 9 additions and 2 deletions
|
@ -1,8 +1,14 @@
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
|
||||||
|
variables:
|
||||||
|
NIX: "nix --extra-experimental-features 'nix-command flakes'"
|
||||||
|
|
||||||
|
.scripts_base: &scripts_base
|
||||||
|
- $NIX profile install nixpkgs#bash
|
||||||
|
|
||||||
.scripts_cache: &scripts_cache
|
.scripts_cache: &scripts_cache
|
||||||
- nix --extra-experimental-features 'nix-command flakes' profile install nixpkgs#attic-client
|
- $NIX 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
|
||||||
|
|
||||||
|
@ -10,6 +16,7 @@ handovers:
|
||||||
tags:
|
tags:
|
||||||
- nix
|
- nix
|
||||||
before_script:
|
before_script:
|
||||||
|
- *scripts_base
|
||||||
- *scripts_cache
|
- *scripts_cache
|
||||||
stage: build
|
stage: build
|
||||||
|
|
||||||
|
@ -23,7 +30,7 @@ handovers:
|
||||||
script:
|
script:
|
||||||
# cache any dependencies
|
# cache any dependencies
|
||||||
- attic watch-store skynet-cache &
|
- attic watch-store skynet-cache &
|
||||||
- nix --experimental-features 'nix-command flakes' run .#handovers
|
- $NIX run .#handovers
|
||||||
|
|
||||||
# what it does afterwards
|
# what it does afterwards
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
Loading…
Reference in a new issue