From 3a1cd3b35a32e9314b8efa3fc4f752e015afb571 Mon Sep 17 00:00:00 2001 From: Mykhailo Kuznietsov Date: Mon, 22 Jan 2024 16:14:40 +0200 Subject: [PATCH] fixup! fixup! Update devfile.yaml --- devspaces-operator/devfile.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/devspaces-operator/devfile.yaml b/devspaces-operator/devfile.yaml index 095636a8ed..93aa016732 100644 --- a/devspaces-operator/devfile.yaml +++ b/devspaces-operator/devfile.yaml @@ -13,7 +13,7 @@ schemaVersion: 2.1.0 attributes: controller.devfile.io/storage-type: ephemeral metadata: - name: che-operator + name: devspaces-images components: - name: tooling-container container: @@ -49,7 +49,7 @@ commands: label: POST START EVENT - Install goimports component: tooling-container commandLine: | - $HOME/go1.18/bin/go install golang.org/x/tools/cmd/goimports@latest + go install golang.org/x/tools/cmd/goimports@latest - id: go-build exec: label: Build Eclipse Che Operator binary @@ -74,4 +74,8 @@ commands: exec: label: Update all development resources component: tooling-container - commandLine: make update-dev-resources + commandLine: make update-dev-resources +events: + postStart: + - install-goimports + - install-chectl