tvl-depot/ops/gerrit-tvl
Vincent Ambo aed1fbeb95 fix(gerrit-tvl): Use only one build filter
Buildkite can't handle more than one filter for the query; as of the
last commit it just returned an empty list.

I've verified with curl based on the request the previous attempt
constructed that this works as intended with only setting the commit.

Behaviour is probably undefined if there are two builds for the same
commit (i.e. a retry). Which one will you see? Who knows!

However, since the commit hash contains the Change-Id, we can't get a
situation where the build was for two different CLs at the same
commit. Gerrit wouldn't allow that.

Change-Id: I0dcd0ff44c28d3d15cba23461970bfc8483f4e48
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5768
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
2022-05-28 13:39:58 +00:00
..
static fix(gerrit-tvl): Use only one build filter 2022-05-28 13:39:58 +00:00
default.nix feat(ops/gerrit-tvl): init TVL Gerrit plugin 2021-04-06 18:43:04 +00:00
HttpModule.java feat(ops/gerrit-tvl): init TVL Gerrit plugin 2021-04-06 18:43:04 +00:00
MANIFEST.MF feat(ops/gerrit-tvl): init TVL Gerrit plugin 2021-04-06 18:43:04 +00:00
README.md feat(ops/gerrit-tvl): init TVL Gerrit plugin 2021-04-06 18:43:04 +00:00

gerrit-tvl

A Gerrit plugin that does TVL-specific things.

You probably want to take inspiration from this rather than using it directly, as it has a variety of TVL-ish assumptions baked into it.