-
Notifications
You must be signed in to change notification settings - Fork 2k
Remove baseDomain for azure #69970
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove baseDomain for azure #69970
Conversation
|
fixing the config-metadata check |
ae9ef22 to
c9d359f
Compare
|
/pj-rehearse |
|
@deepsm007: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
|
||
| if [[ ! -r "${CLUSTER_PROFILE_DIR}/baseDomain" ]]; then | ||
| echo "Using default value: ${BASE_DOMAIN}" | ||
| AZURE_BASE_DOMAIN="${BASE_DOMAIN}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feels backwards to me. I'd expect most jobs that requested a custom base domain to have that ask respected, regardless of a cluster-profile-level default. And if the job didn't have a custom preference, it would fall back to the cluster-profile-level default. And that most (all?) jobs wouldn't have a custom preference. If that sounds good, something like:
if [[ -n "${BASE_DOMAIN}" ]]; then
echo "Using default value: ${BASE_DOMAIN}"
AZURE_BASE_DOMAIN="${BASE_DOMAIN}"
elif [[ -f "${CLUSTER_PROFILE_DIR}/baseDomain" ]; then
AZURE_BASE_DOMAIN=$(< ${CLUSTER_PROFILE_DIR}/baseDomain)
else
echo "Neither BASE_DOMAIN nor cluster profile baseDomain set, but this step requires a configured base domain." >&2
exit 1
fi
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i would actually suggest to use -n than -r since not readable is another error (it should not happen)
| documentation: |- | ||
| The architecture of the control plane nodes (e.g., amd64, arm64). | ||
| - name: BASE_DOMAIN | ||
| default: ci.azure.devcluster.openshift.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you buy this argument, you'll want to drop the default here, or set it equal to the empty string like SIZE_VARIANT and some of the other variables in this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I set similar expectations for AWS, we can discuss more on this next week. If this isnt blocking we can merge hoping azure issue will be relieved
|
@deepsm007: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
/pj-rehearse ack |
|
@deepsm007: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
|
||
| if [[ ! -r "${CLUSTER_PROFILE_DIR}/baseDomain" ]]; then | ||
| echo "Using default value: ${BASE_DOMAIN}" | ||
| AZURE_BASE_DOMAIN="${BASE_DOMAIN}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i would actually suggest to use -n than -r since not readable is another error (it should not happen)
c9d359f to
aa170cf
Compare
aa170cf to
7ef097f
Compare
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deepsm007, pruan-rht The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
[REHEARSALNOTIFIER]
A total of 3925 jobs have been affected by this change. The above listing is non-exhaustive and limited to 25 jobs. A full list of affected jobs can be found here Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
[REHEARSALNOTIFIER]
A total of 3925 jobs have been affected by this change. The above listing is non-exhaustive and limited to 25 jobs. A full list of affected jobs can be found here Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
80bf8e8
into
openshift:master
https://redhat.enterprise.slack.com/archives/CBN38N3MW/p1759526570267999?thread_ts=1759502756.084789&channel=CBN38N3MW&message_ts=1759526570.267999
https://issues.redhat.com/browse/DPTP-4566
/cc @openshift/test-platform @wking