Skip to content

Commit 6f69d9a

Browse files
Google APIscopybara-github
authored andcommitted
feat: Add stable cutback duration configuration to the k8s gateway service mesh deployment strategy. This allows configuring the amount of time to migrate traffic back to the original Service in the stable phase
feat: Updated logging protos with new fields docs: Fixed a number of comments PiperOrigin-RevId: 596610888
1 parent 0b50567 commit 6f69d9a

8 files changed

Lines changed: 115 additions & 75 deletions

google/cloud/deploy/v1/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ load(
352352

353353
csharp_proto_library(
354354
name = "deploy_csharp_proto",
355+
extra_opts = [],
355356
deps = [":deploy_proto"],
356357
)
357358

google/cloud/deploy/v1/cloud_deploy.proto

Lines changed: 70 additions & 66 deletions
Large diffs are not rendered by default.

google/cloud/deploy/v1/deliverypipeline_notification_payload.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ message DeliveryPipelineNotificationEvent {
3030
// Debug message for when a notification fails to send.
3131
string message = 1;
3232

33+
// Unique identifier of the `DeliveryPipeline`.
34+
string pipeline_uid = 4;
35+
3336
// The name of the `Delivery Pipeline`.
3437
string delivery_pipeline = 2;
3538

google/cloud/deploy/v1/jobrun_notification_payload.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,15 @@ message JobRunNotificationEvent {
3939
// Unique identifier of the `Release`.
4040
string release_uid = 4;
4141

42+
// The name of the `Release`.
43+
string release = 8;
44+
4245
// Unique identifier of the `Rollout`.
4346
string rollout_uid = 5;
4447

48+
// The name of the `Rollout`.
49+
string rollout = 9;
50+
4551
// ID of the `Target`.
4652
string target_id = 6;
4753

google/cloud/deploy/v1/release_notification_payload.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ message ReleaseNotificationEvent {
3030
// Debug message for when a notification fails to send.
3131
string message = 1;
3232

33+
// Unique identifier of the `DeliveryPipeline`.
34+
string pipeline_uid = 4;
35+
36+
// Unique identifier of the `Release`.
37+
string release_uid = 5;
38+
3339
// The name of the `Release`.
3440
string release = 2;
3541

google/cloud/deploy/v1/release_render_payload.proto

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ syntax = "proto3";
1717
package google.cloud.deploy.v1;
1818

1919
import "google/cloud/deploy/v1/cloud_deploy.proto";
20+
import "google/cloud/deploy/v1/log_enums.proto";
2021

2122
option go_package = "cloud.google.com/go/deploy/apiv1/deploypb;deploypb";
2223
option java_multiple_files = true;
@@ -30,9 +31,17 @@ message ReleaseRenderEvent {
3031
// details as rendering progresses through render states.
3132
string message = 1;
3233

34+
// Unique identifier of the `DeliveryPipeline`.
35+
string pipeline_uid = 4;
36+
3337
// The name of the release.
38+
// release_uid is not in this log message because we write some of these log
39+
// messages at release creation time, before we've generated the uid.
3440
string release = 2;
3541

42+
// Type of this notification, e.g. for a release render state change event.
43+
Type type = 5;
44+
3645
// The state of the release render.
3746
Release.RenderState release_render_state = 3;
3847
}

google/cloud/deploy/v1/rollout_notification_payload.proto

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,18 @@ message RolloutNotificationEvent {
3636
// Unique identifier of the `Release`.
3737
string release_uid = 3;
3838

39+
// The name of the `Release`.
40+
string release = 7;
41+
42+
// Unique identifier of the `Rollout`.
43+
string rollout_uid = 8;
44+
3945
// The name of the `Rollout`.
4046
string rollout = 4;
4147

42-
// Type of this notification, e.g. for a Pub/Sub failure.
43-
Type type = 5;
44-
4548
// ID of the `Target` that the rollout is deployed to.
4649
string target_id = 6;
50+
51+
// Type of this notification, e.g. for a Pub/Sub failure.
52+
Type type = 5;
4753
}

google/cloud/deploy/v1/rollout_update_payload.proto

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,24 +71,29 @@ message RolloutUpdateEvent {
7171
ADVANCED = 13;
7272
}
7373

74+
// Debug message for when a rollout update event occurs.
75+
string message = 6;
76+
7477
// Unique identifier of the pipeline.
7578
string pipeline_uid = 1;
7679

7780
// Unique identifier of the release.
7881
string release_uid = 2;
7982

83+
// The name of the `Release`.
84+
string release = 8;
85+
8086
// The name of the rollout.
87+
// rollout_uid is not in this log message because we write some of these log
88+
// messages at rollout creation time, before we've generated the uid.
8189
string rollout = 3;
8290

8391
// ID of the target.
8492
string target_id = 4;
8593

86-
// The type of the rollout update.
87-
RolloutUpdateType rollout_update_type = 5;
88-
89-
// Debug message for when a rollout update event occurs.
90-
string message = 6;
91-
9294
// Type of this notification, e.g. for a rollout update event.
9395
Type type = 7;
96+
97+
// The type of the rollout update.
98+
RolloutUpdateType rollout_update_type = 5;
9499
}

0 commit comments

Comments
 (0)