[roll] Roll infra/recipes [clang_toolchain] Standardize checkout flow

In cases where the scheduler input is empty, the recipe bootstrap tool
will assign build_input.gitiles_commit to the integration repo. The
recipe, without this change, will then checkout integration.git instead
of what's passed through the property `repository`.

This change standardizes the checkout flow with other recipes by using
api.git.checkout_from_build_input, which guarantees that the
`repository` will be respected if they are set, even when the
gitiles_commit doesn't match the `repository`.

If `repository` does match the gitiles_commit, the gitiles_commit.id
will still take precedence over the `revision` property (no change to
the current behavior).

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/infra/recipes/+/531261
Original-Revision: bb1cde5f71a2aeb705275451cebf74833229ec9f
GitOrigin-RevId: c37030143e1052c454296c325983120ab528e764
Change-Id: Ia3523c9d6551e27e770e092048ac2594742d639a
1 file changed
tree: 99b524142441fe859a0667a15b42ea5677e1d1d5
  1. garnet/
  2. infra/
  3. peridot/
  4. third_party/
  5. topaz/
  6. zircon/
  7. firmware
  8. flower
  9. jiri.lock
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.