Skip to content

Commit

Permalink
[bot] update konflux configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
openshift-pipelines-bot authored and openshift-merge-bot[bot] committed Dec 10, 2024
1 parent d731485 commit 668c915
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,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" &&
== "next" &&
("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() ||
".konflux/dockerfiles/operator.Dockerfile".pathChanged() ||
".tekton/operator-next-operator-pull-request.yaml".pathChanged() ||
Expand All @@ -35,8 +35,7 @@ spec:
value: .konflux/dockerfiles/operator.Dockerfile
- name: build-platforms
value:
- linux/arm64
- linux/amd64
- linux/x86_64
- name: prefetch-input
value: |
{"type": "rpm", "path": ".konflux/rpms"}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +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 == "push" && target_branch
== "main" &&
== "next" &&
("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() ||
".konflux/dockerfiles/operator.Dockerfile".pathChanged() ||
".tekton/operator-next-operator-push.yaml".pathChanged() ||
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,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" &&
== "next" &&
("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() ||
".konflux/dockerfiles/proxy.Dockerfile".pathChanged() ||
".tekton/operator-next-proxy-pull-request.yaml".pathChanged() ||
Expand All @@ -35,8 +35,7 @@ spec:
value: .konflux/dockerfiles/proxy.Dockerfile
- name: build-platforms
value:
- linux/arm64
- linux/amd64
- linux/x86_64
- name: prefetch-input
value: |
{"type": "rpm", "path": ".konflux/rpms"}
Expand Down
2 changes: 1 addition & 1 deletion .konflux/tekton/next/.tekton/operator-next-proxy-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +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 == "push" && target_branch
== "main" &&
== "next" &&
("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() ||
".konflux/dockerfiles/proxy.Dockerfile".pathChanged() ||
".tekton/operator-next-proxy-push.yaml".pathChanged() ||
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,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" &&
== "next" &&
("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() ||
".konflux/dockerfiles/webhook.Dockerfile".pathChanged() ||
".tekton/operator-next-webhook-pull-request.yaml".pathChanged() ||
Expand All @@ -35,8 +35,7 @@ spec:
value: .konflux/dockerfiles/webhook.Dockerfile
- name: build-platforms
value:
- linux/arm64
- linux/amd64
- linux/x86_64
- name: prefetch-input
value: |
{"type": "rpm", "path": ".konflux/rpms"}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +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 == "push" && target_branch
== "main" &&
== "next" &&
("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() ||
".konflux/dockerfiles/webhook.Dockerfile".pathChanged() ||
".tekton/operator-next-webhook-push.yaml".pathChanged() ||
Expand Down
3 changes: 1 addition & 2 deletions .tekton/operator-main-operator-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ spec:
value: .konflux/dockerfiles/operator.Dockerfile
- name: build-platforms
value:
- linux/arm64
- linux/amd64
- linux/x86_64
- name: prefetch-input
value: |
{"type": "rpm", "path": ".konflux/rpms"}
Expand Down
3 changes: 1 addition & 2 deletions .tekton/operator-main-proxy-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ spec:
value: .konflux/dockerfiles/proxy.Dockerfile
- name: build-platforms
value:
- linux/arm64
- linux/amd64
- linux/x86_64
- name: prefetch-input
value: |
{"type": "rpm", "path": ".konflux/rpms"}
Expand Down
3 changes: 1 addition & 2 deletions .tekton/operator-main-webhook-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ spec:
value: .konflux/dockerfiles/webhook.Dockerfile
- name: build-platforms
value:
- linux/arm64
- linux/amd64
- linux/x86_64
- name: prefetch-input
value: |
{"type": "rpm", "path": ".konflux/rpms"}
Expand Down

0 comments on commit 668c915

Please sign in to comment.