ci: improve teh pipeline

This commit is contained in:
silver 2024-07-20 14:12:03 +01:00
parent 5c6939bc83
commit ed4dcbc756
Signed by: silver
GPG key ID: 54E2C71918E93B74

View file

@ -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