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
Improve output of development VM startup #17343
Merged
christarazi
merged 3 commits into
cilium:master
from
pchaigno:improve-vagrant-vm-output
Sep 16, 2021
Merged
Improve output of development VM startup #17343
christarazi
merged 3 commits into
cilium:master
from
pchaigno:improve-vagrant-vm-output
Sep 16, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pchaigno
added
release-note/misc
This PR makes changes that have no direct user impact.
sig/contributing
Impacts contribution workflow, guidelines, and tools.
labels
Sep 8, 2021
pchaigno
force-pushed
the
improve-vagrant-vm-output
branch
from
September 8, 2021 13:36
99868cd
to
c7ed5b5
Compare
aditighag
reviewed
Sep 15, 2021
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!
It's probably best to avoid suggesting to run: export NWORKERS=n ./contrib/vagrant/start.sh First, users tend to forget they export environment variables, so at least for new contributors, it's probably best to pass the environment variables in the start.sh command. Second, the above configuration doesn't make much sense: starting *several* Runtime (i.e., no Kubernetes) VMs is almost never useful. The user should refer to the development guide for the appropriate options instead. Signed-off-by: Paul Chaignon <paul@cilium.io>
In start.sh, we have some code to detect if there are already running VMs and propose to the user that they stop or delete such VMs. This commit cleans up the output of that code, by removing unnecessary newlines and suggestions. Signed-off-by: Paul Chaignon <paul@cilium.io>
In start.sh, we have some code to detect existing VMs and propose to the user to delete or stop them. After executing those actions, we can directly proceed with start.sh and the provisioning of new development VMs. There's no need for the user to run the command a second time. Signed-off-by: Paul Chaignon <paul@cilium.io>
pchaigno
force-pushed
the
improve-vagrant-vm-output
branch
from
September 16, 2021 15:33
c7ed5b5
to
8833aad
Compare
aditighag
approved these changes
Sep 16, 2021
aditighag
added
the
ready-to-merge
This PR has passed all tests and received consensus from code owners to merge.
label
Sep 16, 2021
christarazi
changed the title
Improve ouput of development VM startup
Improve output of development VM startup
Sep 16, 2021
christarazi
approved these changes
Sep 16, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
ready-to-merge
This PR has passed all tests and received consensus from code owners to merge.
release-note/misc
This PR makes changes that have no direct user impact.
sig/contributing
Impacts contribution workflow, guidelines, and tools.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Minor clean ups, rewording, and improvements to the development VM startup. See commits for details.