-
Notifications
You must be signed in to change notification settings - Fork 121
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
CODENVY-1829 Add ability to use ws-agent from main assembly #1835
Conversation
@@ -73,6 +73,11 @@ generate_configuration_with_puppet() { | |||
WRITE_PARAMETERS=" -e \"PATH_TO_CHE_ASSEMBLY=${CHE_ASSEMBLY}\"" | |||
fi | |||
|
|||
if [[ local_assembly && -f $(echo ${CHE_CONTAINER_ASSEMBLY_FULL_PATH}/lib/${WS_AGENT_ASSEMBLY}) ]]; then | |||
info "Using ws-agent from main assembly" |
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.
info "config" "Using ws-agent from assembly"
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.
fixed
@codenvy/pm please approve |
Will this need to be part of documentation for doing custom assemblies? |
don't think so, it is our internal mechanism for testing these custom assemblies |
What does this PR do?
If Codenvy has been started with /assembly mount, it may contain ws-agent in assembly main (by default location lib/ws-agent.tar.gz). If CLI detects one, it will use this ws-agent.
What issues does this PR fix or reference?
#1829
Changelog
The CLI can now use the ws-agent from a mounted assembly.
Release Notes
n/a
Docs PR
n/a