-
Notifications
You must be signed in to change notification settings - Fork 119
🌱Decouple CAPM3 from using dev-env in E2E setup #2665
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
base: main
Are you sure you want to change the base?
Conversation
|
/hold |
a3154a7 to
264c573
Compare
264c573 to
f151607
Compare
f151607 to
5477d81
Compare
|
I will open it when start working on this . |
|
We will start working on it |
|
/cc @adilGhaffarDev |
|
/close |
|
@adilGhaffarDev: Closed this PR. DetailsIn response to this:
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. |
|
rebasing it |
5477d81 to
bf80525
Compare
bf80525 to
3f4dcc1
Compare
8953fbc to
f276218
Compare
peppi-lotta
left a comment
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 think this is a bit outdated overall if the idea is to follow what BMO is doing for e2e. I think you should wait until use irso PR merges as it will have quite many changes you are touching here as well. Using IRSO in CAPM3 will allow you to follow the BMO way or doing e2e more closely and I would suggest you start by checking that everything that is copied from BMO is up to date here.
| cat <<-EOF >"${M3_DEV_ENV_PATH}/config_${USER}.sh" | ||
| export CAPI_VERSION="v1beta2" | ||
| export CAPM3_VERSION=${CAPM3_VERSION:-"v1beta1"} | ||
| export NUM_NODES=${NUM_NODES:-"4"} | ||
| export KUBERNETES_VERSION=${KUBERNETES_VERSION} | ||
| export IMAGE_OS=${IMAGE_OS} | ||
| export FORCE_REPO_UPDATE="false" | ||
| export SKIP_NODE_IMAGE_PREPULL="true" | ||
| export USE_IRSO="${USE_IRSO:-false}" | ||
| EOF |
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.
Do these need to be exported somewhere else for example environment.sh?
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.
We are not using dev-evn, thats why the config was deleted. But we can keep them in environment.sh file
scripts/ci-e2e.sh
Outdated
| virsh -c qemu:///system net-start "${network}" | ||
| virsh -c qemu:///system net-autostart "${network}" | ||
| done | ||
|
|
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.
Once you rabesa on top of Use IRSO in e2e tests -PR.
These ip rules etc need to be added for irso: https://github.com/metal3-io/baremetal-operator/blob/cb8392cd1f9cd64f5640400b61dea1a726587a87/hack/ci-e2e.sh#L66C1-L99C31
| fi | ||
| done | ||
|
|
||
| for overlay in "${IRONIC_OVERLAYS[@]}"; do |
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 will change to IRSO_OVELAYS once you rebase ontop of Use IRSO in e2e tests -PR. The username and password stuff will change as well.
hack/e2e/net.xml
Outdated
| @@ -0,0 +1,16 @@ | |||
| <network> | |||
| <name>baremetal-e2e</name> | |||
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 file is probably not needed or should be rename.
f276218 to
44f4c9e
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
fcb1049 to
1033bcd
Compare
smoshiur1237
left a comment
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.
Thanks @peppi-lotta for your review. I will address them
36afe84 to
9c98b90
Compare
c2070a5 to
af5bdcd
Compare
This commit pushes changes needed so that we no longer need to run dev-env's make in preparation for E2E. Signed-off-by: Huy Mai <[email protected]> Signed-off-by: smoshiur1237 <[email protected]>
af5bdcd to
d903ba8
Compare
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #