ci: improve teh pipeline
This commit is contained in:
parent
5c6939bc83
commit
ed4dcbc756
1 changed files with 5 additions and 1 deletions
|
@ -70,6 +70,10 @@ sync_repos:
|
|||
- nix --extra-experimental-features 'nix-command flakes' profile install nixpkgs#attic-client
|
||||
- attic login skynet https://nix-cache.skynet.ie/ $CACHE_KEY
|
||||
- attic use skynet-cache
|
||||
# make sure everything locally is in teh cache
|
||||
- attic push skynet-cache /run/current-system
|
||||
# add any new items to the cache
|
||||
- attic watch-store skynet-cache &
|
||||
|
||||
# every commit on main will build and deploy
|
||||
.build_template: &builder
|
||||
|
@ -117,7 +121,7 @@ build:
|
|||
<<: *builder
|
||||
stage: test
|
||||
script:
|
||||
- attic watch-store skynet-cache &
|
||||
- nix --extra-experimental-features 'nix-command flakes' develop
|
||||
- colmena build -v --on @active-dns
|
||||
- colmena build -v --on @active-core
|
||||
- colmena build -v --on @active
|
||||
|
|
Loading…
Reference in a new issue