Skip to content

Commit

Permalink
Merge pull request #577 from konflux-ci/release911
Browse files Browse the repository at this point in the history
feat(RELEASE-911): add field to store collectors results
  • Loading branch information
davidmogar authored Oct 1, 2024
2 parents c60de20 + f24d89d commit a7403f9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api/v1alpha1/release_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ type ReleaseStatus struct {
// +optional
Attribution AttributionInfo `json:"attribution,omitempty"`

// Collectors is an unstructured key used for storing all the collectors results generated by the Collectors Pipeline
// +kubebuilder:pruning:PreserveUnknownFields
// +optional
Collectors *runtime.RawExtension `json:"collectors,omitempty"`

// Conditions represent the latest available observations for the release
// +optional
Conditions []metav1.Condition `json:"conditions"`
Expand Down
5 changes: 5 additions & 0 deletions api/v1alpha1/zz_generated.deepcopy.go

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

5 changes: 5 additions & 0 deletions config/crd/bases/appstudio.redhat.com_releases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ spec:
description: Automated indicates whether the Release was created as
part of an automated process or manually by an end-user
type: boolean
collectors:
description: Collectors is an unstructured key used for storing all
the collectors results generated by the Collectors Pipeline
type: object
x-kubernetes-preserve-unknown-fields: true
completionTime:
description: CompletionTime is the time when a Release was completed
format: date-time
Expand Down

0 comments on commit a7403f9

Please sign in to comment.