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(STONEINTG-1006): adding to component status.lastPromotedImage #86

Merged
merged 1 commit into from
Aug 12, 2024
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
4 changes: 4 additions & 0 deletions api/v1alpha1/component_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ type ComponentStatus struct {
// Example: 41fbdb124775323f58fd5ce93c70bb7d79c20650.
LastBuiltCommit string `json:"lastBuiltCommit,omitempty"`

// The last digest image component promoted with.
// Example: quay.io/someorg/somerepository@sha256:5ca85b7f7b9da18a9c4101e81ee1d9bac35ac2b0b0221908ff7389204660a262.
LastPromotedImage string `json:"lastPromotedImage,omitempty"`

// The list of names of Components whose builds nudge this resource (their spec.build-nudges-ref[] references this component)
BuildNudgedBy []string `json:"build-nudged-by,omitempty"`
}
Expand Down
4 changes: 4 additions & 0 deletions config/crd/bases/appstudio.redhat.com_components.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,10 @@ spec:
description: 'The last built commit id (SHA-1 checksum) from the latest
component build. Example: 41fbdb124775323f58fd5ce93c70bb7d79c20650.'
type: string
lastPromotedImage:
description: 'The last digest image component promoted with. Example:
quay.io/someorg/somerepository@sha256:5ca85b7f7b9da18a9c4101e81ee1d9bac35ac2b0b0221908ff7389204660a262.'
type: string
webhook:
description: Webhook URL generated by Builds
type: string
Expand Down
4 changes: 4 additions & 0 deletions manifests/application-api-customresourcedefinitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1018,6 +1018,10 @@ spec:
description: 'The last built commit id (SHA-1 checksum) from the latest
component build. Example: 41fbdb124775323f58fd5ce93c70bb7d79c20650.'
type: string
lastPromotedImage:
description: 'The last digest image component promoted with. Example:
quay.io/someorg/somerepository@sha256:5ca85b7f7b9da18a9c4101e81ee1d9bac35ac2b0b0221908ff7389204660a262.'
type: string
webhook:
description: Webhook URL generated by Builds
type: string
Expand Down
Loading