Skip to content

Commit 292df39

Browse files
Merge pull request #15527 from openshift-bot/auto-config-brancher
Automate config brancher by auto-config-brancher job at Thu, 04 Feb 2021 12:03:03 UTC
2 parents 3445d76 + afc1f3c commit 292df39

6 files changed

+442
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
base_images:
2+
base:
3+
name: "4.7"
4+
namespace: ocp
5+
tag: base
6+
build_root:
7+
image_stream_tag:
8+
name: release
9+
namespace: openshift
10+
tag: golang-1.15
11+
images:
12+
- dockerfile_path: Dockerfile.ubi
13+
to: security-profiles-operator
14+
promotion:
15+
disabled: true
16+
name: "4.7"
17+
namespace: ocp
18+
resources:
19+
'*':
20+
requests:
21+
cpu: 100m
22+
memory: 200Mi
23+
tag_specification:
24+
name: "4.7"
25+
namespace: ocp
26+
tests:
27+
- artifact_dir: /tmp/artifacts
28+
as: e2e-aws
29+
steps:
30+
cluster_profile: aws
31+
test:
32+
- as: test
33+
cli: latest
34+
commands: |
35+
export E2E_CLUSTER_TYPE=OpenShift
36+
export component=security-profiles-operator
37+
export E2E_SPO_IMAGE=$(echo $IMAGE_FORMAT | envsubst)
38+
make test-e2e
39+
from: src
40+
resources:
41+
requests:
42+
cpu: 100m
43+
workflow: ipi-aws
44+
zz_generated_metadata:
45+
branch: release-4.7
46+
org: kubernetes-sigs
47+
repo: security-profiles-operator
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
base_images:
2+
base:
3+
name: "4.8"
4+
namespace: ocp
5+
tag: base
6+
build_root:
7+
image_stream_tag:
8+
name: release
9+
namespace: openshift
10+
tag: golang-1.15
11+
images:
12+
- dockerfile_path: Dockerfile.ubi
13+
to: security-profiles-operator
14+
promotion:
15+
name: "4.8"
16+
namespace: ocp
17+
resources:
18+
'*':
19+
requests:
20+
cpu: 100m
21+
memory: 200Mi
22+
tag_specification:
23+
name: "4.8"
24+
namespace: ocp
25+
tests:
26+
- artifact_dir: /tmp/artifacts
27+
as: e2e-aws
28+
steps:
29+
cluster_profile: aws
30+
test:
31+
- as: test
32+
cli: latest
33+
commands: |
34+
export E2E_CLUSTER_TYPE=OpenShift
35+
export component=security-profiles-operator
36+
export E2E_SPO_IMAGE=$(echo $IMAGE_FORMAT | envsubst)
37+
make test-e2e
38+
from: src
39+
resources:
40+
requests:
41+
cpu: 100m
42+
workflow: ipi-aws
43+
zz_generated_metadata:
44+
branch: release-4.8
45+
org: kubernetes-sigs
46+
repo: security-profiles-operator
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
postsubmits:
2+
kubernetes-sigs/security-profiles-operator:
3+
- agent: kubernetes
4+
branches:
5+
- ^release-4\.7$
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-kubernetes-sigs-security-profiles-operator-release-4.7-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-password-file=/etc/report/password.txt
23+
- --report-username=ci
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/push-secret
41+
name: push-secret
42+
readOnly: true
43+
- mountPath: /etc/report
44+
name: result-aggregator
45+
readOnly: true
46+
serviceAccountName: ci-operator
47+
volumes:
48+
- name: pull-secret
49+
secret:
50+
secretName: registry-pull-credentials
51+
- name: push-secret
52+
secret:
53+
secretName: registry-push-credentials-ci-central
54+
- name: result-aggregator
55+
secret:
56+
secretName: result-aggregator
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
presubmits:
2+
kubernetes-sigs/security-profiles-operator:
3+
- agent: kubernetes
4+
always_run: true
5+
branches:
6+
- release-4.7
7+
cluster: build01
8+
context: ci/prow/e2e-aws
9+
decorate: true
10+
decoration_config:
11+
skip_cloning: true
12+
labels:
13+
ci-operator.openshift.io/prowgen-controlled: "true"
14+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
15+
name: pull-ci-kubernetes-sigs-security-profiles-operator-release-4.7-e2e-aws
16+
rerun_command: /test e2e-aws
17+
spec:
18+
containers:
19+
- args:
20+
- --gcs-upload-secret=/secrets/gcs/service-account.json
21+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
22+
- --lease-server-password-file=/etc/boskos/password
23+
- --report-password-file=/etc/report/password.txt
24+
- --report-username=ci
25+
- --secret-dir=/usr/local/e2e-aws-cluster-profile
26+
- --target=e2e-aws
27+
command:
28+
- ci-operator
29+
image: ci-operator:latest
30+
imagePullPolicy: Always
31+
name: ""
32+
resources:
33+
requests:
34+
cpu: 10m
35+
volumeMounts:
36+
- mountPath: /etc/boskos
37+
name: boskos
38+
readOnly: true
39+
- mountPath: /usr/local/e2e-aws-cluster-profile
40+
name: cluster-profile
41+
- mountPath: /secrets/gcs
42+
name: gcs-credentials
43+
readOnly: true
44+
- mountPath: /etc/pull-secret
45+
name: pull-secret
46+
readOnly: true
47+
- mountPath: /etc/report
48+
name: result-aggregator
49+
readOnly: true
50+
serviceAccountName: ci-operator
51+
volumes:
52+
- name: boskos
53+
secret:
54+
items:
55+
- key: password
56+
path: password
57+
secretName: boskos-credentials
58+
- name: cluster-profile
59+
projected:
60+
sources:
61+
- secret:
62+
name: cluster-secrets-aws
63+
- name: pull-secret
64+
secret:
65+
secretName: registry-pull-credentials
66+
- name: result-aggregator
67+
secret:
68+
secretName: result-aggregator
69+
trigger: (?m)^/test( | .* )e2e-aws,?($|\s.*)
70+
- agent: kubernetes
71+
always_run: true
72+
branches:
73+
- release-4.7
74+
cluster: build01
75+
context: ci/prow/images
76+
decorate: true
77+
decoration_config:
78+
skip_cloning: true
79+
labels:
80+
ci-operator.openshift.io/prowgen-controlled: "true"
81+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
82+
name: pull-ci-kubernetes-sigs-security-profiles-operator-release-4.7-images
83+
rerun_command: /test images
84+
spec:
85+
containers:
86+
- args:
87+
- --gcs-upload-secret=/secrets/gcs/service-account.json
88+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
89+
- --report-password-file=/etc/report/password.txt
90+
- --report-username=ci
91+
- --target=[images]
92+
command:
93+
- ci-operator
94+
image: ci-operator:latest
95+
imagePullPolicy: Always
96+
name: ""
97+
resources:
98+
requests:
99+
cpu: 10m
100+
volumeMounts:
101+
- mountPath: /secrets/gcs
102+
name: gcs-credentials
103+
readOnly: true
104+
- mountPath: /etc/pull-secret
105+
name: pull-secret
106+
readOnly: true
107+
- mountPath: /etc/report
108+
name: result-aggregator
109+
readOnly: true
110+
serviceAccountName: ci-operator
111+
volumes:
112+
- name: pull-secret
113+
secret:
114+
secretName: registry-pull-credentials
115+
- name: result-aggregator
116+
secret:
117+
secretName: result-aggregator
118+
trigger: (?m)^/test( | .* )images,?($|\s.*)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
postsubmits:
2+
kubernetes-sigs/security-profiles-operator:
3+
- agent: kubernetes
4+
branches:
5+
- ^release-4\.8$
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-kubernetes-sigs-security-profiles-operator-release-4.8-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-password-file=/etc/report/password.txt
23+
- --report-username=ci
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/push-secret
41+
name: push-secret
42+
readOnly: true
43+
- mountPath: /etc/report
44+
name: result-aggregator
45+
readOnly: true
46+
serviceAccountName: ci-operator
47+
volumes:
48+
- name: pull-secret
49+
secret:
50+
secretName: registry-pull-credentials
51+
- name: push-secret
52+
secret:
53+
secretName: registry-push-credentials-ci-central
54+
- name: result-aggregator
55+
secret:
56+
secretName: result-aggregator

0 commit comments

Comments
 (0)