commit 26fd2b56727cc8527e5fbdb3d728e16600c0b892
parent 447ea6bc2a71b7dd9363c92da9b188bbe79087a5
Author: Vincent Demeester <vincent@sbr.pm>
Date: Sat, 6 Jun 2020 18:05:07 +0200
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>
Diffstat:
3 files changed, 7 insertions(+), 35 deletions(-)
diff --git a/.builds/nix-systems-hokkaido.yml b/.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
diff --git a/.builds/nix-systems-wakasu.yml b/.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
diff --git a/.builds/nix-systems.yml b/.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)