Skip to content

Commit 840390b

Browse files
feat: [deploy] added support for DeployArtifacts (#4222)
* feat: added support for DeployArtifacts feat: added support for in cluster verification PiperOrigin-RevId: 528368844 Source-Link: googleapis/googleapis@2da477b Source-Link: googleapis/googleapis-gen@1d44d35 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRlcGxveS8uT3dsQm90LnlhbWwiLCJoIjoiMWQ0NGQzNTE3NDA3MjYyZTcwNmZkNzc3N2JlYWMzOTY2YTVkMjBjMiJ9 * 🦉 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: sofisl <[email protected]>
1 parent ce118d3 commit 840390b

5 files changed

Lines changed: 463 additions & 2 deletions

File tree

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

packages/google-cloud-deploy/protos/protos.d.ts

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

0 commit comments

Comments
 (0)