Skip to content

Instantly share code, notes, and snippets.

@kadel
Created July 28, 2020 10:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kadel/657cf68258c68d68ca39bd4142327b05 to your computer and use it in GitHub Desktop.
Save kadel/657cf68258c68d68ca39bd4142327b05 to your computer and use it in GitHub Desktop.
quarkus test devfile
schemaVersion: 2.0.0
metadata:
name: java-quarkus
version: 1.0.0
website: https://quarkus.io
projects:
- name: quarkus-ex
git:
location: https://github.com/odo-devfiles/quarkus-ex
components:
- container:
name: tools
image: quay.io/eclipse/che-quarkus:nightly
memoryLimit: 1512Mi
mountSources: true
volumeMounts:
- name: m2
path: /home/user/.m2
endpoints:
- name: '8080/http'
targetPort: 8080
- volume:
name: m2
size: 3Gi
commands:
- exec:
id: init-compile
component: tools
commandLine: "mvn compile"
workingDir: $CHE_PROJECTS_ROOT/quarkus-ex
- exec:
id: dev-run
component: tools
commandLine: "mvn quarkus:dev"
attributes:
restart: "false"
group:
kind: run
isDefault: true
workingDir: $CHE_PROJECTS_ROOT/quarkus-ex
events:
postStart:
- init-compile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment