Skip to content

Commit 9af1740

Browse files
authored
Merge pull request #489 from securesign/tturek/fix-tekton-1.2
fix(tekton): target_branch and pipeline name for 1.2 release
2 parents b9c3587 + 3d6634d commit 9af1740

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.tekton/cosign-pull-request.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ metadata:
88
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
99
pipelinesascode.tekton.dev/max-keep-runs: "3"
1010
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
11-
== "main" && ( "Dockerfile.cosign.rh".pathChanged() || ".tekton/cosign-pull-request.yaml".pathChanged()
11+
== "release-1.2" && ( "Dockerfile.cosign.rh".pathChanged() || ".tekton/cosign-pull-request.yaml".pathChanged()
1212
|| "cmd/***".pathChanged() || "internal/***".pathChanged() || "pkg/***".pathChanged()
1313
|| "Build.mak".pathChanged() || "Makefile".pathChanged() || "trigger-konflux-builds.txt".pathChanged()
1414
|| "go.mod".pathChanged() || "go.sum".pathChanged() )
@@ -17,7 +17,7 @@ metadata:
1717
appstudio.openshift.io/application: tas-tools-v1-2
1818
appstudio.openshift.io/component: cosign-v1-2
1919
pipelines.appstudio.openshift.io/type: build
20-
name: cosign-on-pull-request
20+
name: cosign-v1-2-on-pull-request
2121
namespace: rhtas-tenant
2222
spec:
2323
params:

.tekton/cosign-push.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
88
pipelinesascode.tekton.dev/max-keep-runs: "3"
99
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
10-
== "main" && ( "Dockerfile.cosign.rh".pathChanged() || ".tekton/cosign-push.yaml".pathChanged()
10+
== "release-1.2" && ( "Dockerfile.cosign.rh".pathChanged() || ".tekton/cosign-push.yaml".pathChanged()
1111
|| "cmd/***".pathChanged() || "internal/***".pathChanged() || "pkg/***".pathChanged()
1212
|| "Build.mak".pathChanged() || "Makefile".pathChanged() || "trigger-konflux-builds.txt".pathChanged()
1313
|| "go.mod".pathChanged() || "go.sum".pathChanged() )
@@ -16,7 +16,7 @@ metadata:
1616
appstudio.openshift.io/application: tas-tools-v1-2
1717
appstudio.openshift.io/component: cosign-v1-2
1818
pipelines.appstudio.openshift.io/type: build
19-
name: cosign-on-push
19+
name: cosign-v1-2-on-push
2020
namespace: rhtas-tenant
2121
spec:
2222
params:

0 commit comments

Comments
 (0)