Skip to content

Commit 7817c9b

Browse files
Merge pull request #256 from skoppera/OSD-30506
OSD-30506: Adding konflux build files and renovate config changes
2 parents 6bd36c8 + 54ad1a0 commit 7817c9b

File tree

3 files changed

+20
-4
lines changed

3 files changed

+20
-4
lines changed

.github/renovate.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"github>openshift/boilerplate//.github/renovate.json"
5+
]
6+
}

.tekton/gcp-project-operator-pull-request.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,13 @@ metadata:
88
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
99
pipelinesascode.tekton.dev/cancel-in-progress: "true"
1010
pipelinesascode.tekton.dev/max-keep-runs: "3"
11-
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
12-
== "master"
11+
pipelinesascode.tekton.dev/on-cel-expression: |
12+
event == "pull_request"
13+
&& target_branch == "master"
14+
&& ("**/*.go".pathChanged() ||
15+
"**/go.*".pathChanged() ||
16+
"build/Dockerfile".pathChanged() ||
17+
".tekton/gcp-project-operator-pull-request.yaml".pathChanged() )
1318
creationTimestamp: null
1419
labels:
1520
appstudio.openshift.io/application: gcp-project-operator

.tekton/gcp-project-operator-push.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,13 @@ metadata:
77
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
88
pipelinesascode.tekton.dev/cancel-in-progress: "false"
99
pipelinesascode.tekton.dev/max-keep-runs: "3"
10-
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
11-
== "master"
10+
pipelinesascode.tekton.dev/on-cel-expression: |
11+
event == "push"
12+
&& target_branch == "master"
13+
&& ("**/*.go".pathChanged() ||
14+
"**/go.*".pathChanged() ||
15+
"build/Dockerfile".pathChanged() ||
16+
".tekton/gcp-project-operator-push.yaml".pathChanged() )
1217
creationTimestamp: null
1318
labels:
1419
appstudio.openshift.io/application: gcp-project-operator

0 commit comments

Comments
 (0)