Update devfile.yaml

This commit is contained in:
Andrew Pitt 2019-12-19 09:10:18 -05:00 committed by GitHub
parent 6345197f6d
commit 54f3ee79f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,4 @@
apiVersion: 1.0.0
metadata:
name: petclinic-gh
projects:
@ -32,7 +33,6 @@ components:
name: JAVA_OPTS
- value: $(JAVA_OPTS)
name: MAVEN_OPTS
apiVersion: 1.0.0
commands:
- name: build
actions:
@ -77,18 +77,3 @@ commands:
type: exec
command: 'MAVEN_OPTS="-Xmx200m" && mvn -Duser.home=${HOME} verify'
component: maven
- name: dependency-analysis
actions:
- workdir: '${CHE_PROJECTS_ROOT}/spring-petclinic'
type: exec
command: >-
${HOME}/stack-analysis.sh -f
${CHE_PROJECTS_ROOT}/spring-petclinic/pom.xml -p
${CHE_PROJECTS_ROOT}/spring-petclinic
component: maven
- name: deploy to OpenShift
actions:
- workdir: '${CHE_PROJECTS_ROOT}/spring-petclinic'
type: exec
command: 'mvn fabric8:deploy -Popenshift -DskipTests'
component: maven