@@ -2,13 +2,16 @@ apiVersion: tekton.dev/v1
2
2
kind : PipelineRun
3
3
metadata :
4
4
annotations :
5
+ build.appstudio.openshift.io/build-nudge-files : controllers/constants/*
5
6
build.appstudio.openshift.io/repo : https://github.com/securesign/rekor?rev={{revision}}
6
7
build.appstudio.redhat.com/commit_sha : ' {{revision}}'
7
8
build.appstudio.redhat.com/target_branch : ' {{target_branch}}'
8
9
pipelinesascode.tekton.dev/max-keep-runs : " 3"
9
- pipelinesascode.tekton.dev/on-cel-expression : event == "push" && target_branch == "main" &&
10
- ( "Dockerfile.backfill-redis.rh".pathChanged() || ".tekton/backfill-redis-push.yaml".pathChanged() || "trigger-konflux-builds.txt".pathChanged() || "go.mod".pathChanged() || "go.sum".pathChanged() || "cmd/backfill-redis".pathChanged() || "pkg".pathChanged() || "Makefile".pathChanged() )
11
- build.appstudio.openshift.io/build-nudge-files : " controllers/constants/*"
10
+ pipelinesascode.tekton.dev/on-cel-expression : event == "push" && target_branch
11
+ == "main" && ( "Dockerfile.backfill-redis.rh".pathChanged() || ".tekton/backfill-redis-push.yaml".pathChanged()
12
+ || "trigger-konflux-builds.txt".pathChanged() || "go.mod".pathChanged() || "go.sum".pathChanged()
13
+ || "cmd/backfill-redis".pathChanged() || "pkg".pathChanged() || "Makefile".pathChanged()
14
+ )
12
15
creationTimestamp : null
13
16
labels :
14
17
appstudio.openshift.io/application : rekor
@@ -33,32 +36,33 @@ spec:
33
36
- name : hermetic
34
37
value : " true"
35
38
- name : prefetch-input
36
- value : [{"path": ".", "type": "gomod"}, {"path": "./hack/tools", "type": "gomod"}]
39
+ value : ' [{"path":".","type":"gomod"},{"path":"./hack/tools","type":"gomod"}]'
37
40
- name : go_unit_test
38
- value : true
41
+ value : " true"
39
42
- name : go_base_image
40
43
value : brew.registry.redhat.io/rh-osbs/openshift-golang-builder:v1.23.4@sha256:5c6607f82aeb2cd3f71075d17555d4170b17927e8551967d2fd0e534b22b1c7b
41
- taskRunSpecs :
42
- - pipelineTaskName : prefetch-dependencies
43
- stepSpecs :
44
- - name : prefetch-dependencies
45
- computeResources :
46
- requests :
47
- cpu : ' 3'
48
- memory : 3Gi
49
- limits :
50
- cpu : ' 3'
51
- memory : 3Gi
52
44
pipelineRef :
53
- resolver : git
54
45
params :
55
- - name : url
56
- value : ' https://github.com/securesign/pipelines.git'
57
- - name : revision
58
- value : ' main'
59
- - name : pathInRepo
60
- value : ' pipelines/docker-build-oci-ta.yaml'
61
- taskRunTemplate : {}
46
+ - name : url
47
+ value : https://github.com/securesign/pipelines.git
48
+ - name : revision
49
+ value : main
50
+ - name : pathInRepo
51
+ value : pipelines/docker-build-oci-ta.yaml
52
+ resolver : git
53
+ taskRunSpecs :
54
+ - pipelineTaskName : prefetch-dependencies
55
+ stepSpecs :
56
+ - computeResources :
57
+ limits :
58
+ cpu : " 3"
59
+ memory : 3Gi
60
+ requests :
61
+ cpu : " 3"
62
+ memory : 3Gi
63
+ name : prefetch-dependencies
64
+ taskRunTemplate :
65
+ serviceAccountName : build-pipeline-backfill-redis
62
66
workspaces :
63
67
- name : git-auth
64
68
secret :
0 commit comments