From ed4dcbc75603ff3c9ddf4022ee143d11d9b475e8 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sat, 20 Jul 2024 14:12:03 +0100 Subject: [PATCH] ci: improve teh pipeline --- .gitlab-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 319bd66..2e05fae 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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