Skip to content

Commit 9914dec

Browse files
committed
CORS-3699: Create new tech preview job for user provisioned DNS installs (Aws)
1 parent 58b05c8 commit 9914dec

File tree

4 files changed

+50
-0
lines changed

4 files changed

+50
-0
lines changed

ci-operator/config/openshift/installer/openshift-installer-master.yaml

+18
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,24 @@ tests:
380380
cluster_profile: aws
381381
workflow: openshift-e2e-aws-upi-proxy
382382
timeout: 6h0m0s
383+
- always_run: false
384+
as: e2e-aws-user-provisioned-dns
385+
optional: true
386+
steps:
387+
cluster_profile: aws
388+
env:
389+
FEATURE_SET: TechPreviewNoUpgrade
390+
USER_PROVISIONED_DNS: "yes"
391+
steps:
392+
cluster_profile: aws
393+
post:
394+
- chain: ipi-aws-post
395+
pre:
396+
- chain: ipi-conf-aws
397+
- chain: ipi-install
398+
test:
399+
- ref: openshift-e2e-test
400+
timeout: 6h0m0s
383401
- as: e2e-aws-ovn-shared-vpc-custom-security-groups
384402
optional: true
385403
run_if_changed: aws

ci-operator/config/openshift/installer/openshift-installer-release-4.18.yaml

+18
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,24 @@ tests:
374374
cluster_profile: aws
375375
workflow: openshift-e2e-aws-proxy
376376
timeout: 6h0m0s
377+
- always_run: false
378+
as: e2e-aws-user-provisioned-dns
379+
optional: true
380+
steps:
381+
cluster_profile: aws
382+
env:
383+
FEATURE_SET: TechPreviewNoUpgrade
384+
USER_PROVISIONED_DNS: "yes"
385+
steps:
386+
cluster_profile: aws
387+
post:
388+
- chain: ipi-aws-post
389+
pre:
390+
- chain: ipi-conf-aws
391+
- chain: ipi-install
392+
test:
393+
- ref: openshift-e2e-test
394+
timeout: 6h0m0s
377395
- always_run: false
378396
as: e2e-aws-upi-proxy
379397
optional: true

ci-operator/step-registry/ipi/conf/aws/ipi-conf-aws-commands.sh

+10
Original file line numberDiff line numberDiff line change
@@ -380,3 +380,13 @@ platform:
380380
EOF
381381
yq-go m -a -x -i "${CONFIG}" "${patch_bootstrap_ignition}"
382382
fi
383+
384+
if [[ "${USER_PROVISIONED_DNS}" == "yes" ]]; then
385+
patch_user_provisioned_dns="${SHARED_DIR}/install-config-user-provisioned-dns.yaml.patch"
386+
cat > "${patch_user_provisioned_dns}" << EOF
387+
platform:
388+
aws:
389+
userProvisionedDNS: Enabled
390+
EOF
391+
yq-go m -a -x -i "${CONFIG}" "${patch_user_provisioned_dns}"
392+
fi

ci-operator/step-registry/ipi/conf/aws/ipi-conf-aws-ref.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -96,5 +96,9 @@ ref:
9696
default: ""
9797
documentation: |-
9898
Allow users to make S3 deletion optional
99+
- name: USER_PROVISIONED_DNS
100+
default: ""
101+
documentation: |-
102+
Allow users to select the user provisioned dns option for AWS installations during configuration.
99103
documentation: |-
100104
The IPI AWS configure step generates the AWS-specific install-config.yaml contents based on the cluster profile and optional input files.

0 commit comments

Comments
 (0)