Commit 8286adef3690

Vincent Demeester <vincent@sbr.pm>
2020-07-20 08:55:34
builds: split nix-pkgs into 3 (for each channel)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent c3e38d9
.builds/nix-pkgs.yml → .builds/nix-pkgs-nixos.yml
@@ -11,7 +11,7 @@ tasks:
     set +x
     export CACHIX_SIGNING_KEY=$(cat ~/.cachix.key)
     set -x
-    nix-build --no-out-link home/ci.nix -A cacheOutputs | cachix push shortbrain
+    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:
.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
.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