File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,16 +132,4 @@ steps:
132132 when :
133133 condition :
134134 all :
135- error : ' "${{FAILED}}" == "failed"'
136- delete_deployment :
137- title : " Delete deployment"
138- description : The deployment is deleted at the end of the pipeline
139- image : codefresh/kubectl
140- stage : qa
141- commands :
142- - kubectl config use-context ${{CLUSTER_NAME}}
143- - kubectl delete ns test-${{NAMESPACE_BASENAME}}
144- when :
145- condition :
146- all :
147- delete : ${{DELETE_ON_SUCCESS}} == "true"
135+ error : ' "${{FAILED}}" == "failed"'
Original file line number Diff line number Diff line change @@ -522,7 +522,7 @@ steps:
522522 approval :
523523 type : pending-approval
524524 stage : qa
525- title : Approve anyway and delete deployment
525+ title : Approve anyway
526526 description : The pipeline will fail after ${{WAIT_ON_FAIL}} minutes
527527 timeout :
528528 timeUnit : minutes
@@ -531,16 +531,4 @@ steps:
531531 when :
532532 condition :
533533 all :
534- error : ' "${{FAILED}}" == "failed"'
535- delete_deployment :
536- title : Delete deployment
537- description : The deployment is deleted at the end of the pipeline
538- image : codefresh/kubectl
539- stage : qa
540- commands :
541- - kubectl config use-context ${{CLUSTER_NAME}}
542- - kubectl delete ns test-${{NAMESPACE_BASENAME}}
543- when :
544- condition :
545- all :
546- delete : ' ${{DELETE_ON_SUCCESS}} == "true"'
534+ error : ' "${{FAILED}}" == "failed"'
You can’t perform that action at this time.
0 commit comments