Merge branch 'use-on-pull-request-pipelinerun-to-trigger-renovate-builds' into 'main'

Use pull request pipelinerun to trigger renovate konflux builds.

See merge request fedora/bootc/base-images!232
This commit is contained in:
Miguel Martin 2025-06-30 11:33:09 +02:00
commit d8f426333d
16 changed files with 25 additions and 41 deletions

View file

@ -9,9 +9,9 @@ metadata:
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"
(event == "pull_request" && target_branch == "main") ||
(event == "push" && target_branch.startsWith("renovate/"))
) && (
".tekton/fedora-bootc-42-iot-pull-request.yaml".pathChanged() ||
"Containerfile".pathChanged() ||
@ -20,7 +20,7 @@ metadata:
"fedora-includes/generic.yaml".pathChanged() ||
"minimal.yaml".pathChanged() ||
"minimal/***".pathChanged() ||
"minimal-plus.hidden.yaml".pathChanged()
"minimal-plus.hidden.yaml".pathChanged() ||
"minimal-plus/***".pathChanged() ||
"iot.yaml".pathChanged() ||
"iot/***".pathChanged()

View file

@ -8,10 +8,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "push" &&
(
target_branch.matches("renovate/.*") ||
target_branch == "main"
(event == "push" && target_branch == "main")
) && (
".tekton/fedora-bootc-42-iot-push.yaml".pathChanged() ||
"Containerfile".pathChanged() ||

View file

@ -9,9 +9,9 @@ metadata:
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"
(event == "pull_request" && target_branch == "main") ||
(event == "push" && target_branch.startsWith("renovate/"))
) && (
".tekton/fedora-bootc-42-minimal-plus-pull-request.yaml".pathChanged() ||
"Containerfile".pathChanged() ||

View file

@ -8,10 +8,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "push" &&
(
target_branch.matches("renovate/.*") ||
target_branch == "main"
(event == "push" && target_branch == "main")
) && (
".tekton/fedora-bootc-42-minimal-plus-push.yaml".pathChanged() ||
"Containerfile".pathChanged() ||

View file

@ -9,9 +9,9 @@ metadata:
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"
(event == "pull_request" && target_branch == "main") ||
(event == "push" && target_branch.startsWith("renovate/"))
) && (
".tekton/fedora-bootc-42-minimal-pull-request.yaml".pathChanged() ||
"Containerfile".pathChanged() ||

View file

@ -8,10 +8,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "push" &&
(
target_branch.matches("renovate/.*") ||
target_branch == "main"
(event == "push" && target_branch == "main")
) && (
".tekton/fedora-bootc-42-minimal-push.yaml".pathChanged() ||
"Containerfile".pathChanged() ||

View file

@ -9,9 +9,9 @@ metadata:
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"
(event == "pull_request" && target_branch == "main") ||
(event == "push" && target_branch.startsWith("renovate/"))
) && (
".tekton/fedora-bootc-42-standard-pull-request.yaml".pathChanged() ||
"Containerfile".pathChanged() ||

View file

@ -8,10 +8,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "push" &&
(
target_branch.matches("renovate/.*") ||
target_branch == "main"
(event == "push" && target_branch == "main")
) && (
".tekton/fedora-bootc-42-standard-push.yaml".pathChanged() ||
"Containerfile".pathChanged() ||

View file

@ -9,9 +9,9 @@ metadata:
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"
(event == "pull_request" && target_branch == "main") ||
(event == "push" && target_branch.startsWith("renovate/"))
) && (
".tekton/fedora-bootc-rawhide-iot-pull-request.yaml".pathChanged() ||
"Containerfile".pathChanged() ||

View file

@ -8,10 +8,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "push" &&
(
target_branch.matches("renovate/.*") ||
target_branch == "main"
(event == "push" && target_branch == "main")
) && (
".tekton/fedora-bootc-rawhide-iot-push.yaml".pathChanged() ||
"Containerfile".pathChanged() ||

View file

@ -9,9 +9,9 @@ metadata:
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"
(event == "pull_request" && target_branch == "main") ||
(event == "push" && target_branch.startsWith("renovate/"))
) && (
".tekton/fedora-bootc-rawhide-minimal-plus-pull-request.yaml".pathChanged() ||
"Containerfile".pathChanged() ||

View file

@ -8,10 +8,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "push" &&
(
target_branch.matches("renovate/.*") ||
target_branch == "main"
(event == "push" && target_branch == "main")
) && (
".tekton/fedora-bootc-rawhide-minimal-plus-push.yaml".pathChanged() ||
"Containerfile".pathChanged() ||

View file

@ -9,9 +9,9 @@ metadata:
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"
(event == "pull_request" && target_branch == "main") ||
(event == "push" && target_branch.startsWith("renovate/"))
) && (
".tekton/fedora-bootc-rawhide-minimal-pull-request.yaml".pathChanged() ||
"Containerfile".pathChanged() ||

View file

@ -8,10 +8,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "push" &&
(
target_branch.matches("renovate/.*") ||
target_branch == "main"
(event == "push" && target_branch == "main")
) && (
".tekton/fedora-bootc-rawhide-minimal-push.yaml".pathChanged() ||
"Containerfile".pathChanged() ||

View file

@ -9,9 +9,9 @@ metadata:
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"
(event == "pull_request" && target_branch == "main") ||
(event == "push" && target_branch.startsWith("renovate/"))
) && (
".tekton/fedora-bootc-rawhide-standard-pull-request.yaml".pathChanged() ||
"Containerfile".pathChanged() ||

View file

@ -8,10 +8,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "push" &&
(
target_branch.matches("renovate/.*") ||
target_branch == "main"
(event == "push" && target_branch == "main")
) && (
".tekton/fedora-bootc-rawhide-standard-push.yaml".pathChanged() ||
"Containerfile".pathChanged() ||