Skip to content

Commit fb3b26c

Browse files
Google APIscopybara-github
authored andcommitted
feat: added supported for Cloud Deploy Progressive Deployment Strategy
deprecate: TYPE_RENDER_STATUES_CHANGE, use RELEASE_RENDER log type instead PiperOrigin-RevId: 518248525
1 parent f978bc0 commit fb3b26c

11 files changed

Lines changed: 748 additions & 189 deletions

google/cloud/deploy/v1/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ java_gapic_library(
8585
rest_numeric_enums = True,
8686
service_yaml = "clouddeploy_v1.yaml",
8787
test_deps = [
88-
":deploy_java_grpc",
8988
"//google/cloud/location:location_java_grpc",
9089
"//google/iam/v1:iam_java_grpc",
90+
":deploy_java_grpc",
9191
],
9292
transport = "grpc+rest",
9393
deps = [

google/cloud/deploy/v1/cloud_deploy.proto

Lines changed: 717 additions & 179 deletions
Large diffs are not rendered by default.

google/cloud/deploy/v1/clouddeploy_grpc_service_config.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,22 @@
100100
{
101101
"service": "google.cloud.deploy.v1.CloudDeploy",
102102
"method": "RetryJob"
103+
},
104+
{
105+
"service": "google.cloud.deploy.v1.CloudDeploy",
106+
"method": "AdvanceRollout"
107+
},
108+
{
109+
"service": "google.cloud.deploy.v1.CloudDeploy",
110+
"method": "CancelRollout"
111+
},
112+
{
113+
"service": "google.cloud.deploy.v1.CloudDeploy",
114+
"method": "IgnoreJob"
115+
},
116+
{
117+
"service": "google.cloud.deploy.v1.CloudDeploy",
118+
"method": "TerminateJobRun"
103119
}
104120
],
105121
"timeout": "60s"

google/cloud/deploy/v1/clouddeploy_v1.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ documentation:
4949
permission-aware UIs and command-line tools, not for authorization
5050
checking. This operation may "fail open" without warning.
5151
52+
- selector: google.longrunning.Operations.ListOperations
53+
description: |-
54+
Lists operations that match the specified filter in the request. If
55+
the server doesn't support this method, it returns `UNIMPLEMENTED`.
56+
5257
backend:
5358
rules:
5459
- selector: 'google.cloud.deploy.v1.CloudDeploy.*'

google/cloud/deploy/v1/deliverypipeline_notification_payload.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

google/cloud/deploy/v1/jobrun_notification_payload.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

google/cloud/deploy/v1/log_enums.proto

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -29,6 +29,6 @@ enum Type {
2929
// A Pub/Sub notification failed to be sent.
3030
TYPE_PUBSUB_NOTIFICATION_FAILURE = 1;
3131

32-
// Release render status changed notification.
33-
TYPE_RENDER_STATUES_CHANGE = 2;
32+
// Deprecated: This field is never used. Use release_render log type instead.
33+
TYPE_RENDER_STATUES_CHANGE = 2 [deprecated = true];
3434
}

google/cloud/deploy/v1/release_notification_payload.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

google/cloud/deploy/v1/release_render_payload.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

google/cloud/deploy/v1/rollout_notification_payload.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)