Skip to content

Commit 2e40d1e

Browse files
Merge pull request #21729 from joeg-pro/joeg-onboard-backplane-must-gather
backplane: Onboard backplane-must-gather for Multicluster Backplane 1.0
2 parents d3c5aea + 949b414 commit 2e40d1e

8 files changed

+538
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools.
2+
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md
3+
4+
approvers:
5+
- cameronmwall
6+
- jakobgray
7+
- joeg-pro
8+
- nathanweatherly
9+
- zkayyali812
10+
options: {}
11+
reviewers:
12+
- cameronmwall
13+
- jakobgray
14+
- joeg-pro
15+
- nathanweatherly
16+
- zkayyali812
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
base_images:
2+
cli:
3+
name: "4.8"
4+
namespace: ocp
5+
tag: cli
6+
ocp_4.7_cli:
7+
name: "4.7"
8+
namespace: ocp
9+
tag: cli
10+
build_root:
11+
image_stream_tag:
12+
name: builder
13+
namespace: open-cluster-management
14+
tag: go1.16-linux
15+
images:
16+
- dockerfile_path: Dockerfile.prow
17+
from: cli
18+
inputs:
19+
ocp_4.7_cli:
20+
as:
21+
- registry.ci.openshift.org/ocp/4.7:cli
22+
to: backplane-must-gather
23+
promotion:
24+
disabled: true
25+
name: "1.0"
26+
namespace: open-cluster-management
27+
resources:
28+
'*':
29+
requests:
30+
cpu: 100m
31+
memory: 200Mi
32+
tests:
33+
- as: test-unit
34+
commands: make -f Makefile.prow unit-test
35+
container:
36+
from: src
37+
- as: publish
38+
postsubmit: true
39+
steps:
40+
dependencies:
41+
SOURCE_IMAGE_REF: backplane-must-gather
42+
env:
43+
IMAGE_REPO: backplane-must-gather
44+
REGISTRY_ORG: open-cluster-management
45+
test:
46+
- as: publish
47+
commands: |-
48+
export OSCI_IMAGE_REMOTE_REPO_SRC="registry.ci.openshift.org/open-cluster-management"
49+
export OSCI_PIPELINE_PRODUCT_PREFIX=backplane
50+
export OSCI_PIPELINE_REPO=backplane-pipeline
51+
export SELF="make -f Makefile.prow"
52+
export OSCI_PUBLISH_DELAY="0"
53+
make -f Makefile.prow osci/publish
54+
credentials:
55+
- mount_path: /etc/github
56+
name: acm-cicd-github
57+
namespace: test-credentials
58+
from: src
59+
resources:
60+
requests:
61+
cpu: 100m
62+
memory: 200Mi
63+
workflow: ocm-ci-image-mirror
64+
zz_generated_metadata:
65+
branch: backplane-1.0
66+
org: open-cluster-management
67+
repo: backplane-must-gather
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
base_images:
2+
cli:
3+
name: "4.7"
4+
namespace: ocp
5+
tag: cli
6+
build_root:
7+
image_stream_tag:
8+
name: builder
9+
namespace: open-cluster-management
10+
tag: go1.16-linux
11+
images:
12+
- dockerfile_path: Dockerfile.prow
13+
from: cli
14+
inputs:
15+
cli:
16+
as:
17+
- registry.ci.openshift.org/ocp/4.7:cli
18+
to: backplane-must-gather
19+
promotion:
20+
name: "1.0"
21+
namespace: open-cluster-management
22+
resources:
23+
'*':
24+
requests:
25+
cpu: 100m
26+
memory: 200Mi
27+
tests:
28+
- as: backplane-fast-forward
29+
postsubmit: true
30+
steps:
31+
env:
32+
DESTINATION_BRANCH: backplane-1.0
33+
workflow: ocm-ci-fastforward
34+
- as: test-unit
35+
commands: make -f Makefile.prow unit-test
36+
container:
37+
from: src
38+
zz_generated_metadata:
39+
branch: main
40+
org: open-cluster-management
41+
repo: backplane-must-gather
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools.
2+
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md
3+
4+
approvers:
5+
- cameronmwall
6+
- jakobgray
7+
- joeg-pro
8+
- nathanweatherly
9+
- zkayyali812
10+
options: {}
11+
reviewers:
12+
- cameronmwall
13+
- jakobgray
14+
- joeg-pro
15+
- nathanweatherly
16+
- zkayyali812
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
postsubmits:
2+
open-cluster-management/backplane-must-gather:
3+
- agent: kubernetes
4+
branches:
5+
- ^backplane-1\.0$
6+
cluster: build02
7+
decorate: true
8+
decoration_config:
9+
skip_cloning: true
10+
labels:
11+
ci-operator.openshift.io/is-promotion: "true"
12+
ci-operator.openshift.io/prowgen-controlled: "true"
13+
max_concurrency: 1
14+
name: branch-ci-open-cluster-management-backplane-must-gather-backplane-1.0-images
15+
spec:
16+
containers:
17+
- args:
18+
- --gcs-upload-secret=/secrets/gcs/service-account.json
19+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
20+
- --image-mirror-push-secret=/etc/push-secret/.dockerconfigjson
21+
- --promote
22+
- --report-credentials-file=/etc/report/credentials
23+
- --target=[images]
24+
command:
25+
- ci-operator
26+
image: ci-operator:latest
27+
imagePullPolicy: Always
28+
name: ""
29+
resources:
30+
requests:
31+
cpu: 10m
32+
volumeMounts:
33+
- mountPath: /secrets/gcs
34+
name: gcs-credentials
35+
readOnly: true
36+
- mountPath: /etc/pull-secret
37+
name: pull-secret
38+
readOnly: true
39+
- mountPath: /etc/push-secret
40+
name: push-secret
41+
readOnly: true
42+
- mountPath: /etc/report
43+
name: result-aggregator
44+
readOnly: true
45+
serviceAccountName: ci-operator
46+
volumes:
47+
- name: pull-secret
48+
secret:
49+
secretName: registry-pull-credentials
50+
- name: push-secret
51+
secret:
52+
secretName: registry-push-credentials-ci-central
53+
- name: result-aggregator
54+
secret:
55+
secretName: result-aggregator
56+
- agent: kubernetes
57+
branches:
58+
- ^backplane-1\.0$
59+
cluster: build02
60+
decorate: true
61+
decoration_config:
62+
skip_cloning: true
63+
labels:
64+
ci-operator.openshift.io/prowgen-controlled: "true"
65+
max_concurrency: 1
66+
name: branch-ci-open-cluster-management-backplane-must-gather-backplane-1.0-publish
67+
spec:
68+
containers:
69+
- args:
70+
- --gcs-upload-secret=/secrets/gcs/service-account.json
71+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
72+
- --report-credentials-file=/etc/report/credentials
73+
- --target=publish
74+
command:
75+
- ci-operator
76+
image: ci-operator:latest
77+
imagePullPolicy: Always
78+
name: ""
79+
resources:
80+
requests:
81+
cpu: 10m
82+
volumeMounts:
83+
- mountPath: /secrets/gcs
84+
name: gcs-credentials
85+
readOnly: true
86+
- mountPath: /etc/pull-secret
87+
name: pull-secret
88+
readOnly: true
89+
- mountPath: /etc/report
90+
name: result-aggregator
91+
readOnly: true
92+
serviceAccountName: ci-operator
93+
volumes:
94+
- name: pull-secret
95+
secret:
96+
secretName: registry-pull-credentials
97+
- name: result-aggregator
98+
secret:
99+
secretName: result-aggregator
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
presubmits:
2+
open-cluster-management/backplane-must-gather:
3+
- agent: kubernetes
4+
always_run: true
5+
branches:
6+
- ^backplane-1\.0$
7+
- ^backplane-1\.0-
8+
cluster: build01
9+
context: ci/prow/images
10+
decorate: true
11+
decoration_config:
12+
skip_cloning: true
13+
labels:
14+
ci-operator.openshift.io/prowgen-controlled: "true"
15+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
16+
name: pull-ci-open-cluster-management-backplane-must-gather-backplane-1.0-images
17+
rerun_command: /test images
18+
spec:
19+
containers:
20+
- args:
21+
- --gcs-upload-secret=/secrets/gcs/service-account.json
22+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
23+
- --report-credentials-file=/etc/report/credentials
24+
- --target=[images]
25+
command:
26+
- ci-operator
27+
image: ci-operator:latest
28+
imagePullPolicy: Always
29+
name: ""
30+
resources:
31+
requests:
32+
cpu: 10m
33+
volumeMounts:
34+
- mountPath: /secrets/gcs
35+
name: gcs-credentials
36+
readOnly: true
37+
- mountPath: /etc/pull-secret
38+
name: pull-secret
39+
readOnly: true
40+
- mountPath: /etc/report
41+
name: result-aggregator
42+
readOnly: true
43+
serviceAccountName: ci-operator
44+
volumes:
45+
- name: pull-secret
46+
secret:
47+
secretName: registry-pull-credentials
48+
- name: result-aggregator
49+
secret:
50+
secretName: result-aggregator
51+
trigger: (?m)^/test( | .* )images,?($|\s.*)
52+
- agent: kubernetes
53+
always_run: true
54+
branches:
55+
- ^backplane-1\.0$
56+
- ^backplane-1\.0-
57+
cluster: build01
58+
context: ci/prow/test-unit
59+
decorate: true
60+
decoration_config:
61+
skip_cloning: true
62+
labels:
63+
ci-operator.openshift.io/prowgen-controlled: "true"
64+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
65+
name: pull-ci-open-cluster-management-backplane-must-gather-backplane-1.0-test-unit
66+
rerun_command: /test test-unit
67+
spec:
68+
containers:
69+
- args:
70+
- --gcs-upload-secret=/secrets/gcs/service-account.json
71+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
72+
- --report-credentials-file=/etc/report/credentials
73+
- --target=test-unit
74+
command:
75+
- ci-operator
76+
image: ci-operator:latest
77+
imagePullPolicy: Always
78+
name: ""
79+
resources:
80+
requests:
81+
cpu: 10m
82+
volumeMounts:
83+
- mountPath: /secrets/gcs
84+
name: gcs-credentials
85+
readOnly: true
86+
- mountPath: /etc/pull-secret
87+
name: pull-secret
88+
readOnly: true
89+
- mountPath: /etc/report
90+
name: result-aggregator
91+
readOnly: true
92+
serviceAccountName: ci-operator
93+
volumes:
94+
- name: pull-secret
95+
secret:
96+
secretName: registry-pull-credentials
97+
- name: result-aggregator
98+
secret:
99+
secretName: result-aggregator
100+
trigger: (?m)^/test( | .* )test-unit,?($|\s.*)

0 commit comments

Comments
 (0)