[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