Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Fallback ref to fetch, when build has no input, e.g. when the build is manually // triggered with LUCI scheduler, or when the recipes_host_override property is set. FallbackRef = "refs/heads/main" )
Variables ¶
This section is empty.
Functions ¶
func CheckoutIntegration ¶
CheckoutIntegration checks out the integration.git repo and returns the path to the directory containing the checkout.
func EnsureGitilesCommit ¶
func EnsureGitilesCommit(ctx context.Context, build *buildbucketpb.Build) error
EnsureGitilesCommit ensures that the incoming build always has an Input.GitilesCommit. This ensures that this build and any child builds always use a consistent HEAD.
The host and project for the GitilesCommit are determined by the `ResolveRepo` strategy, with the fallback remote being either the default integration remote set in this file, or the override set by the `recipe_integration_remote` property.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.