Created
July 28, 2020 10:04
-
-
Save kadel/657cf68258c68d68ca39bd4142327b05 to your computer and use it in GitHub Desktop.
quarkus test devfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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