forked from Computer_Society/open-goverance
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:
|
||||
- build
|
||||
|
||||
variables:
|
||||
NIX: "nix --extra-experimental-features 'nix-command flakes'"
|
||||
|
||||
.scripts_base: &scripts_base
|
||||
- $NIX profile install nixpkgs#bash
|
||||
|
||||
.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 use skynet-cache
|
||||
|
||||
|
@ -10,6 +16,7 @@ handovers:
|
|||
tags:
|
||||
- nix
|
||||
before_script:
|
||||
- *scripts_base
|
||||
- *scripts_cache
|
||||
stage: build
|
||||
|
||||
|
@ -23,7 +30,7 @@ handovers:
|
|||
script:
|
||||
# cache any dependencies
|
||||
- attic watch-store skynet-cache &
|
||||
- nix --experimental-features 'nix-command flakes' run .#handovers
|
||||
- $NIX run .#handovers
|
||||
|
||||
# what it does afterwards
|
||||
artifacts:
|
||||
|
|
Loading…
Reference in a new issue