File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ metadata:
66 build.appstudio.redhat.com/commit_sha : ' {{revision}}'
77 build.appstudio.redhat.com/pull_request_number : ' {{pull_request_number}}'
88 build.appstudio.redhat.com/target_branch : ' {{target_branch}}'
9+ pipelinesascode.tekton.dev/cancel-in-progress : " true"
910 pipelinesascode.tekton.dev/max-keep-runs : " 3"
1011 pipelinesascode.tekton.dev/on-cel-expression : event == "pull_request" && target_branch == "main" && ( ".tekton/exhort-pull-request.yaml".pathChanged() || "ui/*".pathChanged() || "src/*".pathChanged() || "api-spec/*".pathChanged() || "pom.xml".pathChanged() ) && !( event_title.contains("[skip ci]") || event_title.contains("[ci skip]") )
1112 creationTimestamp : null
2223 - name : revision
2324 value : ' {{revision}}'
2425 - name : output-image
25- value : quay.io/redhat-user-workloads/trusted-content-tenant/exhort/exhort :on-pr-{{revision}}
26+ value : quay.io/redhat-user-workloads/trusted-content-tenant/exhort:on-pr-{{revision}}
2627 - name : image-expires-after
2728 value : 5d
2829 - name : dockerfile
Original file line number Diff line number Diff line change @@ -5,9 +5,10 @@ metadata:
55 build.appstudio.openshift.io/repo : https://github.com/trustification/exhort?rev={{revision}}
66 build.appstudio.redhat.com/commit_sha : ' {{revision}}'
77 build.appstudio.redhat.com/target_branch : ' {{target_branch}}'
8+ pipelinesascode.tekton.dev/cancel-in-progress : " true"
89 pipelinesascode.tekton.dev/max-keep-runs : " 3"
9- pipelinesascode.tekton.dev/on-event : ' [ push] '
10- pipelinesascode.tekton.dev/on-target-branch : ' [ main] '
10+ pipelinesascode.tekton.dev/on-cel-expression : event == " push" && target_branch
11+ == " main"
1112 creationTimestamp : null
1213 labels :
1314 appstudio.openshift.io/application : exhort
2223 - name : revision
2324 value : ' {{revision}}'
2425 - name : output-image
25- value : quay.io/redhat-user-workloads/trusted-content-tenant/exhort/exhort :{{revision}}
26+ value : quay.io/redhat-user-workloads/trusted-content-tenant/exhort:{{revision}}
2627 - name : dockerfile
2728 value : src/main/docker/Dockerfile.jvm.staged
2829 - name : path-context
Original file line number Diff line number Diff line change @@ -15,13 +15,18 @@ spec:
1515 params :
1616 - name : JDK_IMAGE
1717 description : Reference of the image buildah will produce.
18- default : registry.redhat.io/ubi9/openjdk-21:1.18
18+ default : registry.redhat.io/ubi9/openjdk-21:1.22
1919 - name : REDIS_IMAGE
2020 description : The location of the buildah builder image.
2121 default : docker.io/redis/redis-stack:7.2.0-v7
2222 - name : SCRIPT
2323 description : The script to execute in the jdk image
2424 default : |
25+ echo "Java version:"
26+ java -version
27+ echo "Maven version:"
28+ mvn --version
29+ echo "Running mvn verify..."
2530 mvn -B verify
2631 workspaces :
2732 - name : source
You can’t perform that action at this time.
0 commit comments