Skip to content

Commit f012278

Browse files
Joeavaikathclaude
andcommitted
Add oadp-cli CI promotion and Quay mirroring
Add oadp-dev branch CI config for oadp-cli to build and promote images on merge, and add image mirroring entries to sync oadp-cli images from the CI registry to quay.io/konveyor/oadp-cli-binaries. This replaces the existing GitHub workflow-based approach. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f2dd614 commit f012278

File tree

4 files changed

+149
-0
lines changed

4 files changed

+149
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
build_root:
2+
image_stream_tag:
3+
name: builder
4+
namespace: konveyor
5+
tag: ubi9-v1.25
6+
images:
7+
- additional_architectures:
8+
- arm64
9+
dockerfile_path: Containerfile.download
10+
to: oadp-cli
11+
promotion:
12+
to:
13+
- name: oadp-cli
14+
namespace: konveyor
15+
resources:
16+
'*':
17+
limits:
18+
memory: 4Gi
19+
requests:
20+
cpu: 100m
21+
memory: 200Mi
22+
zz_generated_metadata:
23+
branch: oadp-dev
24+
org: migtools
25+
repo: oadp-cli
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
postsubmits:
2+
migtools/oadp-cli:
3+
- agent: kubernetes
4+
always_run: true
5+
branches:
6+
- ^oadp-dev$
7+
cluster: build09
8+
decorate: true
9+
decoration_config:
10+
skip_cloning: true
11+
labels:
12+
capability/arm64: arm64
13+
ci-operator.openshift.io/is-promotion: "true"
14+
ci.openshift.io/generator: prowgen
15+
max_concurrency: 1
16+
name: branch-ci-migtools-oadp-cli-oadp-dev-images
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+
- --image-mirror-push-secret=/etc/push-secret/.dockerconfigjson
23+
- --promote
24+
- --report-credentials-file=/etc/report/credentials
25+
- --target=[images]
26+
command:
27+
- ci-operator
28+
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
29+
imagePullPolicy: Always
30+
name: ""
31+
resources:
32+
requests:
33+
cpu: 10m
34+
volumeMounts:
35+
- mountPath: /secrets/gcs
36+
name: gcs-credentials
37+
readOnly: true
38+
- mountPath: /secrets/manifest-tool
39+
name: manifest-tool-local-pusher
40+
readOnly: true
41+
- mountPath: /etc/pull-secret
42+
name: pull-secret
43+
readOnly: true
44+
- mountPath: /etc/push-secret
45+
name: push-secret
46+
readOnly: true
47+
- mountPath: /etc/report
48+
name: result-aggregator
49+
readOnly: true
50+
serviceAccountName: ci-operator
51+
volumes:
52+
- name: manifest-tool-local-pusher
53+
secret:
54+
secretName: manifest-tool-local-pusher
55+
- name: pull-secret
56+
secret:
57+
secretName: registry-pull-credentials
58+
- name: push-secret
59+
secret:
60+
secretName: registry-push-credentials-ci-central
61+
- name: result-aggregator
62+
secret:
63+
secretName: result-aggregator
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
presubmits:
2+
migtools/oadp-cli:
3+
- agent: kubernetes
4+
always_run: true
5+
branches:
6+
- ^oadp-dev$
7+
- ^oadp-dev-
8+
cluster: build06
9+
context: ci/prow/images
10+
decorate: true
11+
decoration_config:
12+
skip_cloning: true
13+
labels:
14+
capability/arm64: arm64
15+
ci.openshift.io/generator: prowgen
16+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
17+
name: pull-ci-migtools-oadp-cli-oadp-dev-images
18+
rerun_command: /test images
19+
spec:
20+
containers:
21+
- args:
22+
- --gcs-upload-secret=/secrets/gcs/service-account.json
23+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
24+
- --report-credentials-file=/etc/report/credentials
25+
- --target=[images]
26+
command:
27+
- ci-operator
28+
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
29+
imagePullPolicy: Always
30+
name: ""
31+
resources:
32+
requests:
33+
cpu: 10m
34+
volumeMounts:
35+
- mountPath: /secrets/gcs
36+
name: gcs-credentials
37+
readOnly: true
38+
- mountPath: /secrets/manifest-tool
39+
name: manifest-tool-local-pusher
40+
readOnly: true
41+
- mountPath: /etc/pull-secret
42+
name: pull-secret
43+
readOnly: true
44+
- mountPath: /etc/report
45+
name: result-aggregator
46+
readOnly: true
47+
serviceAccountName: ci-operator
48+
volumes:
49+
- name: manifest-tool-local-pusher
50+
secret:
51+
secretName: manifest-tool-local-pusher
52+
- name: pull-secret
53+
secret:
54+
secretName: registry-pull-credentials
55+
- name: result-aggregator
56+
secret:
57+
secretName: result-aggregator
58+
trigger: (?m)^/test( | .* )images,?($|\s.*)

core-services/image-mirroring/konveyor/mapping_konveyor_latest

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ registry.ci.openshift.org/konveyor/oadp-non-admin:oadp-non-admin-oadp-1.5 quay.i
4545
registry.ci.openshift.org/konveyor/oadp-non-admin:oadp-non-admin-oadp-1.4 quay.io/konveyor/oadp-non-admin:oadp-1.4-latest quay.io/konveyor/oadp-non-admin:oadp-1.4
4646
registry.ci.openshift.org/konveyor/oadp-non-admin:oadp-non-admin-oadp-1.6 quay.io/konveyor/oadp-non-admin:oadp-1.6-latest quay.io/konveyor/oadp-non-admin:oadp-1.6
4747

48+
registry.ci.openshift.org/konveyor/oadp-cli:oadp-cli quay.io/konveyor/oadp-cli-binaries:latest
49+
registry.ci.openshift.org/konveyor/oadp-cli:oadp-cli-oadp-1.6 quay.io/konveyor/oadp-cli-binaries:oadp-1.6-latest quay.io/konveyor/oadp-cli-binaries:oadp-1.6
50+
4851
registry.ci.openshift.org/konveyor/oadp-operator:oadp-operator quay.io/konveyor/oadp-operator:latest
4952
registry.ci.openshift.org/konveyor/oadp-operator:oadp-operator-1.0 quay.io/konveyor/oadp-operator:oadp-1.0-latest quay.io/konveyor/oadp-operator:oadp-1.0
5053
registry.ci.openshift.org/konveyor/oadp-operator:oadp-operator-1.3 quay.io/konveyor/oadp-operator:oadp-1.3-latest quay.io/konveyor/oadp-operator:oadp-1.3

0 commit comments

Comments
 (0)