Skip to content

Commit fcbf005

Browse files
feat: [deploy] 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 (#4921)
* feat: migrate samples to new surface PiperOrigin-RevId: 595432418 Source-Link: googleapis/googleapis@4795a45 Source-Link: googleapis/googleapis-gen@743615e Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRlcGxveS8uT3dsQm90LnlhbWwiLCJoIjoiNzQzNjE1ZTU4MGJhYjE4MTVlZGJhNDNhMDJjNTYxZmFjZTYzMWM1ZiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 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 Source-Link: googleapis/googleapis@6f69d9a Source-Link: googleapis/googleapis-gen@e2a9e76 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRlcGxveS8uT3dsQm90LnlhbWwiLCJoIjoiZTJhOWU3NmVmODE4ZmY0YjgyYjMzYTBmYjAwNTkzNmZiYmUzMGQ0OSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 4b0b1f9 commit fcbf005

60 files changed

Lines changed: 818 additions & 359 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/google-cloud-deploy/.jsdoc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 Google LLC
1+
// Copyright 2024 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.
@@ -40,7 +40,7 @@ module.exports = {
4040
includePattern: '\\.js$'
4141
},
4242
templates: {
43-
copyright: 'Copyright 2023 Google LLC',
43+
copyright: 'Copyright 2024 Google LLC',
4444
includeDate: false,
4545
sourceFiles: false,
4646
systemName: '@google-cloud/deploy',

packages/google-cloud-deploy/.mocharc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 Google LLC
1+
// Copyright 2024 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.

packages/google-cloud-deploy/.prettierrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 Google LLC
1+
// Copyright 2024 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.

packages/google-cloud-deploy/protos/google/cloud/deploy/v1/cloud_deploy.proto

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

packages/google-cloud-deploy/protos/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

packages/google-cloud-deploy/protos/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

packages/google-cloud-deploy/protos/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

packages/google-cloud-deploy/protos/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
}

packages/google-cloud-deploy/protos/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
}

packages/google-cloud-deploy/protos/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)