Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .tekton/exhort-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
build.appstudio.redhat.com/commit_sha: '{{revision}}'
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/cancel-in-progress: "true"
pipelinesascode.tekton.dev/max-keep-runs: "3"
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]") )
creationTimestamp: null
Expand All @@ -22,7 +23,7 @@ spec:
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/redhat-user-workloads/trusted-content-tenant/exhort/exhort:on-pr-{{revision}}
value: quay.io/redhat-user-workloads/trusted-content-tenant/exhort:on-pr-{{revision}}
- name: image-expires-after
value: 5d
- name: dockerfile
Expand Down
7 changes: 4 additions & 3 deletions .tekton/exhort-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ metadata:
build.appstudio.openshift.io/repo: https://github.com/trustification/exhort?rev={{revision}}
build.appstudio.redhat.com/commit_sha: '{{revision}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/cancel-in-progress: "true"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-event: '[push]'
pipelinesascode.tekton.dev/on-target-branch: '[main]'
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
== "main"
creationTimestamp: null
labels:
appstudio.openshift.io/application: exhort
Expand All @@ -22,7 +23,7 @@ spec:
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/redhat-user-workloads/trusted-content-tenant/exhort/exhort:{{revision}}
value: quay.io/redhat-user-workloads/trusted-content-tenant/exhort:{{revision}}
- name: dockerfile
value: src/main/docker/Dockerfile.jvm.staged
- name: path-context
Expand Down
7 changes: 6 additions & 1 deletion .tekton/openjdk-redis-6gb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,18 @@ spec:
params:
- name: JDK_IMAGE
description: Reference of the image buildah will produce.
default: registry.redhat.io/ubi9/openjdk-21:1.18
default: registry.redhat.io/ubi9/openjdk-21:1.22
- name: REDIS_IMAGE
description: The location of the buildah builder image.
default: docker.io/redis/redis-stack:7.2.0-v7
- name: SCRIPT
description: The script to execute in the jdk image
default: |
echo "Java version:"
java -version
echo "Maven version:"
mvn --version
echo "Running mvn verify..."
mvn -B verify
workspaces:
- name: source
Expand Down
Loading