Update protos and README file for cloudbuild. (#400)
This commit is contained in:
parent
37cc4d7caf
commit
050b9def0a
|
|
@ -1 +1 @@
|
|||
The Google Cloud Container Builder API lets you to build an application or part of an application from source code stored in Google Cloud Storage or a Google Cloud Source Repository and package it into container images. The container images are then stored in Google Container Registry. You can optionally copy the images to another container registry as required.
|
||||
The Google Cloud Container Builder API lets you to build an application or part of an application from source code stored in Google Cloud Storage or a Google Cloud Source Repository and package it into container images. The container images are then stored in Google Container Registry. You can optionally copy the images to another container registry as required.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright 2016 Google Inc.
|
||||
// Copyright 2017 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
|
@ -181,10 +181,10 @@ message BuildStep {
|
|||
//
|
||||
// The Docker daemon's cache will already have the latest versions of all of
|
||||
// the officially supported build steps
|
||||
// (https://github.com/GoogleCloudPlatform/cloud-builders). The Docker daemon
|
||||
// will also have cached many of the layers for some popular images, like
|
||||
// "ubuntu", "debian", but they will be refreshed at the time you attempt to
|
||||
// use them.
|
||||
// ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/GoogleCloudPlatform/cloud-builders)).
|
||||
// The Docker daemon will also have cached many of the layers for some popular
|
||||
// images, like "ubuntu", "debian", but they will be refreshed at the time you
|
||||
// attempt to use them.
|
||||
//
|
||||
// If you built an image in a previous build step, it will be stored in the
|
||||
// host's Docker daemon's cache and is available to use as the name for a
|
||||
|
|
@ -361,6 +361,9 @@ message Build {
|
|||
|
||||
// Substitutions data for Build resource.
|
||||
map<string, string> substitutions = 29;
|
||||
|
||||
// Tags for annotation of a Build. These are not docker tags.
|
||||
repeated string tags = 31;
|
||||
}
|
||||
|
||||
// Metadata for build operations.
|
||||
|
|
@ -571,9 +574,22 @@ message BuildOptions {
|
|||
VERIFIED = 1;
|
||||
}
|
||||
|
||||
// Specifies the behavior when there is an error in the substitution checks.
|
||||
enum SubstitutionOption {
|
||||
// Fails the build if error in substitutions checks, like missing
|
||||
// a substitution in the template or in the map.
|
||||
MUST_MATCH = 0;
|
||||
|
||||
// Do not fail the build if error in substitutions checks.
|
||||
ALLOW_LOOSE = 1;
|
||||
}
|
||||
|
||||
// Requested hash for SourceProvenance.
|
||||
repeated Hash.HashType source_provenance_hash = 1;
|
||||
|
||||
// Requested verifiability options.
|
||||
VerifyOption requested_verify_option = 2;
|
||||
|
||||
// SubstitutionOption to allow unmatch substitutions.
|
||||
SubstitutionOption substitution_option = 4;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue