tvl-depot/ops
Vincent Ambo 4ff9d5dee8 feat: Implement automatic CI target detection for the depot
Automatically walk the entire depot tree and pick out things that are
"buildable", then include them in the attribute `ci.targets` (which is
now also the target for CI builds).

A long time ago, in a land far away, we (well, I, at the time) had a
prototype of this which ran into constant issues with infinite
recursions while trying to walk the tree. In fact, this is why
readTree originally gained the `__readTree`-attribute which marks
things that were imported automatically.

Based on some code edef whipped up earlier (with the breakthrough
being that we also add the attribute to top-level folders, which
suddenly resolves a whole bunch of problems), I've now implemented
this actually working version.

At the moment all builds still happen as one big bag of builds, but at
some point we will granularise this.

Change-Id: I86f12ce7f63dae98e7e5c6646a4e9d220de783f2
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1854
Tested-by: BuildkiteCI
Reviewed-by: kanepyork <rikingcoding@gmail.com>
Reviewed-by: glittershark <grfn@gws.fyi>
2020-08-26 23:49:32 +00:00
..
besadii fix(besadii): Remove unused Nix code from the derivation 2020-08-26 23:49:32 +00:00
journaldriver chore: Rename pkgs->depot in all Nix file headers 2020-02-21 13:54:53 +00:00
kontemplate chore: Update 'master -> canon' in various places 2020-06-24 01:33:43 +00:00
mq_cli chore: Rename pkgs->depot in all Nix file headers 2020-02-21 13:54:53 +00:00
nixos chore: Add __readTree attributes on systems that need to be built 2020-08-26 23:49:32 +00:00
pipelines feat: Implement automatic CI target detection for the depot 2020-08-26 23:49:32 +00:00
posix_mq.rs chore: Rename pkgs->depot in all Nix file headers 2020-02-21 13:54:53 +00:00