Skip to content

Commit edb5115

Browse files
typeidclaude
andauthored
ROSAENG-300: Onboard aws-nuke-cf CI, decouple janitor image from rosa-regional-platform (#78106)
* ROSAENG-300: Add aws-nuke-cf CI config, remove push-ci-image from rosa-regional-platform Onboard openshift-online/aws-nuke-cf to OpenShift CI with a pre-merge image build gate and postsubmit push to quay.io/rrp-dev-ci/ci-image. Remove push-ci-image from rosa-regional-platform since the image now lives in the aws-nuke-cf repo. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Remove redundant build-image test, rely on implicit images job Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Add OWNERS files for aws-nuke-cf config and jobs directories Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Remove stale build-image presubmit from generated jobs Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Push aws-nuke-cf image to quay.io/rrp-dev-ci/aws-nuke-cf Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3e2dd70 commit edb5115

9 files changed

Lines changed: 300 additions & 85 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools.
2+
# Fetched from https://github.com/openshift-online/aws-nuke-cf root OWNERS
3+
# If the repo had OWNERS_ALIASES then the aliases were expanded
4+
# Logins who are not members of 'openshift' organization were filtered out
5+
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md
6+
7+
approvers:
8+
- cdoan1
9+
- iamkirkbater
10+
- jmelis
11+
- psav
12+
- syncrou
13+
- theautoroboto
14+
- typeid
15+
options: {}
16+
reviewers:
17+
- cdoan1
18+
- iamkirkbater
19+
- jmelis
20+
- psav
21+
- syncrou
22+
- theautoroboto
23+
- typeid
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
build_root:
2+
image_stream_tag:
3+
name: release
4+
namespace: openshift
5+
tag: golang-1.21
6+
images:
7+
items:
8+
- dockerfile_path: Containerfile
9+
to: aws-nuke-cf
10+
resources:
11+
'*':
12+
limits:
13+
memory: 4Gi
14+
requests:
15+
cpu: 100m
16+
memory: 200Mi
17+
tests:
18+
- as: push-image
19+
postsubmit: true
20+
steps:
21+
dependencies:
22+
CI_COMPONENT_IMAGE: aws-nuke-cf
23+
env:
24+
ROSA_REGIONAL_QUAY_DEST_REPO: quay.io/rrp-dev-ci/aws-nuke-cf
25+
test:
26+
- ref: rosa-regional-platform-image-push
27+
zz_generated_metadata:
28+
branch: main
29+
org: openshift-online
30+
repo: aws-nuke-cf

ci-operator/config/openshift-online/rosa-regional-platform/openshift-online-rosa-regional-platform-main.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,6 @@ tests:
137137
requests:
138138
cpu: 100m
139139
memory: 200Mi
140-
- as: push-ci-image
141-
postsubmit: true
142-
steps:
143-
dependencies:
144-
CI_COMPONENT_IMAGE: rosa-regional-platform-ci
145-
env:
146-
ROSA_REGIONAL_QUAY_DEST_REPO: quay.io/rrp-dev-ci/ci-image
147-
test:
148-
- ref: rosa-regional-platform-image-push
149140
zz_generated_metadata:
150141
branch: main
151142
org: openshift-online
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools.
2+
# Fetched from https://github.com/openshift-online/aws-nuke-cf root OWNERS
3+
# If the repo had OWNERS_ALIASES then the aliases were expanded
4+
# Logins who are not members of 'openshift' organization were filtered out
5+
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md
6+
7+
approvers:
8+
- cdoan1
9+
- iamkirkbater
10+
- jmelis
11+
- psav
12+
- syncrou
13+
- theautoroboto
14+
- typeid
15+
options: {}
16+
reviewers:
17+
- cdoan1
18+
- iamkirkbater
19+
- jmelis
20+
- psav
21+
- syncrou
22+
- theautoroboto
23+
- typeid
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
postsubmits:
2+
openshift-online/aws-nuke-cf:
3+
- agent: kubernetes
4+
always_run: true
5+
branches:
6+
- ^main$
7+
cluster: build01
8+
decorate: true
9+
decoration_config:
10+
skip_cloning: true
11+
labels:
12+
ci.openshift.io/generator: prowgen
13+
max_concurrency: 1
14+
name: branch-ci-openshift-online-aws-nuke-cf-main-push-image
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+
- --lease-server-credentials-file=/etc/boskos/credentials
21+
- --report-credentials-file=/etc/report/credentials
22+
- --target=push-image
23+
command:
24+
- ci-operator
25+
env:
26+
- name: HTTP_SERVER_IP
27+
valueFrom:
28+
fieldRef:
29+
fieldPath: status.podIP
30+
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
31+
imagePullPolicy: Always
32+
name: ""
33+
ports:
34+
- containerPort: 8080
35+
name: http
36+
resources:
37+
requests:
38+
cpu: 10m
39+
volumeMounts:
40+
- mountPath: /etc/boskos
41+
name: boskos
42+
readOnly: true
43+
- mountPath: /secrets/gcs
44+
name: gcs-credentials
45+
readOnly: true
46+
- mountPath: /secrets/manifest-tool
47+
name: manifest-tool-local-pusher
48+
readOnly: true
49+
- mountPath: /etc/pull-secret
50+
name: pull-secret
51+
readOnly: true
52+
- mountPath: /etc/report
53+
name: result-aggregator
54+
readOnly: true
55+
serviceAccountName: ci-operator
56+
volumes:
57+
- name: boskos
58+
secret:
59+
items:
60+
- key: credentials
61+
path: credentials
62+
secretName: boskos-credentials
63+
- name: manifest-tool-local-pusher
64+
secret:
65+
secretName: manifest-tool-local-pusher
66+
- name: pull-secret
67+
secret:
68+
secretName: registry-pull-credentials
69+
- name: result-aggregator
70+
secret:
71+
secretName: result-aggregator
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
presubmits:
2+
openshift-online/aws-nuke-cf:
3+
- agent: kubernetes
4+
always_run: true
5+
branches:
6+
- ^main$
7+
- ^main-
8+
cluster: build01
9+
context: ci/prow/images
10+
decorate: true
11+
decoration_config:
12+
skip_cloning: true
13+
labels:
14+
ci.openshift.io/generator: prowgen
15+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
16+
name: pull-ci-openshift-online-aws-nuke-cf-main-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: quay-proxy.ci.openshift.org/openshift/ci:ci_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: /secrets/manifest-tool
38+
name: manifest-tool-local-pusher
39+
readOnly: true
40+
- mountPath: /etc/pull-secret
41+
name: pull-secret
42+
readOnly: true
43+
- mountPath: /etc/report
44+
name: result-aggregator
45+
readOnly: true
46+
serviceAccountName: ci-operator
47+
volumes:
48+
- name: manifest-tool-local-pusher
49+
secret:
50+
secretName: manifest-tool-local-pusher
51+
- name: pull-secret
52+
secret:
53+
secretName: registry-pull-credentials
54+
- name: result-aggregator
55+
secret:
56+
secretName: result-aggregator
57+
trigger: (?m)^/test( | .* )images,?($|\s.*)

ci-operator/jobs/openshift-online/rosa-regional-platform/openshift-online-rosa-regional-platform-main-postsubmits.yaml

Lines changed: 0 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -60,79 +60,3 @@ postsubmits:
6060
- name: result-aggregator
6161
secret:
6262
secretName: result-aggregator
63-
- agent: kubernetes
64-
always_run: true
65-
branches:
66-
- ^main$
67-
cluster: build05
68-
decorate: true
69-
decoration_config:
70-
skip_cloning: true
71-
labels:
72-
ci.openshift.io/generator: prowgen
73-
max_concurrency: 1
74-
name: branch-ci-openshift-online-rosa-regional-platform-main-push-ci-image
75-
spec:
76-
containers:
77-
- args:
78-
- --gcs-upload-secret=/secrets/gcs/service-account.json
79-
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
80-
- --lease-server-credentials-file=/etc/boskos/credentials
81-
- --report-credentials-file=/etc/report/credentials
82-
- --secret-dir=/secrets/ci-pull-credentials
83-
- --target=push-ci-image
84-
command:
85-
- ci-operator
86-
env:
87-
- name: HTTP_SERVER_IP
88-
valueFrom:
89-
fieldRef:
90-
fieldPath: status.podIP
91-
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
92-
imagePullPolicy: Always
93-
name: ""
94-
ports:
95-
- containerPort: 8080
96-
name: http
97-
resources:
98-
requests:
99-
cpu: 10m
100-
volumeMounts:
101-
- mountPath: /etc/boskos
102-
name: boskos
103-
readOnly: true
104-
- mountPath: /secrets/ci-pull-credentials
105-
name: ci-pull-credentials
106-
readOnly: true
107-
- mountPath: /secrets/gcs
108-
name: gcs-credentials
109-
readOnly: true
110-
- mountPath: /secrets/manifest-tool
111-
name: manifest-tool-local-pusher
112-
readOnly: true
113-
- mountPath: /etc/pull-secret
114-
name: pull-secret
115-
readOnly: true
116-
- mountPath: /etc/report
117-
name: result-aggregator
118-
readOnly: true
119-
serviceAccountName: ci-operator
120-
volumes:
121-
- name: boskos
122-
secret:
123-
items:
124-
- key: credentials
125-
path: credentials
126-
secretName: boskos-credentials
127-
- name: ci-pull-credentials
128-
secret:
129-
secretName: ci-pull-credentials
130-
- name: manifest-tool-local-pusher
131-
secret:
132-
secretName: manifest-tool-local-pusher
133-
- name: pull-secret
134-
secret:
135-
secretName: registry-pull-credentials
136-
- name: result-aggregator
137-
secret:
138-
secretName: result-aggregator
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
approve:
2+
- commandHelpLink: ""
3+
lgtm_acts_as_approve: true
4+
repos:
5+
- openshift-online/aws-nuke-cf
6+
require_self_approval: true
7+
external_plugins:
8+
openshift-online/aws-nuke-cf:
9+
- endpoint: http://refresh
10+
events:
11+
- issue_comment
12+
name: refresh
13+
- endpoint: http://cherrypick
14+
events:
15+
- issue_comment
16+
- pull_request
17+
name: cherrypick
18+
- endpoint: http://needs-rebase
19+
events:
20+
- issue_comment
21+
- pull_request
22+
name: needs-rebase
23+
- endpoint: http://backport-verifier
24+
events:
25+
- issue_comment
26+
- pull_request
27+
name: backport-verifier
28+
- endpoint: http://payload-testing-prow-plugin
29+
events:
30+
- issue_comment
31+
name: payload-testing-prow-plugin
32+
- endpoint: http://jira-lifecycle-plugin
33+
events:
34+
- issue_comment
35+
- pull_request
36+
name: jira-lifecycle-plugin
37+
- endpoint: http://pipeline-controller
38+
events:
39+
- pull_request
40+
- issue_comment
41+
name: pipeline-controller
42+
- endpoint: http://multi-pr-prow-plugin
43+
events:
44+
- issue_comment
45+
name: multi-pr-prow-plugin
46+
lgtm:
47+
- repos:
48+
- openshift-online/aws-nuke-cf
49+
review_acts_as_lgtm: true
50+
plugins:
51+
openshift-online/aws-nuke-cf:
52+
plugins:
53+
- assign
54+
- blunderbuss
55+
- cat
56+
- dog
57+
- heart
58+
- golint
59+
- goose
60+
- help
61+
- hold
62+
- jira
63+
- label
64+
- lgtm
65+
- lifecycle
66+
- override
67+
- pony
68+
- retitle
69+
- shrug
70+
- sigmention
71+
- skip
72+
- trigger
73+
- verify-owners
74+
- owners-label
75+
- wip
76+
- yuks
77+
- approve
78+
triggers:
79+
- repos:
80+
- openshift-online/aws-nuke-cf
81+
trusted_apps:
82+
- openshift-merge-bot

0 commit comments

Comments
 (0)