-
Notifications
You must be signed in to change notification settings - Fork 101
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
[WIP] 🌱 Stop using dev-env in E2E setup #2250
base: main
Are you sure you want to change the base?
Conversation
[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.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
31517f2
to
07202f6
Compare
/test ? |
@mquhuy: The following commands are available to trigger required jobs:
The following commands are available to trigger optional jobs:
Use
In 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. |
/test metal3-ubuntu-e2e-feature-test-main-pivoting |
07202f6
to
beb15b0
Compare
/test metal3-ubuntu-e2e-feature-test-main-pivoting |
beb15b0
to
a78401b
Compare
/test metal3-ubuntu-e2e-feature-test-main-pivoting |
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.
Some early nitting.
edit: some of it is already catched by the linters too
@@ -0,0 +1,34 @@ | |||
#!/bin/bash |
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.
#!/bin/bash | |
#!/usr/bin/env bash |
@@ -3,21 +3,36 @@ | |||
set -euxo pipefail |
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.
Fix the bin/bash on L1 here too to usr/bin/env bash
|
||
"${REPO_ROOT}/hack/ensure-go.sh" | ||
# shellcheck source=./hack/ensure-kind.sh | ||
source "${REPO_ROOT}/hack/ensure-kind.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.
source "${REPO_ROOT}/hack/ensure-kind.sh" | |
. "${REPO_ROOT}/hack/ensure-kind.sh" |
Same for below lines as well.
scripts/ci-e2e.sh
Outdated
echo 'export EPHEMERAL_CLUSTER="minikube"' >>"${M3_DEV_ENV_PATH}/config_${USER}.sh" | ||
BMC_PROTOCOL="${BMC_PROTOCOL:-"redfish-virtualmedia"}" | ||
if [[ "${BMC_PROTOCOL}" == "redfish" ]] || [[ "${BMC_PROTOCOL}" == "redfish-virtualmedia" ]]; then | ||
BMO_E2E_EMULATOR="sushy-tools" |
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.
Keep the indents at 4, consistency.
template: | ||
spec: | ||
containers: | ||
- name: ironic-dnsmasq |
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.
indent
test/e2e/e2e_suite_test.go
Outdated
@@ -76,10 +85,12 @@ var ( | |||
numberOfControlplane int | |||
numberOfWorkers int | |||
numberOfAllBmh int | |||
err error |
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.
are these not catched by linters?
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.
Oh they are.
407e44e
to
d67a19f
Compare
This is WIP, but anyways |
6b4cff0
to
3d102b0
Compare
3d102b0
to
fecb288
Compare
e2b6a0b
to
f3400de
Compare
f3400de
to
f3c9203
Compare
f3c9203
to
12c6915
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 <huy.mai@est.tech>
12c6915
to
abf9119
Compare
@mquhuy: 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. |
What this PR does / why we need it:
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 #1996
TODO