Skip to content

Commit

Permalink
Merge pull request redhat-appstudio#2023 from redhat-appstudio/rebuil…
Browse files Browse the repository at this point in the history
…d-all-images-on-pr

Rebuild all images on PR or Minikube will not find the new references
  • Loading branch information
vibe13 authored Aug 5, 2024
2 parents db1df7a + 77190ae commit 60eeb35
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
4 changes: 1 addition & 3 deletions .tekton/build-request-processor-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "main" && ( "/java-components/***".pathChanged() || ".tekton/build-request-processor-pull-request.yaml".pathChanged()
|| "java-components/build-request-processor/src/main/docker/Dockerfile.all-in-one".pathChanged()
)
== "main"
creationTimestamp: null
labels:
appstudio.openshift.io/application: jvm-build-service
Expand Down
4 changes: 1 addition & 3 deletions .tekton/cache-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "main" && ( "/java-components/***".pathChanged() || ".tekton/cache-pull-request.yaml".pathChanged()
|| "java-components/cache/src/main/docker/Dockerfile.all-in-one".pathChanged()
)
== "main"
creationTimestamp: null
labels:
appstudio.openshift.io/application: jvm-build-service
Expand Down
4 changes: 1 addition & 3 deletions .tekton/cli-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "main" && ( "/java-components/***".pathChanged() || ".tekton/cli-pull-request.yaml".pathChanged()
|| "java-components/cli/src/main/docker/Dockerfile.all-in-one".pathChanged()
)
== "main"
creationTimestamp: null
labels:
appstudio.openshift.io/application: jvm-build-service
Expand Down

0 comments on commit 60eeb35

Please sign in to comment.