about summary refs log tree commit diff
path: root/ops/sync-gcsr/manifest.yaml
diff options
context:
space:
mode:
authorVincent Ambo <Vincent Ambo>2020-01-18T15·37+0000
committerVincent Ambo <Vincent Ambo>2020-01-18T15·37+0000
commitaf63d2604ef4bf0867609206fa373f6613489b17 (patch)
treeadab95030b802fc713a8c66043b0c9e0d16c7b9f /ops/sync-gcsr/manifest.yaml
parentb8355066e84075b603038f407f18166aa034db4f (diff)
feat(sync-gcsr): Add builds.sr.ht build manifest r/407
Adds a simple build manifest that builds everything in ci-builds.nix
and pushes results to Cachix on success.
Diffstat (limited to '')
-rw-r--r--ops/sync-gcsr/manifest.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/ops/sync-gcsr/manifest.yaml b/ops/sync-gcsr/manifest.yaml
new file mode 100644
index 0000000000..d5674695a8
--- /dev/null
+++ b/ops/sync-gcsr/manifest.yaml
@@ -0,0 +1,21 @@
+image: nixos/latest
+sources:
+  - https://git.tazj.in/
+secrets:
+  # cachix/tazjin
+  - 3cea9995-9a90-4bb5-9b50-5d00c3694757
+tasks:
+  - setup: |
+      echo "export CACHIX_SIGNING_KEY=$(cat ~/.cachix-tazjin)" >> ~/.buildenv
+      nix-env -iA third_party.cachix -f git.tazj.in
+      cachix use tazjin
+  - build: |
+      cd git.tazj.in
+      nix-build ci-builds.nix > built-paths
+  - cache: |
+      cd git.tazj.in
+      cat built-paths | cachix push tazjin
+triggers:
+  - action: email
+    condition: failure
+    to: mail@tazj.in