Skip to content

Commit 1b2f0b8

Browse files
red-hat-konflux[bot]konflux
andauthored
Konflux build pipeline service account migration for exhort (#412)
Signed-off-by: konflux <[email protected]> Co-authored-by: konflux <[email protected]>
1 parent da03b6b commit 1b2f0b8

File tree

2 files changed

+32
-22
lines changed

2 files changed

+32
-22
lines changed

.tekton/exhort-pull-request.yaml

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ 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 == "main" && ( !( event_title.contains("[skip ci]") || event_title.contains("[ci skip]") ))
11+
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
12+
== "main" && ( !( event_title.contains("[skip ci]") || event_title.contains("[ci
13+
skip]") ))
1214
creationTimestamp: null
1315
labels:
1416
appstudio.openshift.io/application: exhort
@@ -34,24 +36,26 @@ spec:
3436
value: ../../../entitlement/gh-creds.txt
3537
- name: entitlement-secret
3638
value: gh-credentials
37-
taskRunSpecs:
38-
- pipelineTaskName: build-container
39-
stepSpecs:
40-
- name: build
41-
computeResources:
42-
requests:
43-
memory: 8Gi
44-
limits:
45-
memory: 8Gi
4639
pipelineRef:
47-
resolver: git
4840
params:
4941
- name: url
5042
value: https://github.com/trustification/dependency-analytics-pipelines
5143
- name: revision
5244
value: main
5345
- name: pathInRepo
5446
value: pipelines/default-build.yaml
47+
resolver: git
48+
taskRunSpecs:
49+
- pipelineTaskName: build-container
50+
stepSpecs:
51+
- computeResources:
52+
limits:
53+
memory: 8Gi
54+
requests:
55+
memory: 8Gi
56+
name: build
57+
taskRunTemplate:
58+
serviceAccountName: build-pipeline-exhort
5559
workspaces:
5660
- name: workspace
5761
volumeClaimTemplate:
@@ -63,9 +67,11 @@ spec:
6367
resources:
6468
requests:
6569
storage: 4Gi
70+
status: {}
6671
- name: git-auth
6772
secret:
6873
secretName: '{{ git_auth_secret }}'
6974
- name: mvn-settings
7075
secret:
71-
secretName: exhort-mvn-settings
76+
secretName: exhort-mvn-settings
77+
status: {}

.tekton/exhort-push.yaml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,24 +32,26 @@ spec:
3232
value: ../../../entitlement/gh-creds.txt
3333
- name: entitlement-secret
3434
value: gh-credentials
35-
taskRunSpecs:
36-
- pipelineTaskName: build-container
37-
stepSpecs:
38-
- name: build
39-
computeResources:
40-
requests:
41-
memory: 8Gi
42-
limits:
43-
memory: 8Gi
4435
pipelineRef:
45-
resolver: git
4636
params:
4737
- name: url
4838
value: https://github.com/trustification/dependency-analytics-pipelines
4939
- name: revision
5040
value: main
5141
- name: pathInRepo
5242
value: pipelines/default-build.yaml
43+
resolver: git
44+
taskRunSpecs:
45+
- pipelineTaskName: build-container
46+
stepSpecs:
47+
- computeResources:
48+
limits:
49+
memory: 8Gi
50+
requests:
51+
memory: 8Gi
52+
name: build
53+
taskRunTemplate:
54+
serviceAccountName: build-pipeline-exhort
5355
workspaces:
5456
- name: workspace
5557
volumeClaimTemplate:
@@ -61,9 +63,11 @@ spec:
6163
resources:
6264
requests:
6365
storage: 2Gi
66+
status: {}
6467
- name: git-auth
6568
secret:
6669
secretName: '{{ git_auth_secret }}'
6770
- name: mvn-settings
6871
secret:
6972
secretName: exhort-mvn-settings
73+
status: {}

0 commit comments

Comments
 (0)