[Prow CI Step Enhancement] update install step to support QE e2e test#32647
Conversation
4203be2 to
5368841
Compare
|
The error of |
There was a problem hiding this comment.
fwiw I consider hypershift-aws-create-chain.yaml deprecated. There's no semantic difference with hypershift-aws-setup-nested-management-cluster-chain.yaml which we should rename to just `hypershift-aws-create. Then is up to the workload to chain multiples creates to have nested clusters.
However I'm fine with the change for now and I'll follow up later on with the refactor above.
5368841 to
6128dd7
Compare
|
@enxebre Hi, add This is added to support qe's install workflow, could you help me review again? thanks |
There was a problem hiding this comment.
Can you please don't default the env variable, keep the logic as before this PR, and then just let the environment variable be authoritative if it was set?
The likes of
AWS_GUEST_INFRA_CREDENTIALS_FILE="/etc/hypershift-ci-jobs-awscreds/credentials"
DEFAULT_BASE_DOMAIN=ci.hypershift.devcluster.openshift.com
if [[ $HYPERSHIFT_GUEST_INFRA_OCP_ACCOUNT == "true" ]]; then
AWS_GUEST_INFRA_CREDENTIALS_FILE="${CLUSTER_PROFILE_DIR}/.awscred"
DEFAULT_BASE_DOMAIN=origin-ci-int-aws.dev.rhcloud.com
fi
DOMAIN :=${HYPERSHIFT_BASE_DOMAIN:-$DEFAULT_BASE_DOMAIN}
That way the behaviour is generic
There was a problem hiding this comment.
okay, thanks for your comment, good idea
There was a problem hiding this comment.
Ah, it assumes HYPERSHIFT_BASE_DOMAIN has the highest weight. If it is set in jobs, HYPERSHIFT_GUEST_INFRA_OCP_ACCOUNT won't work any more.
There was a problem hiding this comment.
Then for existing chains, we need remove all existing env HYPERSHIFT_BASE_DOMAIN with default value ? so that it won't affect HYPERSHIFT_GUEST_INFRA_OCP_ACCOUNT
6128dd7 to
5abe597
Compare
|
@enxebre could you help me review again? |
|
looks to me overall now. CI is currently broken pending openshift/hypershift#1773 |
|
/retest |
hi @enxebre 1773 merge, could you help review again when you free? thanks |
|
/test pj-rehearse |
|
/hold |
|
@enxebre Could we merge this PR? As it's a blocker for QE to continue run e2e test for openshift 4.12 release. |
|
@LiangquanLi930: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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/test-infra repository. I understand the commands that are listed here. |
|
@csrwng @Xia-Zhao-rh Could you help to review it also? |
|
/hold cancel |
|
/lgtm |
|
/hold |
|
/label tide/merge-method-squash |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: csrwng, enxebre, LiangquanLi930 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: csrwng, enxebre, LiangquanLi930 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/hold cancel |
extended aws together with PR
For QE e2e test, we need to use QE's quota, so we should support dynamic switching of
--aws-credsand--base-domain