commit 8286adef36908a81dbb58246d091356e0caf3e2f
parent c3e38d942bab04355464c980bdc11fec1bcc1478
Author: Vincent Demeester <vincent@sbr.pm>
Date: Mon, 20 Jul 2020 08:55:34 +0200
builds: split nix-pkgs into 3 (for each channel)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
4 files changed, 60 insertions(+), 20 deletions(-)
diff --git a/.builds/nix-pkgs-nixos.yml b/.builds/nix-pkgs-nixos.yml
@@ -0,0 +1,20 @@
+image: nixos/20.03
+secrets:
+ - 0818d60d-b587-4d4e-81d8-dc15072ccb97
+tasks:
+- setup: |
+ set -e
+ nix-env -iA cachix -f https://cachix.org/api/v1/install
+ cachix use shortbrain
+- cached: |
+ set -euo pipefail
+ set +x
+ export CACHIX_SIGNING_KEY=$(cat ~/.cachix.key)
+ set -x
+ nix-build --no-out-link home/ci.nix -A nixosCacheOutputs | cachix push shortbrain
+- nur-update: |
+ curl -XPOST "https://nur-update.herokuapp.com/update?repo=vdemeester"
+triggers:
+- action: email
+ condition: failure
+ to: vincent@sbr.pm
diff --git a/.builds/nix-pkgs-nixosunstable.yml b/.builds/nix-pkgs-nixosunstable.yml
@@ -0,0 +1,20 @@
+image: nixos/20.03
+secrets:
+ - 0818d60d-b587-4d4e-81d8-dc15072ccb97
+tasks:
+- setup: |
+ set -e
+ nix-env -iA cachix -f https://cachix.org/api/v1/install
+ cachix use shortbrain
+- cached: |
+ set -euo pipefail
+ set +x
+ export CACHIX_SIGNING_KEY=$(cat ~/.cachix.key)
+ set -x
+ nix-build --no-out-link home/ci.nix -A nixosUnstableCacheOutputs | cachix push shortbrain
+- nur-update: |
+ curl -XPOST "https://nur-update.herokuapp.com/update?repo=vdemeester"
+triggers:
+- action: email
+ condition: failure
+ to: vincent@sbr.pm
diff --git a/.builds/nix-pkgs-nixpkgs.yml b/.builds/nix-pkgs-nixpkgs.yml
@@ -0,0 +1,20 @@
+image: nixos/20.03
+secrets:
+ - 0818d60d-b587-4d4e-81d8-dc15072ccb97
+tasks:
+- setup: |
+ set -e
+ nix-env -iA cachix -f https://cachix.org/api/v1/install
+ cachix use shortbrain
+- cached: |
+ set -euo pipefail
+ set +x
+ export CACHIX_SIGNING_KEY=$(cat ~/.cachix.key)
+ set -x
+ nix-build --no-out-link home/ci.nix -A nixpkgsCacheOutputs | cachix push shortbrain
+- nur-update: |
+ curl -XPOST "https://nur-update.herokuapp.com/update?repo=vdemeester"
+triggers:
+- action: email
+ condition: failure
+ to: vincent@sbr.pm
diff --git a/.builds/nix-pkgs.yml b/.builds/nix-pkgs.yml
@@ -1,20 +0,0 @@
-image: nixos/20.03
-secrets:
- - 0818d60d-b587-4d4e-81d8-dc15072ccb97
-tasks:
-- setup: |
- set -e
- nix-env -iA cachix -f https://cachix.org/api/v1/install
- cachix use shortbrain
-- cached: |
- set -euo pipefail
- set +x
- export CACHIX_SIGNING_KEY=$(cat ~/.cachix.key)
- set -x
- nix-build --no-out-link home/ci.nix -A cacheOutputs | cachix push shortbrain
-- nur-update: |
- curl -XPOST "https://nur-update.herokuapp.com/update?repo=vdemeester"
-triggers:
-- action: email
- condition: failure
- to: vincent@sbr.pm