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

fix: have all flavors delete themselves even in failure #1508

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
3 changes: 1 addition & 2 deletions chart/infra-server/static/test-connect-artifact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
generateName: test-connect-artifact-
spec:
entrypoint: start
onExit: destroy
arguments:
parameters:
- name: name
Expand All @@ -16,8 +17,6 @@ spec:
template: create
- - name: wait
template: wait
- - name: destroy
template: destroy

- name: create
outputs:
Expand Down
3 changes: 1 addition & 2 deletions chart/infra-server/static/test-url-artifact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
generateName: test-url-artifact-
spec:
entrypoint: start
onExit: destroy
arguments:
parameters:
- name: name
Expand All @@ -16,8 +17,6 @@ spec:
template: create
- - name: wait
template: wait
- - name: destroy
template: destroy

- name: create
outputs:
Expand Down
4 changes: 1 addition & 3 deletions chart/infra-server/static/workflow-aks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
generateName: aks-
spec:
entrypoint: start
onExit: destroy
arguments:
parameters:
- name: name
Expand All @@ -27,9 +28,6 @@ spec:
- - name: wait
template: wait

- - name: destroy
template: destroy

- name: create
outputs:
artifacts:
Expand Down
4 changes: 1 addition & 3 deletions chart/infra-server/static/workflow-eks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
generateName: eks-
spec:
entrypoint: start
onExit: destroy
arguments:
parameters:
- name: name
Expand All @@ -27,9 +28,6 @@ spec:
- - name: wait
template: wait

- - name: destroy
template: destroy

- name: create
activeDeadlineSeconds: 3600
outputs:
Expand Down
4 changes: 4 additions & 0 deletions chart/infra-server/static/workflow-gke-default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
generateName: gke-default-
spec:
entrypoint: start
onExit: stop
arguments:
parameters:
- name: name
Expand All @@ -30,6 +31,9 @@ spec:
template: create
- - name: wait
template: wait

- name: stop
steps:
- - name: destroy
template: destroy
arguments:
Expand Down
4 changes: 1 addition & 3 deletions chart/infra-server/static/workflow-openshift-4-demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
generateName: openshift-4-demo-
spec:
entrypoint: start
onExit: destroy
arguments:
parameters:
- name: name
Expand Down Expand Up @@ -74,9 +75,6 @@ spec:
- - name: wait
template: wait

- - name: destroy
template: destroy

- name: create
container:
image: quay.io/stackrox-io/ci:automation-flavors-openshift-4-{{ .Chart.Annotations.automationFlavorsVersion }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
generateName: openshift-4-perf-scale-
spec:
entrypoint: start
onExit: destroy
arguments:
parameters:
- name: name
Expand Down Expand Up @@ -50,9 +51,6 @@ spec:
- - name: wait
template: wait

- - name: destroy
template: destroy

- name: create
outputs:
artifacts:
Expand Down
4 changes: 1 addition & 3 deletions chart/infra-server/static/workflow-openshift-4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
generateName: openshift-4-
spec:
entrypoint: start
onExit: destroy
arguments:
parameters:
- name: name
Expand Down Expand Up @@ -51,9 +52,6 @@ spec:
- - name: wait
template: wait

- - name: destroy
template: destroy

- name: create
outputs:
artifacts:
Expand Down
4 changes: 1 addition & 3 deletions chart/infra-server/static/workflow-openshift-aro.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
generateName: aro-
spec:
entrypoint: start
onExit: destroy
arguments:
parameters:
- name: name
Expand Down Expand Up @@ -32,9 +33,6 @@ spec:
- - name: wait
template: wait

- - name: destroy
template: destroy

- name: create
activeDeadlineSeconds: 7200
container:
Expand Down
4 changes: 1 addition & 3 deletions chart/infra-server/static/workflow-openshift-ibmroks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
generateName: roks-
spec:
entrypoint: start
onExit: destroy
arguments:
parameters:
- name: name
Expand Down Expand Up @@ -39,9 +40,6 @@ spec:
- - name: wait
template: wait

- - name: destroy
template: destroy

- name: create
activeDeadlineSeconds: 7200
container:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
generateName: rosa-
spec:
entrypoint: start
onExit: destroy
arguments:
parameters:
- name: name
Expand Down Expand Up @@ -40,9 +41,6 @@ spec:
- - name: wait
template: wait

- - name: destroy
template: destroy

- name: create
activeDeadlineSeconds: 7200
container:
Expand Down
4 changes: 1 addition & 3 deletions chart/infra-server/static/workflow-openshift-rosa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
generateName: rosa-
spec:
entrypoint: start
onExit: destroy
arguments:
parameters:
- name: name
Expand Down Expand Up @@ -34,9 +35,6 @@ spec:
- - name: wait
template: wait

- - name: destroy
template: destroy

- name: create
activeDeadlineSeconds: 7200
container:
Expand Down
4 changes: 1 addition & 3 deletions chart/infra-server/static/workflow-osd-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
generateName: rosa-
spec:
entrypoint: start
onExit: destroy
arguments:
parameters:
- name: name
Expand Down Expand Up @@ -34,9 +35,6 @@ spec:
- - name: wait
template: wait

- - name: destroy
template: destroy

- name: create
activeDeadlineSeconds: 7200
container:
Expand Down
4 changes: 1 addition & 3 deletions chart/infra-server/static/workflow-osd-gcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
generateName: rosa-
spec:
entrypoint: start
onExit: destroy
arguments:
parameters:
- name: name
Expand Down Expand Up @@ -34,9 +35,6 @@ spec:
- - name: wait
template: wait

- - name: destroy
template: destroy

- name: create
activeDeadlineSeconds: 7200
container:
Expand Down
Loading