Skip to content

Commit 6bc0393

Browse files
Merge pull request outrigger-project#618 from openshift/konflux-sa-migration-fbc-v4-16
Konflux build pipeline service account migration
2 parents fe154c2 + 65a5b3b commit 6bc0393

File tree

2 files changed

+82
-80
lines changed

2 files changed

+82
-80
lines changed

.tekton/fbc-v4-16-pull-request.yaml

Lines changed: 42 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -18,47 +18,48 @@ metadata:
1818
namespace: multiarch-tuning-ope-tenant
1919
spec:
2020
params:
21-
- name: dockerfile
22-
value: Dockerfile
23-
- name: git-url
24-
value: '{{source_url}}'
25-
- name: image-expires-after
26-
value: 5d
27-
- name: output-image
28-
value: quay.io/redhat-user-workloads/multiarch-tuning-ope-tenant/fbc-v4-16/fbc-v4-16:on-pr-{{revision}}
29-
- name: path-context
30-
value: .
31-
- name: revision
32-
value: '{{revision}}'
33-
- name: hermetic
34-
value: "true"
35-
- name: BUILD_ARGS
36-
value:
37-
- 'BASE_IMAGE=registry.redhat.io/openshift4/ose-operator-registry-rhel9:v4.16'
38-
- 'OCP_VERSION=fbc-v4-16'
39-
taskRunTemplate: {}
21+
- name: dockerfile
22+
value: Dockerfile
23+
- name: git-url
24+
value: '{{source_url}}'
25+
- name: image-expires-after
26+
value: 5d
27+
- name: output-image
28+
value: quay.io/redhat-user-workloads/multiarch-tuning-ope-tenant/fbc-v4-16/fbc-v4-16:on-pr-{{revision}}
29+
- name: path-context
30+
value: .
31+
- name: revision
32+
value: '{{revision}}'
33+
- name: hermetic
34+
value: "true"
35+
- name: BUILD_ARGS
36+
value:
37+
- BASE_IMAGE=registry.redhat.io/openshift4/ose-operator-registry-rhel9:v4.16
38+
- OCP_VERSION=fbc-v4-16
4039
pipelineRef:
41-
resolver: bundles
4240
params:
43-
- name: name
44-
value: fbc-builder
45-
- name: bundle
46-
value: quay.io/konflux-ci/tekton-catalog/pipeline-fbc-builder:devel@sha256:711937676da6ba4d75d22fb5130bf6b160c70bd2341f95fdecebd107f1142ead
47-
- name: kind
48-
value: pipeline
41+
- name: name
42+
value: fbc-builder
43+
- name: bundle
44+
value: quay.io/konflux-ci/tekton-catalog/pipeline-fbc-builder:devel@sha256:711937676da6ba4d75d22fb5130bf6b160c70bd2341f95fdecebd107f1142ead
45+
- name: kind
46+
value: pipeline
47+
resolver: bundles
48+
taskRunTemplate:
49+
serviceAccountName: build-pipeline-fbc-v4-16
4950
workspaces:
50-
- name: workspace
51-
volumeClaimTemplate:
52-
metadata:
53-
creationTimestamp: null
54-
spec:
55-
accessModes:
56-
- ReadWriteOnce
57-
resources:
58-
requests:
59-
storage: 1Gi
60-
status: {}
61-
- name: git-auth
62-
secret:
63-
secretName: '{{ git_auth_secret }}'
64-
status: {}
51+
- name: workspace
52+
volumeClaimTemplate:
53+
metadata:
54+
creationTimestamp: null
55+
spec:
56+
accessModes:
57+
- ReadWriteOnce
58+
resources:
59+
requests:
60+
storage: 1Gi
61+
status: {}
62+
- name: git-auth
63+
secret:
64+
secretName: '{{ git_auth_secret }}'
65+
status: {}

.tekton/fbc-v4-16-push.yaml

Lines changed: 40 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -17,45 +17,46 @@ metadata:
1717
namespace: multiarch-tuning-ope-tenant
1818
spec:
1919
params:
20-
- name: dockerfile
21-
value: Dockerfile
22-
- name: git-url
23-
value: '{{source_url}}'
24-
- name: output-image
25-
value: quay.io/redhat-user-workloads/multiarch-tuning-ope-tenant/fbc-v4-16/fbc-v4-16:{{revision}}
26-
- name: path-context
27-
value: .
28-
- name: revision
29-
value: '{{revision}}'
30-
- name: hermetic
31-
value: "true"
32-
- name: BUILD_ARGS
33-
value:
34-
- 'BASE_IMAGE=registry.redhat.io/openshift4/ose-operator-registry-rhel9:v4.16'
35-
- 'OCP_VERSION=fbc-v4-16'
36-
taskRunTemplate: {}
20+
- name: dockerfile
21+
value: Dockerfile
22+
- name: git-url
23+
value: '{{source_url}}'
24+
- name: output-image
25+
value: quay.io/redhat-user-workloads/multiarch-tuning-ope-tenant/fbc-v4-16/fbc-v4-16:{{revision}}
26+
- name: path-context
27+
value: .
28+
- name: revision
29+
value: '{{revision}}'
30+
- name: hermetic
31+
value: "true"
32+
- name: BUILD_ARGS
33+
value:
34+
- BASE_IMAGE=registry.redhat.io/openshift4/ose-operator-registry-rhel9:v4.16
35+
- OCP_VERSION=fbc-v4-16
3736
pipelineRef:
38-
resolver: bundles
3937
params:
40-
- name: name
41-
value: fbc-builder
42-
- name: bundle
43-
value: quay.io/konflux-ci/tekton-catalog/pipeline-fbc-builder:devel@sha256:711937676da6ba4d75d22fb5130bf6b160c70bd2341f95fdecebd107f1142ead
44-
- name: kind
45-
value: pipeline
38+
- name: name
39+
value: fbc-builder
40+
- name: bundle
41+
value: quay.io/konflux-ci/tekton-catalog/pipeline-fbc-builder:devel@sha256:711937676da6ba4d75d22fb5130bf6b160c70bd2341f95fdecebd107f1142ead
42+
- name: kind
43+
value: pipeline
44+
resolver: bundles
45+
taskRunTemplate:
46+
serviceAccountName: build-pipeline-fbc-v4-16
4647
workspaces:
47-
- name: workspace
48-
volumeClaimTemplate:
49-
metadata:
50-
creationTimestamp: null
51-
spec:
52-
accessModes:
53-
- ReadWriteOnce
54-
resources:
55-
requests:
56-
storage: 1Gi
57-
status: {}
58-
- name: git-auth
59-
secret:
60-
secretName: '{{ git_auth_secret }}'
61-
status: {}
48+
- name: workspace
49+
volumeClaimTemplate:
50+
metadata:
51+
creationTimestamp: null
52+
spec:
53+
accessModes:
54+
- ReadWriteOnce
55+
resources:
56+
requests:
57+
storage: 1Gi
58+
status: {}
59+
- name: git-auth
60+
secret:
61+
secretName: '{{ git_auth_secret }}'
62+
status: {}

0 commit comments

Comments
 (0)