Is there a way to add a hook or replace the ui command with a pipeline? #2655
-
Hi, When running Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You could probably add a custom command to set the k8s context before running |
Beta Was this translation helpful? Give feedback.
-
There appears to be a Line 181 in 49e5f6b hooks:
- name: pre-ui
command: "echo before ui"
events: ["ui"] Returning a non-zero status code from the command causes the UI to not start: hooks:
- name: pre-ui
command: "echo before ui; exit 1"
events: ["ui"]
|
Beta Was this translation helpful? Give feedback.
There appears to be a
ui
hook you could use:devspace/cmd/ui.go
Line 181 in 49e5f6b
Returning a non-zero status code from the command causes the UI to not start: