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/default.nix | |
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/default.nix')
-rw-r--r-- | ops/sync-gcsr/default.nix | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/ops/sync-gcsr/default.nix b/ops/sync-gcsr/default.nix deleted file mode 100644 index ea5d0594a871..000000000000 --- a/ops/sync-gcsr/default.nix +++ /dev/null @@ -1,14 +0,0 @@ -{ depot, ... }: - -depot.nix.buildGo.program { - name = "sync-gcsr"; - srcs = [ ./main.go ]; - - deps = with depot.third_party; map (p: p.gopkg) [ - gopkgs."gopkg.in".src-d.go-git - ]; - - x_defs = { - "main.BuildManifest" = "${./manifest.yaml}"; - }; -} |