-
Notifications
You must be signed in to change notification settings - Fork 3
/
dw3.yaml
36 lines (35 loc) · 883 Bytes
/
dw3.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
kind: DevWorkspace
apiVersion: workspace.devfile.io/v1alpha2
metadata:
name: dw
spec:
started: true
template:
attributes:
controller.devfile.io/storage-type: ephemeral
projects:
- name: quarkus-api
git:
remotes:
origin: https://github.com/l0rd/quarkus-api
components:
- name: dev-tooling
container:
image: quay.io/mloriedo/devtools:latest
memoryRequest: 2G
memoryLimit: 10G
cpuRequest: '1'
cpuLimit: '4'
commands:
- id: 1-package
exec:
component: dev-tooling
commandLine: './mvnw clean package -DskipTests=true -Dquarkus.profile=staging'
- id: 2-runtests
exec:
component: dev-tooling
commandLine: './mvnw test'
contributions:
- name: editor
kubernetes:
name: vscode