Commit 26fd2b56727c

Vincent Demeester <vincent@sbr.pm>
2020-06-06 18:05:07
builds: reduce the number of builds
dry-run all system and build only the servers, removing hokkaido and wakasu builds. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 447ea6b
.builds/nix-systems-hokkaido.yml
@@ -1,17 +0,0 @@
-image: nixos/20.03
-secrets:
-  - 0818d60d-b587-4d4e-81d8-dc15072ccb97
-tasks:
-- setup: |
-    nix-env -iA cachix -f https://cachix.org/api/v1/install
-    cachix use shortbrain
-- systems: |
-    set -euo pipefail
-    set +x
-    export CACHIX_SIGNING_KEY=$(cat ~/.cachix.key)
-    set -x
-    nix-build home -A hokkaido
-triggers:
-- action: email
-  condition: failure
-  to: vincent@sbr.pm
.builds/nix-systems-wakasu.yml
@@ -1,17 +0,0 @@
-image: nixos/20.03
-secrets:
-  - 0818d60d-b587-4d4e-81d8-dc15072ccb97
-tasks:
-- setup: |
-    nix-env -iA cachix -f https://cachix.org/api/v1/install
-    cachix use shortbrain
-- systems: |
-    set -euo pipefail
-    set +x
-    export CACHIX_SIGNING_KEY=$(cat ~/.cachix.key)
-    set -x
-    nix-build home -A wakasu
-triggers:
-- action: email
-  condition: failure
-  to: vincent@sbr.pm
.builds/nix-systems.yml
@@ -5,7 +5,13 @@ tasks:
 - setup: |
     nix-env -iA cachix -f https://cachix.org/api/v1/install
     cachix use shortbrain
-- systems: |
+- dry-run: |
+    set -euo pipefail
+    set +x
+    export CACHIX_SIGNING_KEY=$(cat ~/.cachix.key)
+    set -x
+    nix-build home -A systems --dry-run
+- build-servers: |
     set -euo pipefail
     set +x
     export CACHIX_SIGNING_KEY=$(cat ~/.cachix.key)