-
Notifications
You must be signed in to change notification settings - Fork 76
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
e2e test with installer #313
Conversation
d393209
to
e882ce4
Compare
- removed the skip-installation flag from e2e test - updated test/e2e/BYOHDockerfile to exclude k8s components - added a few additional required packages to the Dockerfile - added a new dev-dockerfile to continue having the same experience in getting started and local-dev guides
e882ce4
to
e4d13be
Compare
@jamiemonserrate In the e2e test, we don't have to start the agent with sudo because the container itself it started with
@jamiemonserrate @dharmjit |
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.
Reviewed. This LGTM.
We still have the issue that the tests will change kernel settings for users who attempt to run these tests locally. But lets fix that in a subsequent PR.
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 looks good to me.
Nitpick only, Is there some other dir to keep BYOHDockerFileDev
. Do you thinkBYOHDevDockerFile
is a better name.
Yea I can change the filename. Where do you think we can keep this file? I kept in the |
My initial thoughts were |
Will do this separately as part of a different PR. Merged this so that other PRs can benefit from running a full e2e test. |
What this PR does / why we need it:
skip-installation
flag from e2e testtest/e2e/BYOHDockerfile
to exclude k8s componentsufw
anddbus
) to the Dockerfilegetting started and local-dev guides
Successful e2e run: https://github.com/vmware-tanzu/cluster-api-provider-bringyourownhost/runs/4800081237?check_suite_focus=true
Notes for Reviewer:
Adding additional Dockerfile so that the current getting started guides are not affected by this change. This PR's aim is to enable running e2e tests in GH Actions without skipping the installer workflow. Currently, the getting started guides skip this step and we want to continue doing that until we figure out a better way to not modify host config or some other alternative.