diff options
author | Vincent Ambo <tazjin@google.com> | 2020-02-13T22·38+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-02-21T22·05+0000 |
commit | 80c6680eda2afd2e9899f92d508d1b1907916756 (patch) | |
tree | f48a940ef57fc516661a3ce29c2b483352bd7b2e /ops/sync-gcsr/manifest.yaml | |
parent | d657e878fa518cd0489ee6352261bf17185c3fe4 (diff) |
feat(ops/besadii): Refactored tool to trigger sourcehut builds
Refactors //ops/sync-gcsr which was previously responsible for synchronising the git repository between GCSR and the git.tazj.in cgit instance to simply be responsible for triggering builds on sourcehut. This program is intended to run as a git post-update hook. Note: Not yet feature complete, as interpolation of concrete git values and also sourcehut secrets is missing.
Diffstat (limited to 'ops/sync-gcsr/manifest.yaml')
-rw-r--r-- | ops/sync-gcsr/manifest.yaml | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/ops/sync-gcsr/manifest.yaml b/ops/sync-gcsr/manifest.yaml deleted file mode 100644 index 3016c2ca57ee..000000000000 --- a/ops/sync-gcsr/manifest.yaml +++ /dev/null @@ -1,23 +0,0 @@ -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 |