Commit Graph

67 Commits (abc1367c1d3eb4311c2aa760fdfd4da38c0669bd)

Author SHA1 Message Date
Max Shaposhnik 5621095554 Fix registry doc (#3477) 2016-12-22 14:51:51 +02:00
Tyler Jewell 589f47d826 Improve Che's documentation around configuring Docker (#3472)
* docker
* firewall
2016-12-21 13:13:40 -08: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
Tyler Jewell a1526c2cf0 Improve CLI Boot Speed (#3424) 2016-12-19 09:24:07 -08:00
Florent BENOIT d1d13a15f2 Compare date but by having a period of 1hour as created date and published date are not the same (some time is elapsed before publishing an image locally (transfer time) (#3404)
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>
2016-12-16 00:25:33 -07:00
Tyler Jewell e7f56ac457 CLI Improvements (#3394)
* update offline folder
* move to docker 1.11
* offline mode
2016-12-15 06:04:28 -08: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 0631d8b1cc Fix for sync, test, action and ssh commands (#3373)
Change-Id: I1a223d388c8966b84e51190c723ac66bacdfa268
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2016-12-14 00:09:10 -07:00
Max Shaposhnik 15d44a18d4 Fixup formatting 2016-12-13 19:01:46 +02:00
Tyler Jewell 7c59468fd6 CLI Fixes - Proxy, Native Mode (#3360)
* fix proxy

* fixup

* fixup! fixup

* fixup

* fixup! fixup! fixup
2016-12-13 08:57:38 -08:00
Florent BENOIT eee092c76d in development mode, enable debug mode (it will start Tomcat with jpda mode) (#3371)
Fix #3367

Change-Id: I1de413e1e7b5fce4631055811b2b2b879b3052aa
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2016-12-13 09:17:38 -07:00
Eugene Ivantsov 0b9ae2a091 Remove unnecessary -ti (#3364)
* Remove unnecessary -ti

Signed-off-by: Eugene Ivantsov <eivantsov@codenvy.com>

* Remove unnecessary -ti

Signed-off-by: Eugene Ivantsov <eivantsov@codenvy.com>
2016-12-13 12:44:09 +02:00
Florent BENOIT 5be04c1775 Display always a newline if user enter y
if "n" then we don't display a newline

Change-Id: Ia936faa261659443250e1ad7ccf3fc460c3d1215
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2016-12-13 01:34:27 -07:00
Florent BENOIT 75e18f6b9e When reading input, check if it works or not
Change-Id: I7cc57b7310de4c3259f2196cd7c2ba04b98f8fcd
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2016-12-13 01:34:27 -07:00
Florent BENOIT 12191665f3 - Compare timestamps for date instead of using string parsing
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>
2016-12-13 01:34:27 -07:00
Snjezana Peco 394ca3b512 CHE-3264 - Starting the che server as an user
Signed-off-by: Snjezana Peco <snjezana.peco@redhat.com>
2016-12-12 19:21:41 +01:00
Florent BENOIT a7d4bb753e CHE-2977 "move the core Che Dockerfiles and Dockerfile.centos into /dockerfiles/che (#3318)
* 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>
2016-12-12 09:09:24 -07:00
Tyler Jewell a86c0c5e65 CLI Fixup (#3345)
* proxy fixup
* offline
* fixup
* remove duplicate
2016-12-12 07:14:15 -08: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
Tyler Jewell 6891668c72 emergency fix 2016-12-08 15:27:00 -08:00
Tyler Jewell 4e013b4c35 Che CLI Improvements (#3301)
* cli improvements
* usage
* docs
* Remove need to mount :/cli
* DNS resolver check
* proxy detection
* export proxy
* Downgrade docker client to 1.10
2016-12-08 11:08:15 -08:00
Roman Iuvshin 8cb09a8c39 fix no proxy issue (#3325)
* fix no proxy issue
2016-12-08 18:53:57 +02:00
Roman Iuvshin 4c587d5248 Configure Master & Agent JVMs to Inherit Proxy Settings (#3323)
* Configure Master & Agent JVMs to Inherit Proxy Settings
2016-12-08 15:59:43 +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
Alexander Garagatyi 42272e4bd9 CHE-3199: add cpu limits configuration (#3278)
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-12-07 17:39:59 +02:00
Roman Iuvshin 3896cb0d3b RELEASE: set tag versions (#3306) 2016-12-07 14:04:46 +02:00
Roman Iuvshin 871437aa9e single compose file template (#3290)
* single compose file template
2016-12-06 16:00:19 +02:00
Tyler Jewell d484d4be27 Update che.env to reflect latest properties (#3251)
* initial

* docker alias

* docs
2016-12-02 05:49:07 -08: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
Florent BENOIT 4f83334a10 add all CHE_ properties to che.env file at first (#3246)
Change-Id: Ia7a48355d81dc1ba7b4b86726038637ef3e44e68
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2016-12-01 10:56:21 -07:00
Florent BENOIT 9f5c994156 Fix ssh client calls for UD and CLI (#3238)
* 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>
2016-12-01 08:25:12 -07:00
Florent BENOIT 56ddd58481 Move eclipse/che-dockerfiles che-* images to this repository in /dockerfiles folder
Change-Id: I4c258775a4a67a87cba3b3dbfbc1af2cc2f8416f
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2016-12-01 06:10:34 -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
Tyler Jewell 7e6cbd097c che product name (#2203) 2016-08-24 16:21:23 -07:00
Tyler Jewell fb088d041d Changes to support che-in-che (#2119)
* Che server container editable
* Add CHE_WORKSPACE_STORAGE variable
* stack and template
* fixed echo bug
* Added profiler
* Fix CHE_DATA_FOLDER issues
* Add additional variables to be honored
* ordering
* Fix profile add
* Revert change to ExtraVolumeProvider
* fixed profile update
2016-08-24 13:02:02 -07:00
Tyler Jewell 54f7432367 Optimize che-launcher for perf (#2105)
* Optimize che-launcher for perf

* Changed test for addresses

* fixup! ignore missing interface

* fix port view
2016-08-12 08:59:35 -07:00
Oleksii Orel 81d42a63f4 CHE-2002: increase ssh connection timeout
Signed-off-by: Oleksii Orel <oorel@codenvy.com>
2016-08-09 19:46:32 +03:00
Tyler Jewell ae639ef88c Connectivity test + refactoring (#2057)
* 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
2016-08-08 12:12:04 -07:00
Tyler Jewell 74ea2aec50 Fixes infinite loop on windows (#2049)
* Fixes infinite loop on windows

* fixed missing data folder output
2016-08-04 11:44:23 -07:00
Tyler Jewell d6de00908d Update Vagrantfile to support new docker-launcher (#2041)
* 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
2016-08-04 08:58:58 -07: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
Tyler Jewell 4b37b05a1c Fix docker_host_ip lookup (#2040) 2016-08-03 15:13:15 -07:00
Tyler Jewell 58ca02cd73 Update comments 2016-08-02 14:47:26 -07:00
Tyler Jewell 04b06f43de Updated comments 2016-08-02 14:45:18 -07:00
Tyler Jewell f1168169c1 Move che-mount to alpine-based image (#2027)
* Move to alpine-based image

* Updated to support alpine-based image
2016-08-02 12:03:19 -07:00
Mario Loriedo 19df7c1c8e Activated execution flag on synch.sh (#2025)
Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2016-08-02 08:59:31 -07:00
Brad Micklea 36080754d6 Merge pull request #2018 from eclipse/che-mount
Add che-mount support for desktop IDEs
2016-08-02 10:14:42 -04:00