Skip to content

Commit

Permalink
fixup! Update devfile.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mkuznyetsov committed Jan 22, 2024
1 parent 9d79b1f commit 72409d3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions devspaces-operator/devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,22 @@ components:
- name: KUBECONFIG
value: /home/user/.kube/config
commands:
- id: install-chectl
exec:
label: POST START EVENT - Install chectl
component: tooling-container
commandLine: |
tag=$(curl https://api.github.com/repos/che-incubator/chectl/tags | jq -r '.[0].name') && \
cd /tmp && wget https://github.com/che-incubator/chectl/releases/download/${tag}/chectl-linux-x64.tar.gz && \
mkdir $HOME/chectl && \
tar -xvzf chectl-linux-x64.tar.gz -C $HOME/chectl --strip-components 1 && \
if ! grep -q "export PATH=\$HOME/chectl/bin:\$PATH" $HOME/.bashrc; then echo "export PATH=\$HOME/chectl/bin:\$PATH" >> $HOME/.bashrc; fi
- id: install-goimports
exec:
label: POST START EVENT - Install goimports
component: tooling-container
commandLine: |
$HOME/go1.18/bin/go install golang.org/x/tools/cmd/goimports@latest
- id: go-build
exec:
label: Build Eclipse Che Operator binary
Expand Down

0 comments on commit 72409d3

Please sign in to comment.