# # Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ # # SPDX-License-Identifier: EPL-2.0 # # Contributors: # Red Hat, Inc. - initial API and implementation # metadata: name: che-operator projects: - name: che-operator source: location: 'https://github.com/eclipse-che/che-operator.git' type: git branch: main clonePath: src/github.com/eclipse-che/che-operator components: - id: golang/go/latest memoryLimit: 1G preferences: go.lintFlags: '--fast' go.useLanguageServer: true go.lintTool: golangci-lint type: chePlugin alias: ms-vscode.go env: - value: 'on' name: GO111MODULE - mountSources: true memoryLimit: 1G type: dockerimage alias: dev image: 'quay.io/eclipse/che-golang-1.14:next' env: - value: /go name: GOPATH - value: /tmp/.cache name: GOCACHE apiVersion: 1.0.0 commands: - name: Compile actions: - workdir: /projects/src/github.com/eclipse-che/che-operator type: exec command: make compile component: dev - name: Format actions: - workdir: /projects/src/github.com/eclipse-che/che-operator type: exec command: 'make fmt' component: dev