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

chore(lifecycle-operator): remove pre post deploy task evaluation v1beta1 #2782

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
cb4824a
keep
geoffrey1330 Aug 7, 2023
eb4f934
keep
geoffrey1330 Sep 22, 2023
2d51f15
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 10, 2024
6d0ed4b
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 10, 2024
474eef5
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 10, 2024
96fac2a
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 10, 2024
83cb3c5
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 10, 2024
8ea6c7a
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 10, 2024
125a6ee
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 10, 2024
5546918
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 10, 2024
e7faead
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 10, 2024
aba1543
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 10, 2024
8a50ded
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 10, 2024
fc648d5
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 10, 2024
44da10c
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 10, 2024
a796b8a
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 10, 2024
dece61b
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 10, 2024
6d23422
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 10, 2024
0840e02
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 11, 2024
93a921d
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 11, 2024
50e242b
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 11, 2024
2f5b07f
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 11, 2024
670f67a
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 11, 2024
e0c0d04
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 11, 2024
f97661b
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 11, 2024
f74509a
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 11, 2024
2906765
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 11, 2024
2dcf477
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 11, 2024
ca4c7b4
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 11, 2024
7da5d19
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 11, 2024
2696705
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 11, 2024
17dd35d
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 11, 2024
3cbe269
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 11, 2024
6d5934c
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 11, 2024
c6a7777
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 11, 2024
090abad
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 11, 2024
b1ac19f
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 11, 2024
613c698
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 12, 2024
5707c42
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 12, 2024
21b9e9f
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 12, 2024
1777079
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 12, 2024
8a5814e
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 12, 2024
11954e9
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 12, 2024
80c952c
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 12, 2024
5c9ced1
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 12, 2024
7a6cfbc
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 15, 2024
e07ee10
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 15, 2024
b85f9dc
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 15, 2024
a9f925b
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 15, 2024
4eaef36
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 15, 2024
c2d039e
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 15, 2024
94f5687
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 15, 2024
7b49c9e
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 15, 2024
c184813
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 15, 2024
88ce9d2
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 15, 2024
357301a
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 15, 2024
684497b
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 15, 2024
4c9d743
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 15, 2024
8b1d7ac
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 15, 2024
41261af
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 16, 2024
1957655
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 16, 2024
2a7cc97
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 16, 2024
7333231
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 16, 2024
e61fce0
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 16, 2024
3a0c8d4
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 16, 2024
ebbe5c2
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 16, 2024
d964e7e
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 16, 2024
60d5098
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 16, 2024
bd6f94c
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 17, 2024
ed73a96
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 17, 2024
1b05780
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 17, 2024
0d4b4a0
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 17, 2024
4548ede
Update .github/actions/spelling/expect.txt
geoffrey1330 Jan 17, 2024
8310158
Update lifecycle-operator/controllers/lifecycle/keptnapp/controller.go
geoffrey1330 Jan 17, 2024
7801aed
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 17, 2024
745f0fd
remove pre/post deployment tasks/evaluations from keptnapp in v1beta1
geoffrey1330 Jan 17, 2024
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
1 change: 1 addition & 0 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ configmapref
configmapreference
containedctx
containerspec
contextcommon
contextdata
controllercommon
controllererrors
Expand Down
8 changes: 8 additions & 0 deletions .github/scripts/.helm-tests/default/result.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10777,6 +10777,14 @@ rules:
- secrets
verbs:
- get
- apiGroups:
- lifecycle.keptn.sh
resources:
- keptnappcontexts
verbs:
- get
- list
- watch
- apiGroups:
- lifecycle.keptn.sh
resources:
Expand Down
8 changes: 8 additions & 0 deletions .github/scripts/.helm-tests/lifecycle-only/result.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8788,6 +8788,14 @@ rules:
- secrets
verbs:
- get
- apiGroups:
- lifecycle.keptn.sh
resources:
- keptnappcontexts
verbs:
- get
- list
- watch
- apiGroups:
- lifecycle.keptn.sh
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8883,6 +8883,14 @@ rules:
- secrets
verbs:
- get
- apiGroups:
- lifecycle.keptn.sh
resources:
- keptnappcontexts
verbs:
- get
- list
- watch
- apiGroups:
- lifecycle.keptn.sh
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ func (src *KeptnApp) ConvertTo(dstRaw conversion.Hub) error {
Version: srcWl.Version,
})
}
dst.Spec.PreDeploymentTasks = src.Spec.PreDeploymentTasks
dst.Spec.PostDeploymentTasks = src.Spec.PostDeploymentTasks
dst.Spec.PreDeploymentEvaluations = src.Spec.PreDeploymentEvaluations
dst.Spec.PostDeploymentEvaluations = src.Spec.PostDeploymentEvaluations

dst.Status.CurrentVersion = src.Status.CurrentVersion

Expand Down Expand Up @@ -59,10 +55,6 @@ func (dst *KeptnApp) ConvertFrom(srcRaw conversion.Hub) error {
Version: srcWl.Version,
})
}
dst.Spec.PreDeploymentTasks = src.Spec.PreDeploymentTasks
dst.Spec.PostDeploymentTasks = src.Spec.PostDeploymentTasks
dst.Spec.PreDeploymentEvaluations = src.Spec.PreDeploymentEvaluations
dst.Spec.PostDeploymentEvaluations = src.Spec.PostDeploymentEvaluations

dst.Status.CurrentVersion = src.Status.CurrentVersion

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,6 @@ func TestKeptnApp_ConvertFrom(t *testing.T) {
Version: "4.5.6",
},
},
PreDeploymentTasks: []string{
"some-pre-deployment-task1",
},
PostDeploymentTasks: []string{
"some-post-deployment-task2",
},
PreDeploymentEvaluations: []string{
"some-pre-evaluation-task1",
},
PostDeploymentEvaluations: []string{
"some-pre-evaluation-task2",
},
},
Status: v1beta1.KeptnAppStatus{
CurrentVersion: "1.2.3",
Expand Down Expand Up @@ -88,18 +76,6 @@ func TestKeptnApp_ConvertFrom(t *testing.T) {
Version: "4.5.6",
},
},
PreDeploymentTasks: []string{
"some-pre-deployment-task1",
},
PostDeploymentTasks: []string{
"some-post-deployment-task2",
},
PreDeploymentEvaluations: []string{
"some-pre-evaluation-task1",
},
PostDeploymentEvaluations: []string{
"some-pre-evaluation-task2",
},
},
Status: KeptnAppStatus{
CurrentVersion: "1.2.3",
Expand Down Expand Up @@ -161,18 +137,6 @@ func TestKeptnApp_ConvertTo(t *testing.T) {
Version: "4.5.6",
},
},
PreDeploymentTasks: []string{
"some-pre-deployment-task1",
},
PostDeploymentTasks: []string{
"some-post-deployment-task2",
},
PreDeploymentEvaluations: []string{
"some-pre-evaluation-task1",
},
PostDeploymentEvaluations: []string{
"some-pre-evaluation-task2",
},
},
Status: KeptnAppStatus{
CurrentVersion: "1.2.3",
Expand Down Expand Up @@ -203,18 +167,6 @@ func TestKeptnApp_ConvertTo(t *testing.T) {
Version: "4.5.6",
},
},
PreDeploymentTasks: []string{
"some-pre-deployment-task1",
},
PostDeploymentTasks: []string{
"some-post-deployment-task2",
},
PreDeploymentEvaluations: []string{
"some-pre-evaluation-task1",
},
PostDeploymentEvaluations: []string{
"some-pre-evaluation-task2",
},
},
Status: v1beta1.KeptnAppStatus{
CurrentVersion: "1.2.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ func TestKeptnAppVersion_ConvertFrom(t *testing.T) {
Version: "4.5.6",
},
},
},
DeploymentTaskSpec: v1beta1.DeploymentTaskSpec{
PreDeploymentTasks: []string{
odubajDT marked this conversation as resolved.
Show resolved Hide resolved
"some-pre-deployment-task1",
},
Expand Down Expand Up @@ -471,6 +473,8 @@ func TestKeptnAppVersion_ConvertTo(t *testing.T) {
Version: "4.5.6",
},
},
},
DeploymentTaskSpec: v1beta1.DeploymentTaskSpec{
PreDeploymentTasks: []string{
"some-pre-deployment-task1",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ func (src *KeptnApp) ConvertTo(dstRaw conversion.Hub) error {
Version: srcWl.Version,
})
}
dst.Spec.PreDeploymentTasks = src.Spec.PreDeploymentTasks
dst.Spec.PostDeploymentTasks = src.Spec.PostDeploymentTasks
dst.Spec.PreDeploymentEvaluations = src.Spec.PreDeploymentEvaluations
dst.Spec.PostDeploymentEvaluations = src.Spec.PostDeploymentEvaluations

dst.Status.CurrentVersion = src.Status.CurrentVersion

Expand Down Expand Up @@ -58,10 +54,6 @@ func (dst *KeptnApp) ConvertFrom(srcRaw conversion.Hub) error {
Version: srcWl.Version,
})
}
dst.Spec.PreDeploymentTasks = src.Spec.PreDeploymentTasks
dst.Spec.PostDeploymentTasks = src.Spec.PostDeploymentTasks
dst.Spec.PreDeploymentEvaluations = src.Spec.PreDeploymentEvaluations
dst.Spec.PostDeploymentEvaluations = src.Spec.PostDeploymentEvaluations

dst.Status.CurrentVersion = src.Status.CurrentVersion

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,6 @@ func TestKeptnApp_ConvertFrom(t *testing.T) {
Version: "4.5.6",
},
},
PreDeploymentTasks: []string{
"some-pre-deployment-task1",
},
PostDeploymentTasks: []string{
"some-post-deployment-task2",
},
PreDeploymentEvaluations: []string{
"some-pre-evaluation-task1",
},
PostDeploymentEvaluations: []string{
"some-pre-evaluation-task2",
},
},
Status: v1beta1.KeptnAppStatus{
CurrentVersion: "1.2.3",
Expand Down Expand Up @@ -89,18 +77,6 @@ func TestKeptnApp_ConvertFrom(t *testing.T) {
Version: "4.5.6",
},
},
PreDeploymentTasks: []string{
"some-pre-deployment-task1",
},
PostDeploymentTasks: []string{
"some-post-deployment-task2",
},
PreDeploymentEvaluations: []string{
"some-pre-evaluation-task1",
},
PostDeploymentEvaluations: []string{
"some-pre-evaluation-task2",
},
},
Status: KeptnAppStatus{
CurrentVersion: "1.2.3",
Expand Down Expand Up @@ -163,18 +139,6 @@ func TestKeptnApp_ConvertTo(t *testing.T) {
Version: "4.5.6",
},
},
PreDeploymentTasks: []string{
"some-pre-deployment-task1",
},
PostDeploymentTasks: []string{
"some-post-deployment-task2",
},
PreDeploymentEvaluations: []string{
"some-pre-evaluation-task1",
},
PostDeploymentEvaluations: []string{
"some-pre-evaluation-task2",
},
},
Status: KeptnAppStatus{
CurrentVersion: "1.2.3",
Expand Down Expand Up @@ -205,18 +169,6 @@ func TestKeptnApp_ConvertTo(t *testing.T) {
Version: "4.5.6",
},
},
PreDeploymentTasks: []string{
"some-pre-deployment-task1",
},
PostDeploymentTasks: []string{
"some-post-deployment-task2",
},
PreDeploymentEvaluations: []string{
"some-pre-evaluation-task1",
},
PostDeploymentEvaluations: []string{
"some-pre-evaluation-task2",
},
},
Status: v1beta1.KeptnAppStatus{
CurrentVersion: "1.2.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ func TestKeptnAppVersion_ConvertFrom(t *testing.T) {
Version: "4.5.6",
},
},
},
DeploymentTaskSpec: v1beta1.DeploymentTaskSpec{
PreDeploymentTasks: []string{
geoffrey1330 marked this conversation as resolved.
Show resolved Hide resolved
"some-pre-deployment-task1",
},
Expand Down Expand Up @@ -471,6 +473,8 @@ func TestKeptnAppVersion_ConvertTo(t *testing.T) {
Version: "4.5.6",
},
},
},
DeploymentTaskSpec: v1beta1.DeploymentTaskSpec{
PreDeploymentTasks: []string{
"some-pre-deployment-task1",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ func (src *KeptnApp) ConvertTo(dstRaw conversion.Hub) error {
Version: srcWl.Version,
})
}
dst.Spec.PreDeploymentTasks = src.Spec.PreDeploymentTasks
dst.Spec.PostDeploymentTasks = src.Spec.PostDeploymentTasks
dst.Spec.PreDeploymentEvaluations = src.Spec.PreDeploymentEvaluations
dst.Spec.PostDeploymentEvaluations = src.Spec.PostDeploymentEvaluations

dst.Status.CurrentVersion = src.Status.CurrentVersion

Expand Down Expand Up @@ -58,10 +54,6 @@ func (dst *KeptnApp) ConvertFrom(srcRaw conversion.Hub) error {
Version: srcWl.Version,
})
}
dst.Spec.PreDeploymentTasks = src.Spec.PreDeploymentTasks
dst.Spec.PostDeploymentTasks = src.Spec.PostDeploymentTasks
dst.Spec.PreDeploymentEvaluations = src.Spec.PreDeploymentEvaluations
dst.Spec.PostDeploymentEvaluations = src.Spec.PostDeploymentEvaluations

dst.Status.CurrentVersion = src.Status.CurrentVersion

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,6 @@ func TestKeptnApp_ConvertFrom(t *testing.T) {
Version: "4.5.6",
},
},
PreDeploymentTasks: []string{
"some-pre-deployment-task1",
},
PostDeploymentTasks: []string{
"some-post-deployment-task2",
},
PreDeploymentEvaluations: []string{
"some-pre-evaluation-task1",
},
PostDeploymentEvaluations: []string{
"some-pre-evaluation-task2",
},
},
Status: v1beta1.KeptnAppStatus{
CurrentVersion: "1.2.3",
Expand Down Expand Up @@ -89,18 +77,6 @@ func TestKeptnApp_ConvertFrom(t *testing.T) {
Version: "4.5.6",
},
},
PreDeploymentTasks: []string{
"some-pre-deployment-task1",
},
PostDeploymentTasks: []string{
"some-post-deployment-task2",
},
PreDeploymentEvaluations: []string{
"some-pre-evaluation-task1",
},
PostDeploymentEvaluations: []string{
"some-pre-evaluation-task2",
},
},
Status: KeptnAppStatus{
CurrentVersion: "1.2.3",
Expand Down Expand Up @@ -163,18 +139,6 @@ func TestKeptnApp_ConvertTo(t *testing.T) {
Version: "4.5.6",
},
},
PreDeploymentTasks: []string{
"some-pre-deployment-task1",
},
PostDeploymentTasks: []string{
"some-post-deployment-task2",
},
PreDeploymentEvaluations: []string{
"some-pre-evaluation-task1",
},
PostDeploymentEvaluations: []string{
"some-pre-evaluation-task2",
},
},
Status: KeptnAppStatus{
CurrentVersion: "1.2.3",
Expand Down Expand Up @@ -205,18 +169,6 @@ func TestKeptnApp_ConvertTo(t *testing.T) {
Version: "4.5.6",
},
},
PreDeploymentTasks: []string{
"some-pre-deployment-task1",
},
PostDeploymentTasks: []string{
"some-post-deployment-task2",
},
PreDeploymentEvaluations: []string{
"some-pre-evaluation-task1",
},
PostDeploymentEvaluations: []string{
"some-pre-evaluation-task2",
},
},
Status: v1beta1.KeptnAppStatus{
CurrentVersion: "1.2.3",
Expand Down
Loading
Loading