For action, test and che-dir, improve log output to match the new cli output
Change-Id: I2f7da27f9a9658e2fbc49f3a766593203b172f4d
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
Change two lines to a single line
Instead of "local is older", display that "a newer version is available"
exact message is : "WARN: There is a newer eclipse/che-cli:nightly image on DockerHub."
Fix CODENVY-1235
Change-Id: I80bb2f8c48995b5dd06ecd3cff84009b76fceee7
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
use the coreutils date binary for that (add coreutils as part of the Dockerfile) which support iso 8601 dates (while busybox default implementation of date is not)
Change-Id: Ifa0d3ff1c88e275d2188a823cb74b449bfefdbd9
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
* CHE-2977 "move the core Che Dockerfiles and Dockerfile.centos into /dockerfiles/che"
merge docker.sh and che.sh.
also docker.sh script is moved from the assembly folder to the docker image folder and named entrypoint.sh
Change-Id: I7404f8f2896e8a7eea83ecab57a6c4c623c68abe
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
* Fix ssh client calls
It's due to the breaking change introduced by
https://github.com/eclipse/che/pull/3000
where name is now a parameter, not a path attribute
Change-Id: I88e0e5fb215351c59ce4a73494feb3670455c954
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
Change-Id: I745efd45dbb1459e40f659caa63f559701c4e9aa
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
* #1895 use static variables
* #1895 allow to customize ram when creating workspace
* #1895 Rework into promise, also start the workspace, check when workspace is booted and display that data
* #1895 Add che down command
* Continue work on #1895 with introducing set of commands for a workspace
example of Chefile content:
workspace.commands[0] = {commandLine : "mvn clean install -f ${current.project.path}", name : "this is my command", type : "mvn", attributes : {previewUrl : "http://${server.port.8080}/${current.project.relpath}"}}
workspace.commands[1] = {commandLine : "echo hello world", name : "this is hello command", type: "custom"}
* #1895 code cleanup
* Fix#1895 Only convert to JSON if it's a JSON object
* Fix issue on #1895 by using all data that can use chunks
* rename chefile to che-dir
* Add bat scripts for #1895 allowing to compile typescript library and generate docker image
* Add on #1895 the ability to execute docker containers by using same image tag than the one being used on the current container
* #1895 : use stderr to write errors and use stdout to write other outputs
* #1895 replace build-docker-image.* by build.* scripts
* #1895 enable decorators support
* - introduce @Parameter and @Argument decorators to inject command line parameters
- introduce --help/help
- introduce generic class loader for loading test classes
- introduce action and move tests to a dedicated directory
- allow to turn on debug with --logger-debug flag
- introduce user create operation for REST calls
* #1895 : iterate on eth* device to pickup one interface available
* #1895 introduce docker image for actions
* rework start workspace operation to return a promise only updated when workspace is started and also stopWorkspace() is returning promise which only resolve when workspace is stopped
* Add #1895 Introduce Remote calls through JSON Helper class
* Continue #1895 by introducing user and permissions API
Improve error handling
* #1895 change log trace
* #1895 allow to disable prefix log
* #1895 Add actions to add (with option to create it as admin) and remove a user
* #1895 subscribe to web socket before starting workspace
* #1895 handle empty url
* #1895 better http error handling for connection refused
* #1895 handle some error code
* #1895 Add optional --port parameter
* #1895 Remove the lines that start by # in Chefile as it may be comments
* #1895 use auth data login/password if provided without URL
* #1895 drop the use of a binary script to start program
* #1895 allow to avoid to show auth logging
* #1895 use of static constants
* #1895 use of uuid class
* #1895 add new methods to work with workspaces
* #1895 use promise in messages and wait web socket connection is performed
* #1895 allow to call remote commands with an action
* #1895 handle control C
* #1895 allow to write commands with format : command[0].name = , command[0].type = , etc
* #1895 allow to define custom properties to override che launcher properties
* #1895 rework cheboot to be a promise as cheboot script finishes when server is booted (so no need to wait on our own)
* #1895 rework traces
* #1895 handle multiple che up/che down cycle
* #1895 Add che dir status command
* #1895 allow to display custom message based on properties file
* #1895 externalize constants and refactor folder names
* #1895 Use logger for message
* #1895 che.properties file has been moved
* #1895 Allow to execute post-loading commands
* #1895 add debug info
* #1895 add missing commands for windows
* #1895 use Dockerfile from current directory if any
* #1895 reformat strings
* #1895 Change format of Chefile
* #1895 Add --verbose option
* #1895 better error report when parsing invalid Chefile
* #1895 init unit tests
* #1895 remove runtime
* #1895 set server name with UUID
* #1895 rename che-file to che-dir
* perform chmod on the file to be executable
* #1895 Add support for customizing product name
* #1895 rename post load commands into post load actions
with command and script
* Connectivity test + refactoring
1. Added connectivity test to test certain scenarios
2. Added refactoring to make script run faster in debugging scenarios.
* Added websocket test
* Fixup - env variables with spaces
1. Let the user pass environment variables that have strings with spaces.
2. Added pass through of http_proxy, https_proxy, and no_proxy from system into che-launcher
3. Cleaned up various formatting issues
* Fix export
Removed unnecessary export tgs
* Docker env fixes
* boot2docker warning
* Numerous fixes
* Update to support new docker-launcher
1. Added storage-overlay driver.
2. Use che-launcher instead of che-server image launche
3. Use the che.sh CLI to execute the start of the program.
* Increased server wait timeout to 60 secs
- Introduce Chefile data with generation and parsing : Allow to customize port number and workspace name for now
- Introduce logger to get same kind of logs than with che-launcher
- Fix documentation
- Improve sh scripts to generate nightly or latest or be started from any directory
Change-Id: I6da278cf1724fbb5a50526a7555e3059477e80fb
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>