File tree 1 file changed +16
-0
lines changed
1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,22 @@ components:
34
34
- name : KUBECONFIG
35
35
value : /home/user/.kube/config
36
36
commands :
37
+ - id : install-chectl
38
+ exec :
39
+ label : POST START EVENT - Install chectl
40
+ component : tooling-container
41
+ commandLine : |
42
+ tag=$(curl https://api.github.com/repos/che-incubator/chectl/tags | jq -r '.[0].name') && \
43
+ cd /tmp && wget https://github.com/che-incubator/chectl/releases/download/${tag}/chectl-linux-x64.tar.gz && \
44
+ mkdir $HOME/chectl && \
45
+ tar -xvzf chectl-linux-x64.tar.gz -C $HOME/chectl --strip-components 1 && \
46
+ if ! grep -q "export PATH=\$HOME/chectl/bin:\$PATH" $HOME/.bashrc; then echo "export PATH=\$HOME/chectl/bin:\$PATH" >> $HOME/.bashrc; fi
47
+ - id : install-goimports
48
+ exec :
49
+ label : POST START EVENT - Install goimports
50
+ component : tooling-container
51
+ commandLine : |
52
+ $HOME/go1.18/bin/go install golang.org/x/tools/cmd/goimports@latest
37
53
- id : go-build
38
54
exec :
39
55
label : Build Eclipse Che Operator binary
You can’t perform that action at this time.
0 commit comments