Is there a way to add a hook or replace the ui command with a pipeline? #2655
Answered
by
jackwilsdon
rafaeljusto
asked this question in
Q&A
|
Hi, When running Thank you. |
Answered by
jackwilsdon
Jul 14, 2023
Replies: 2 comments 2 replies
|
You could probably add a custom command to set the k8s context before running |
1 reply
|
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"] |
1 reply
Answer selected by
rafaeljusto
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There appears to be a
uihook 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: