Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [deploy] added support for DeployArtifacts #4222

Merged
merged 3 commits into from
May 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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