Skip to content

Commit

Permalink
feat: [deploy] added support for DeployArtifacts (#4222)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
3 people authored May 3, 2023
1 parent ce118d3 commit 840390b
Show file tree
Hide file tree
Showing 5 changed files with 463 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1428,6 +1428,10 @@ message TargetArtifact {

// Output only. File path of the rendered manifest relative to the URI.
string manifest_path = 3 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. File path of the directory of rendered job manifests
// relative to the URI. This is only set if it is applicable.
string job_manifests_path = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
}

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

// The artifacts produced by a deploy operation.
message DeployArtifact {
// Output only. URI of a directory containing the artifacts. All paths are
// relative to this location.
string artifact_uri = 1 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. File paths of the manifests applied during the deploy
// operation relative to the URI.
repeated string manifest_paths = 2
[(google.api.field_behavior) = OUTPUT_ONLY];
}

// CloudRunRenderMetadata contains Cloud Run information associated with a
// `Release` render.
message CloudRunRenderMetadata {
Expand Down Expand Up @@ -1839,7 +1855,7 @@ message Phase {

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

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

// Output only. Metadata containing information about the deploy job run.
DeployJobRunMetadata metadata = 4 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. The artifact of a deploy job run, if available.
DeployArtifact artifact = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// VerifyJobRun contains information specific to a verify `JobRun`.
Expand Down
115 changes: 115 additions & 0 deletions packages/google-cloud-deploy/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 840390b

Please sign in to comment.