diff options
author | Luke Granger-Brown <hg@lukegb.com> | 2020-07-26T12·53+0100 |
---|---|---|
committer | lukegb <lukegb@tvl.fyi> | 2020-07-27T00·00+0000 |
commit | a8bc8357d869f28f86d30b1f95de34331e26d5be (patch) | |
tree | b64bbb49e27a9e778410a563788814548ff804b5 | |
parent | e780435d09207b84dff49c870e875ad3f052b2fe (diff) |
feat(3p/gerrit_plugins): init Gerrit checks plugin r/1489
The Gerrit Checks plugin adds a new tab to the Gerrit UI, which is intended for display of status of automated checks which are being run. We can use this for e.g. reporting the run status of our CI builds/other stuff. Change-Id: Ib0d9a8ae68061a76191a56d467d915100b766e1b Reviewed-on: https://cl.tvl.fyi/c/depot/+/1462 Tested-by: BuildkiteCI Reviewed-by: kanepyork <rikingcoding@gmail.com> Reviewed-by: glittershark <grfn@gws.fyi>
-rw-r--r-- | ci-builds.nix | 1 | ||||
-rw-r--r-- | third_party/gerrit_plugins/default.nix | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/ci-builds.nix b/ci-builds.nix index 6b7f48f44d97..01dd6d58e9e6 100644 --- a/ci-builds.nix +++ b/ci-builds.nix @@ -70,6 +70,7 @@ in lib.fix (self: { gerrit = with depot.third_party.gerrit_plugins; [ depot.third_party.gerrit + checks owners ]; diff --git a/third_party/gerrit_plugins/default.nix b/third_party/gerrit_plugins/default.nix index 929d1bba9f1c..e010d4479cbc 100644 --- a/third_party/gerrit_plugins/default.nix +++ b/third_party/gerrit_plugins/default.nix @@ -22,4 +22,17 @@ in cp -R "${src}/owners-common" "$out/owners-common" ''; }; + + # https://gerrit.googlesource.com/plugins/checks + checks = buildGerritBazelPlugin { + name = "checks"; + depsOutputHash = "1nk63ahlynqn5my7lzy7vsax07n585ndmvbnz2xbwkppl1m7j56l"; + src = pkgs.fetchgit { + url = "https://gerrit.googlesource.com/plugins/checks"; + rev = "36d9e5c61b95ade98883ded5eb1e168c28ef99bf"; + sha256 = "03abn4m9x8cinx86c41hrazg0kgwvjfak3w155sca1ikq4605pma"; + deepClone = true; + leaveDotGit = true; + }; + }; } |