Skip to content

Commit f25019d

Browse files
committed
feat: devfile cleanup command
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
1 parent 73d08a1 commit f25019d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

devfile.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ commands:
7070
component: nodejs-dev
7171
commandLine: kubectl apply -k openshift
7272
workingDir: ${PROJECT_SOURCE}
73+
- id: cleanup
74+
exec:
75+
component: nodejs-dev
76+
commandLine: kubectl delete -k openshift
77+
workingDir: ${PROJECT_SOURCE}
7378
events:
7479
postStart:
7580
- install-dependencies

0 commit comments

Comments
 (0)