62 lines
1.6 KiB
YAML
62 lines
1.6 KiB
YAML
#
|
|
# Copyright (c) 2019-2023 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
|
|
#
|
|
schemaVersion: 2.1.0
|
|
attributes:
|
|
controller.devfile.io/storage-type: ephemeral
|
|
metadata:
|
|
name: che-operator
|
|
components:
|
|
- name: tooling-container
|
|
container:
|
|
image: quay.io/eclipse/che-operator-dev:latest
|
|
memoryRequest: 2Gi
|
|
memoryLimit: 16Gi
|
|
cpuRequest: 2000m
|
|
cpuLimit: 6000m
|
|
env:
|
|
- name: GO111MODULE
|
|
value: 'on'
|
|
- name: GOPATH
|
|
value: /home/user/go
|
|
- name: GOCACHE
|
|
value: /tmp/.cache
|
|
- name: IMAGE_TOOL
|
|
value: podman
|
|
- name: KUBECONFIG
|
|
value: /home/user/.kube/config
|
|
commands:
|
|
- id: go-build
|
|
exec:
|
|
label: Build Eclipse Che Operator binary
|
|
component: tooling-container
|
|
commandLine: make build
|
|
- id: go-run
|
|
exec:
|
|
label: Run Eclipse Che Operator
|
|
component: tooling-container
|
|
commandLine: make run
|
|
- id: go-test
|
|
exec:
|
|
label: Run unit tests
|
|
component: tooling-container
|
|
commandLine: make test
|
|
- id: go-debug
|
|
exec:
|
|
label: Run and debug Eclipse Che Operator
|
|
component: tooling-container
|
|
commandLine: make debug
|
|
- id: update-dev-resources
|
|
exec:
|
|
label: Update all development resources
|
|
component: tooling-container
|
|
commandLine: make update-dev-resources
|