Skip to content

Commit 2da477b

Browse files
Google APIscopybara-github
authored andcommitted
feat: added support for DeployArtifacts
feat: added support for in cluster verification PiperOrigin-RevId: 528368844
1 parent a9fb0d2 commit 2da477b

2 files changed

Lines changed: 20 additions & 6 deletions

File tree

google/cloud/deploy/v1/cloud_deploy.proto

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1428,6 +1428,10 @@ message TargetArtifact {
14281428

14291429
// Output only. File path of the rendered manifest relative to the URI.
14301430
string manifest_path = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
1431+
1432+
// Output only. File path of the directory of rendered job manifests
1433+
// relative to the URI. This is only set if it is applicable.
1434+
string job_manifests_path = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
14311435
}
14321436

14331437
oneof uri {
@@ -1449,6 +1453,18 @@ message TargetArtifact {
14491453
[(google.api.field_behavior) = OUTPUT_ONLY];
14501454
}
14511455

1456+
// The artifacts produced by a deploy operation.
1457+
message DeployArtifact {
1458+
// Output only. URI of a directory containing the artifacts. All paths are
1459+
// relative to this location.
1460+
string artifact_uri = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
1461+
1462+
// Output only. File paths of the manifests applied during the deploy
1463+
// operation relative to the URI.
1464+
repeated string manifest_paths = 2
1465+
[(google.api.field_behavior) = OUTPUT_ONLY];
1466+
}
1467+
14521468
// CloudRunRenderMetadata contains Cloud Run information associated with a
14531469
// `Release` render.
14541470
message CloudRunRenderMetadata {
@@ -1839,7 +1855,7 @@ message Phase {
18391855

18401856
// Deployment job composition.
18411857
message DeploymentJobs {
1842-
// Output only. The deploy Job. This is the first job run in the phase.
1858+
// Output only. The deploy Job. This is the deploy job in the phase.
18431859
Job deploy_job = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
18441860

18451861
// Output only. The verify Job. Runs after a deploy if the deploy succeeds.
@@ -2312,6 +2328,9 @@ message DeployJobRun {
23122328

23132329
// Output only. Metadata containing information about the deploy job run.
23142330
DeployJobRunMetadata metadata = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
2331+
2332+
// Output only. The artifact of a deploy job run, if available.
2333+
DeployArtifact artifact = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
23152334
}
23162335

23172336
// VerifyJobRun contains information specific to a verify `JobRun`.

google/cloud/deploy/v1/clouddeploy_v1.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,6 @@ 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-
5752
backend:
5853
rules:
5954
- selector: 'google.cloud.deploy.v1.CloudDeploy.*'

0 commit comments

Comments
 (0)