about summary refs log tree commit diff
path: root/ops/sync-gcsr/manifest.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'ops/sync-gcsr/manifest.yaml')
-rw-r--r--ops/sync-gcsr/manifest.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/ops/sync-gcsr/manifest.yaml b/ops/sync-gcsr/manifest.yaml
new file mode 100644
index 000000000000..3016c2ca57ee
--- /dev/null
+++ b/ops/sync-gcsr/manifest.yaml
@@ -0,0 +1,23 @@
+image: nixos/latest
+sources:
+  - https://git.tazj.in/
+secrets:
+  # cachix/tazjin
+  - f7f02546-4d95-44f7-a98e-d61fdded8b5b
+tasks:
+  - setup: |
+      # sourcehut does not censor secrets in builds, hence this hack:
+      echo -n 'export CACHIX_SIGNING_KEY=' > cachix-preamble
+      cat cachix-preamble ~/.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