-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[cli] - Add check for exec on file system #4326
Conversation
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
if ! is_fast; then | ||
check_host_volume_mount | ||
fi | ||
return 2 |
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.
Looks like indentation is not alligned
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.
Oops - indentation is correct. That return statement should not be there. Removed.
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
Build finished. |
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/2113/ |
@@ -16,6 +16,7 @@ help_cmd_start() { | |||
text "Starts ${CHE_MINI_PRODUCT_NAME} and verifies its operation\n" | |||
text "\n" | |||
text "PARAMETERS:\n" | |||
text " --follow Displays server logs to console and blocks until user interrupts\n" |
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.
+1 really useful feature
Signed-off-by: Tyler Jewell <tjewell@codenvy.com> * exec check * add --follow
What does this PR do?
This adds a check for the ability to execute a file on the file system mounted to
:/data
. Also adds in the ability to skip this check if--fast
is provided on the command line. We previously checked to see if the file system is writable, but never checked to see if files could execute on the system.Also adds in
--follow
option to the start command which will provide blocking following of Che logs to the output screen. This will not let you know when the server has finished booting. The user must provide CTRL-C on the command line to kill this process.What issues does this PR fix or reference?
codenvy/codenvy#1877 (comment)
Changelog
[cli] Add check to ensure
:/data
can execute files written to it from a container[cli] Add
--follow
parameter to start command to follow logs while bootingRelease Notes
In the CLI, as part of the
start
command, you can now optionally provide the--follow
flag which will provide a blocking follow of the logs of the Che server.Docs PR
eclipse-che/che-docs#164
codenvy/docs#94