Synchronize new proto/yaml changes.
PiperOrigin-RevId: 276077059
This commit is contained in:
parent
6b43240cf2
commit
ae908c2b2e
|
|
@ -54,6 +54,10 @@ service CloudBuild {
|
|||
body: "build"
|
||||
};
|
||||
option (google.api.method_signature) = "project_id,build";
|
||||
option (google.longrunning.operation_info) = {
|
||||
response_type: "Build"
|
||||
metadata_type: "BuildOperationMetadata"
|
||||
};
|
||||
}
|
||||
|
||||
// Returns information about a previously requested build.
|
||||
|
|
@ -120,6 +124,10 @@ service CloudBuild {
|
|||
body: "*"
|
||||
};
|
||||
option (google.api.method_signature) = "project_id,id";
|
||||
option (google.longrunning.operation_info) = {
|
||||
response_type: "Build"
|
||||
metadata_type: "BuildOperationMetadata"
|
||||
};
|
||||
}
|
||||
|
||||
// Creates a new `BuildTrigger`.
|
||||
|
|
@ -184,6 +192,10 @@ service CloudBuild {
|
|||
body: "source"
|
||||
};
|
||||
option (google.api.method_signature) = "project_id,trigger_id,source";
|
||||
option (google.longrunning.operation_info) = {
|
||||
response_type: "Build"
|
||||
metadata_type: "BuildOperationMetadata"
|
||||
};
|
||||
}
|
||||
|
||||
// Creates a `WorkerPool` to run the builds, and returns the new worker pool.
|
||||
|
|
@ -805,10 +817,14 @@ message BuildTrigger {
|
|||
// Branch and tag names in trigger templates are interpreted as regular
|
||||
// expressions. Any branch or tag change that matches that regular expression
|
||||
// will trigger a build.
|
||||
//
|
||||
// Mutually exclusive with `github`.
|
||||
RepoSource trigger_template = 7;
|
||||
|
||||
// GitHubEventsConfig describes the configuration of a trigger that creates
|
||||
// a build whenever a GitHub event is received.
|
||||
//
|
||||
// Mutually exclusive with `trigger_template`.
|
||||
GitHubEventsConfig github = 13;
|
||||
|
||||
// Template describing the Build request to make when the trigger is matched.
|
||||
|
|
@ -858,7 +874,7 @@ message BuildTrigger {
|
|||
// This message is experimental.
|
||||
message GitHubEventsConfig {
|
||||
// The installationID that emits the GitHub event.
|
||||
int64 installation_id = 1;
|
||||
int64 installation_id = 1 [deprecated = true];
|
||||
|
||||
// Owner of the repository. For example: The owner for
|
||||
// https://github.com/googlecloudplatform/cloud-builders is
|
||||
|
|
|
|||
|
|
@ -25,6 +25,8 @@ backend:
|
|||
deadline: 5.0
|
||||
- selector: google.devtools.cloudbuild.v1.CloudBuild.CreateBuild
|
||||
deadline: 60.0
|
||||
- selector: google.devtools.cloudbuild.v1.CloudBuild.CreateBuildTrigger
|
||||
deadline: 60.0
|
||||
- selector: google.devtools.cloudbuild.v1.CloudBuild.CreateWorkerPool
|
||||
deadline: 320.0
|
||||
- selector: google.devtools.cloudbuild.v1.CloudBuild.DeleteWorkerPool
|
||||
|
|
|
|||
Loading…
Reference in New Issue