Commit Graph

18 Commits (4619ccc0554dbeea46c7cb0ae34e2da82f21fae5)

Author SHA1 Message Date
Florent BENOIT 373210fdb5 Switch to CLI to launch CHE inside chedir instead of the Che launcher which is not anymore maintained (#3826)
Change-Id: I742383ab47ad34a9d94a4e3ce823e802023062c2
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-01-20 05:23:13 -07:00
Roman Iuvshin 688530281e RELEASE: set next development versions 2017-01-18 19:03:38 +02:00
Roman Iuvshin 44703c8616 RELEASE: set tags for release (#3796) 2017-01-18 17:58:03 +02:00
Roman Iuvshin 976f7296bc Update dto-pom.xml (#3702) 2017-01-12 21:36:28 +02:00
Florent BENOIT 09c1200a66 Use of Chefile in new cli : new 'dir' command (#3413)
* Use of Chefile in new cli : new 'dir' command

Change-Id: Iec4f40cfb503fe60c51d81ef06e07043e102db6a
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>

* Add documentation for che dir in cli
(also update ssh, action and test)

Change-Id: I56198634cb99d301e4f49d69f1eb357787b55af6
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2016-12-26 15:47:56 +01:00
Florent BENOIT 3975d6922f When starting docker containers, adds the CHE_* env variables
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>
2016-12-20 06:06:20 -07:00
Florent BENOIT 940b0bc7bd [dockerfiles] Fix scripts to be compliant with sh (and not only bash) (#3397) 2016-12-15 03:21:12 -07:00
Florent BENOIT fec792deb8 Always use -U to be sure to have the latest changes
Change-Id: Ie217a6f71a2b7c9ff18afbb3b418489d231c6352
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2016-12-12 03:32:48 -07:00
Florent BENOIT 035c143d78 Fix typescript issue with latest release of TypeScript (2.1.4)
Change-Id: I587deab4884c5aa9b3913fd9d92e5084262ba389
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2016-12-12 02:42:03 -07:00
Roman Iuvshin f24f16f725 use M8 tag for che-lib (#3344) 2016-12-10 15:56:59 +02:00
Roman Iuvshin e7befbacc3 set nightly versions for M9-SN iteration (#3315)
* set nightly versions for M9-SN iteration
2016-12-07 20:11:16 +02:00
Roman Iuvshin 3896cb0d3b RELEASE: set tag versions (#3306) 2016-12-07 14:04:46 +02:00
Florent BENOIT a5d0a5e242 - Rename base-cli folder to base (#3255)
- Rename lib-typescript folder to lib
- Update docker image eclipse/che-lib-typescript to be eclipse/che-lib

Change-Id: I878b52853a424f14cdec74074055d52dc8e198fd
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2016-12-02 01:41:50 -07:00
Tyler Jewell b0019183d8 move files (#2220) 2016-08-25 08:39:32 -07:00
Florent BENOIT 341a9b4a13 #1895 codenvy/che-file improvements (#2048)
* #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
2016-08-25 16:13:26 +02:00
Florent BENOIT fb82bf80b9 Continue work on #1895
- 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>
2016-08-04 08:40:17 +02:00
Florent BENOIT 0be2173cce Bunch of changes for allowing to build on CI with Docker/Linux
Change-Id: I1e7c20bd6ff591692bd5e47dfee60094e60b1687
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2016-08-01 17:01:32 +02:00
Florent BENOIT bc9d96deac Introduce two new docker containers
First one is codenvy/che-test allowing to check a local or remote Eclipse Che instance by creating a workspace, starting it and displaying console output
The other one is codenvy/che-file allowing to boot a local Eclipse Che by using a local directory. It will mount in Che this local folder as being a project.

Change-Id: Ie794b41f89608f86e589f1aeea06d63f0d9f2edc
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2016-07-29 18:22:28 +02:00