Currently targets to deploy during create_gitops_prs run must be built just before the create_gitops_prs execution. This could be error prone and cause deploying of stale versions if targets parameter to create_gitops_prs is not synchronized exactly with targets to build.
Also, there is currently impossible to investigate dependency tree of the deployment using bazel query.
It would be useful to extract the initial step of targets discovery into a gazelle-like generator that would generate a target like this:
Currently targets to deploy during create_gitops_prs run must be built just before the create_gitops_prs execution. This could be error prone and cause deploying of stale versions if targets parameter to create_gitops_prs is not synchronized exactly with targets to build. Also, there is currently impossible to investigate dependency tree of the deployment using
bazel query
. It would be useful to extract the initial step of targets discovery into a gazelle-like generator that would generate a target like this:running such target would be equivalent of building all dependencies and running create_gitops_prs on them.