Skip to content

Commit 14b4580

Browse files
gcf-owl-bot[bot]d-googsofisl
authored
feat: [deploy] Add resource definition for Revision (#6233)
* feat: Add resource definition for Revision docs: Typos fixes and small improvements PiperOrigin-RevId: 742835092 Source-Link: googleapis/googleapis@453b0cc Source-Link: googleapis/googleapis-gen@b53fe84 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRlcGxveS8uT3dsQm90LnlhbWwiLCJoIjoiYjUzZmU4NDEzMmQyMTRhZjY3OGZjM2ZhNmEzYTE1YmFmODg0NTcyOCJ9 * 🦉 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> Co-authored-by: d-goog <[email protected]> Co-authored-by: sofisl <[email protected]>
1 parent 5eea387 commit 14b4580

2 files changed

Lines changed: 12 additions & 7 deletions

File tree

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

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ option (google.api.resource_definition) = {
6565
type: "run.googleapis.com/Job"
6666
pattern: "projects/{project}/locations/{location}/jobs/{job}"
6767
};
68+
option (google.api.resource_definition) = {
69+
type: "run.googleapis.com/Revision"
70+
pattern: "projects/{project}/locations/{location}/revisions/{revision}"
71+
};
6872

6973
// CloudDeploy service creates and manages Continuous Delivery operations
7074
// on Google Cloud Platform via Skaffold (https://skaffold.dev).
@@ -2332,8 +2336,8 @@ message Release {
23322336
VERIFICATION_CONFIG_NOT_FOUND = 4;
23332337

23342338
// The render operation did not complete successfully because the custom
2335-
// action required for predeploy or postdeploy was not found in the
2336-
// Skaffold configuration. See failure_message for additional details.
2339+
// action(s) required for Rollout jobs were not found in the Skaffold
2340+
// configuration. See failure_message for additional details.
23372341
CUSTOM_ACTION_NOT_FOUND = 5;
23382342

23392343
// Release failed during rendering because the release configuration is
@@ -2717,11 +2721,12 @@ message TargetArtifact {
27172721
string artifact_uri = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
27182722
}
27192723

2720-
// Output only. File path of the resolved Skaffold configuration relative to
2721-
// the URI.
2724+
// Output only. File path of the resolved Skaffold configuration for the
2725+
// stable phase, relative to the URI.
27222726
string skaffold_config_path = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
27232727

2724-
// Output only. File path of the rendered manifest relative to the URI.
2728+
// Output only. File path of the rendered manifest relative to the URI for the
2729+
// stable phase.
27252730
string manifest_path = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
27262731

27272732
// Output only. Map from the phase ID to the phase artifacts for the `Target`.

packages/google-cloud-deploy/protos/protos.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)