GetTriggerBuild

data class GetTriggerBuild(val artifacts: List<GetTriggerBuildArtifact>, val availableSecrets: List<GetTriggerBuildAvailableSecret>, val images: List<String>, val logsBucket: String, val options: List<GetTriggerBuildOption>, val queueTtl: String, val secrets: List<GetTriggerBuildSecret>, val sources: List<GetTriggerBuildSource>, val steps: List<GetTriggerBuildStep>, val substitutions: Map<String, String>, val tags: List<String>, val timeout: String)

Constructors

Link copied to clipboard
constructor(artifacts: List<GetTriggerBuildArtifact>, availableSecrets: List<GetTriggerBuildAvailableSecret>, images: List<String>, logsBucket: String, options: List<GetTriggerBuildOption>, queueTtl: String, secrets: List<GetTriggerBuildSecret>, sources: List<GetTriggerBuildSource>, steps: List<GetTriggerBuildStep>, substitutions: Map<String, String>, tags: List<String>, timeout: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Artifacts produced by the build that should be uploaded upon successful completion of all build steps.

Link copied to clipboard

Secrets and secret environment variables.

Link copied to clipboard

A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build status is marked FAILURE.

Link copied to clipboard

Google Cloud Storage bucket where logs should be written. Logs file names will be of the format ${logsBucket}/log-${build_id}.txt.

Link copied to clipboard

Special options for this build.

Link copied to clipboard

TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be EXPIRED. The TTL starts ticking from createTime. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

Link copied to clipboard

Secrets to decrypt using Cloud Key Management Service.

Link copied to clipboard

The location of the source files to build. One of 'storageSource' or 'repoSource' must be provided.

Link copied to clipboard

The operations to be performed on the workspace.

Link copied to clipboard

Substitutions data for Build resource.

Link copied to clipboard

Tags for annotation of a Build. These are not docker tags.

Link copied to clipboard

Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be TIMEOUT. This timeout must be equal to or greater than the sum of the timeouts for build steps within the build. The expected format is the number of seconds followed by s. Default time is ten minutes (600s).