From 80c6680eda2afd2e9899f92d508d1b1907916756 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 13 Feb 2020 22:38:34 +0000 Subject: 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. --- ops/besadii/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 ops/besadii/default.nix (limited to 'ops/besadii/default.nix') diff --git a/ops/besadii/default.nix b/ops/besadii/default.nix new file mode 100644 index 0000000000..fc7b2286c7 --- /dev/null +++ b/ops/besadii/default.nix @@ -0,0 +1,8 @@ +# This program is used as a git post-update hook to trigger builds on +# sourcehut. +{ depot, ... }: + +depot.buildGo.program { + name = "besadii"; + srcs = [ ./main.go ]; +} -- cgit 1.4.1