footers

package
v0.0.0-...-431bee0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// If this is false and the full CQ is triggered then CQ will fail.
	CommitFooter string = "Commit"

	// Does not cancel try jobs if new CODE_CHANGE patchsets are uploaded.
	DoNotCancelTryjobsFooter string = "Cq-Do-Not-Cancel-Tryjobs"

	// Includes the specified tryjobs. The tryjobs will be in this format:
	// bucket1:bot1,bot2;bucket2:bot3,bot4
	IncludeTryjobsFooter string = "Cq-Include-Trybots"

	// Skips the tree status check if this is true.
	NoTreeChecksFooter string = "No-Tree-Checks"

	// Triggering and checking for tryjobs will be skipped if this is true.
	NoTryFooter string = "No-Try"

	// If true and the change has other open changes that will be submitted at the
	// same time then the CQ will return failure. Not applicable for dry-runs.
	NoDependencyChecksFooter string = "No-Dependency-Checks"

	// If true then all successful try jobs are rerun regardless of who triggered
	// them.
	RerunTryjobsFooter string = "Rerun-Tryjobs"
)

Variables

This section is empty.

Functions

func ParseIncludeTryjobsFooter

func ParseIncludeTryjobsFooter(footer string) (map[string][]string, error)

ParseIncludeTryJobsFooter parses the IncludeTryjobsFooter and returns a map of buckets to bots. The string is expected to be in this format: "bucket1:bot1,bot2;bucket2:bot3" For the above string the following will be returned: {"bucket1": ["bot1", "bot2"], "bucket2": ["bot3"]}

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL