tvl-depot/ops
Vincent Ambo d7b89df748 feat(ops/pipelines): Add gcroots for depot builds on canon
Adds a conditional build step that only runs on the canon branch, and
only if 🦆 (the status reporting step) succeeds, which creates a
new Nix GC root for all depot targets named `depot-canon`.

In practice this might be a bit racey, as canon builds are not
guaranteed to succeed in order (though it is likely). This shouldn't
matter much in practice: We only want to prevent rebuilds of the whole
world.

This fixes b/102

Change-Id: Id3d0bf4158bffcb1ed6929888a29d31609b6ece1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2904
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
2021-04-11 20:09:53 +00:00
..
besadii refactor: Replace some uses of builtins.toFile with pkgs.writeText 2021-03-25 19:14:36 +00:00
dns feat(ops/dns): Add GSuite site aliases for tvl.su 2021-03-27 11:06:56 +00:00
gerrit-tvl feat(gerrit-tvl): add Buildkite-backed Checks plugin implementation 2021-04-07 11:19:04 +00:00
journaldriver refactor(ops): Consistent use of depot.third_party vs. pkgs 2021-04-10 12:09:20 +00:00
kontemplate refactor(ops): Consistent use of depot.third_party vs. pkgs 2021-04-10 12:09:20 +00:00
mq_cli chore: Rename pkgs->depot in all Nix file headers 2020-02-21 13:54:53 +00:00
nixos fix(tvl-buildkite): Set agents' primary group to buildkite-agents 2021-04-11 16:03:17 +00:00
pipelines feat(ops/pipelines): Add gcroots for depot builds on canon 2021-04-11 20:09:53 +00:00
posix_mq.rs chore: Rename pkgs->depot in all Nix file headers 2020-02-21 13:54:53 +00:00
users feat(ops/users): add milan to users 2021-04-02 10:21:37 +00:00