-
Notifications
You must be signed in to change notification settings - Fork 119
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
option to pass custom provision file while (make cluster-up) #69
Comments
@kunalkushwaha that's an issue in the base scripts. They should never download on teprovision state anything. They should work offline by never pulling on restart of VMIs. |
#71 fixes issue partially for using This issue may be fixed with special flag for |
Just keep in mind that we extra have a registry included if you do "make cluster-up". You can also push all images which should be available for tests to that registry. It makes tests more reliable because the images are then very fast downloaded.
I am not against the hook but it kind of goes against the purpose of kubevirtci. The purpose is that you have a completely pre-canned and prepared cluster. Setting correct proxy settings or something like this for sure make sense but the purpose is exactly to not customize the clusters, since it is there to provide a base for reproducible testruns. Locally and on CI. |
Also we have some tests in kubevirt/kubevirt which reach out to the internet (e.g. run yum). That are buggy tests. They should never have to reach the internet (except the one test which ensures that VMIs can reach the internet in general, which can be skipped easily). |
I agree with you and understand customizing setup goes against kubevertci original goal. Will be it okay, If I modify PR #70 just to set docker daemon proxy settings?. It will solve issue working behind proxy. |
Works for me.
Let me just say again that you can also push them to the included registry, which will result in more reliable test runs. |
The VMI images are pushed by others too. Though it should be doable, but proxy will be helpful. Right now I am not using it for CI tests, so its more of a dev environment setup for finding issues for specific VMIs
Thanks, I will update the PR for just proxy settings. |
/kind enhancement
Problem:
while working behind network proxy,
make cluster-up
fails to setup cluster while downloading CNI config. Also, nodocker pull
orkubectl apply
is successful as no image gets downloaded due to lack of proxy settings in docker-daemon.Expected Behaviour
node.sh
ornode<node-no>.sh
etc.gocli run
should be able to consume custom scripts if indicated explicitlyThe text was updated successfully, but these errors were encountered: