[recipe_bootstrap] Ignore commit ref if host overridden

This implements a feature that the README falsely documented, namely
assuming `recipes_integration_ref_override` to be "refs/heads/main" if
`recipes_host_override` is set.

This will let us unset the `recipes_integration_ref_override` property
on a bunch of builders where `recipes_host_override` is also set,
simplifying the process of setting up a new builder that requires these
properties.

Bug: 85433
Change-Id: I0ba23d004fd2167924cc8b4214616e3d3aa30f6b
Reviewed-on: https://fuchsia-review.googlesource.com/c/infra/infra/+/586221
Fuchsia-Auto-Submit: Oliver Newman <olivernewman@google.com>
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
Reviewed-by: Anthony Fandrianto <atyfto@google.com>
3 files changed
tree: a7d136296bb62479f4c0599590a8fa8cac3ce411
  1. artifacts/
  2. buildbucket/
  3. checkout/
  4. cmd/
  5. codifier/
  6. digest/
  7. execution/
  8. gerrit/
  9. gitiles/
  10. monorail/
  11. scripts/
  12. serial/
  13. third_party/
  14. .gitignore
  15. AUTHORS
  16. go.mod
  17. go.sum
  18. LICENSE
  19. MAINTAINERS
  20. manifest
  21. PATENTS
  22. README.md
README.md

infra

This repo contains tools and config files necessary to run infrastructure related to builds, code review, version control, and continuous integrations.