Skip to content

Commit

Permalink
Added a new task to deploy the resources: svc, deploymentconfig, etc …
Browse files Browse the repository at this point in the history
…on ocp. #15

Signed-off-by: cmoulliard <cmoulliard@redhat.com>
  • Loading branch information
cmoulliard committed Nov 22, 2023
1 parent 10348f6 commit 119347a
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion pipelines/pipelines/quarkus-maven-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,33 @@ spec:
# $PODMAN_CMD kill $CONTAINER_ID
# $PODMAN_CMD rm $CONTAINER_ID
- name: maven
- name: maven-build
runAfter:
- virtualmachine
taskRef:
name: maven
params:
- name: DOCKER_HOST
value: "tcp://$(tasks.virtualmachine.results.ip):2376"
workspaces:
- name: maven-settings
workspace: maven-settings
- name: project-dir
workspace: project-dir

- name: maven-deploy
runAfter:
- maven-build
taskRef:
name: maven
params:
- name: DOCKER_HOST
value: "tcp://$(tasks.virtualmachine.results.ip):2376"
- name: GOALS
value:
- quarkus:deploy
- -Dquarkus.openshift.deploy=true
- -Dquarkus.log.level=DEBUG
workspaces:
- name: maven-settings
workspace: maven-settings
Expand Down

0 comments on commit 119347a

Please sign in to comment.