Commit Graph

59 Commits (f052d14bac5a470a2e32996d5c042cbb754875c4)

Author SHA1 Message Date
Roman Iuvshyn 185273f8b9 RELEASE: Set next development version (#5734)
* RELEASE: Set next development version
2017-07-19 12:45:32 +03:00
Florent BENOIT 32d3545188 BugZilla 518578 : Let users to use .Chefile in addition to Chefile (#5471)
* BugZilla 518578 : Let users to use .Chefile in addition to Chefile. It allows to use a hidden file format

Change-Id: Ie290a4550ccbdcc9aac64cb0c3bc60ac434a2ed8
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-07-18 09:37:52 +02:00
Roman Iuvshyn ee1eae88fd RELEASE: Add next tag version in CLI 2017-06-29 15:22:39 +03:00
Roman Iuvshyn d1b3f93497 RELEASE: Add next tag version in CLI 2017-06-21 16:31:10 +03:00
Roman Iuvshyn a50cf745b5 RELEASE: Add next tag version in CLI 2017-06-14 10:57:53 +03:00
Yevhenii Voevodin a16ddd31a7 Use Authorization header instead of session-access-key cookie 2017-05-26 17:42:08 +03:00
Roman Iuvshin ef35f95cc1 RELEASE: Add next tag version in CLI 2017-05-24 12:42:36 +03:00
Roman Iuvshin cdabad5231 RELEASE: set nightly versions in dockerfiles 2017-04-25 21:53:37 +03:00
Roman Iuvshin b36a74d600 RELEASE: set tag versions in dockerfiles 2017-04-25 15:34:29 +03:00
Roman Iuvshin 2dec16aa42 RELEASE: set nightly versions in dockerfiles 2017-04-13 15:16:14 +03:00
Roman Iuvshin 5d9fffae71 RELEASE: set tags in dockerfiles 2017-04-13 13:40:51 +03:00
Roman Iuvshin 840ae853f8 Revert "RELEASE: set minor change version"
This reverts commit e23b9257a3.
2017-04-11 20:55:24 +03:00
Roman Iuvshin e23b9257a3 RELEASE: set minor change version 2017-04-11 18:10:45 +03:00
Roman Iuvshin cecda0ede6 RELEASE: set nightly versions in dockerfiles 2017-04-06 17:57:30 +03:00
Roman Iuvshin a789e18c2f RELEASE: set tags in dockerfiles 2017-04-06 16:26:21 +03:00
Roman Iuvshin 8217fb6a03 RELEASE: set nightly versions in dockerfiles 2017-03-30 18:21:58 +03:00
Roman Iuvshin 9bab57380c RELEASE: set tags in dockerfiles 2017-03-30 12:15:54 +03:00
Florent BENOIT f2363aed77 Fix Codenvy issue 1708
Handle host protocol property (and use ssl if defined)

Change-Id: If8a470d7c531087a93ec7d29331a6444d885b88b
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-03-27 18:25:16 +02:00
Alexander Garagatyi 798ca081b4 CHE-4098: separate terminal and exec agents (#4486)
Refactor golang terminal code.
Add ping frames into terminal websocket connection.
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-03-27 12:27:27 +03:00
Roman Iuvshin 0ea484b4b1 RELEASE: set nightly versions in dockerfiles 2017-03-15 18:21:29 +02:00
Roman Iuvshin 98cdab1076 RELEASE: set tags in dockerfiles 2017-03-15 16:20:08 +02:00
Tyler Jewell 2d3e371c45 Customize image names during image build (#4336)
The build scripts have been modified to generate images of the format $ORGANIZATION/$PREFIX-$NAME:$TAG. The default organization is eclipse, the default tag is nightly, and the default prefix is che. You can proivde --organization:<org>, --prefix:<prefix>, or --tag:<tag> on the command line to customize the images that are generated.

There is a new build-che.sh script which builds the minimum set of images to generate a new Che server, the CLI, and unit tests for these custom image names. If you build the CLI image, we overwrite /dockerfiles/cli/version/$TAG/images file to include the customized names that have been provided before this image is built, so the registry within the Docker image is accurate.

Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-03-10 13:41:45 +01:00
Roman Iuvshin 1609506e37 RELEASE: set nightly versions in dockerfiles 2017-03-02 21:50:35 +02:00
Roman Iuvshin a21adc4ecb RELEASE: set tag versions in dockerfiles 2017-03-02 16:48:13 +02:00
Florent BENOIT f1a880735d fix #3967 : replace WSMaster Machine API by Exec Agent calls
Change-Id: I67e9d668516bf634c47e72653086e93ef34d5fe9
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-02-28 12:44:51 +01:00
Roman Iuvshin b8ffa8048a set nightly versions in dockerfiles 2017-02-17 15:58:23 +02:00
Roman Iuvshin 0e71e71dde RELEASE: set tag versions in dockerfiles 2017-02-17 11:23:02 +02:00
Florent BENOIT c5dc519619 [cli] Improve UX of graceful shutdown message (#4064)
* Fix #1682 : Improve UX of graceful shutdown message
- base scripts : catch error code of action lifecycle and return it
- cha-lib : return error code based on http error code
- display better message when auth is required
- skip graceful mode when repo is mounted

Change-Id: I1ad021426444b5b4d880df518512e53ef4828336
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-02-13 17:19:11 +01:00
Florent BENOIT 5c7e9a96aa Fix #3988 : graceful stop should work with any system state (#4063)
- RUNNING -> call stop and wait for system to be in READY_TO_SHUTDOWN state
  - READY_TO_SHUTDOWN -> do nothing(maybe print something useful)
  - ANY_OTHER_STATE -> wait for system to be in READY_TO_SHUTDOWN state

Change-Id: I55a8b5ecb2b016d31dbbd95b8793af4952d8116b
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-02-09 08:03:28 +01:00
Florent BENOIT 5cf7dad0c8 Rename eclipse/che-cli to eclipse/che but adds previous name with an alias (#3692)
Change-Id: I99bd62739282c0342610012d089fc90b8d1a1caa
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-02-02 10:08:22 +01:00
Florent BENOIT 5554345aae [cli] Fix cli tests by reworking how integration tests are launched (#3991)
* Fix #3980 by reworking how integration tests are launched
- We used OS path mounted into container path (it makes issues as on Windows we don’t have these paths)
- Now use /dockerfiles path inside the container
- add skip check for nightlies or it was downloading new images while testing the current nightly
- add —rm for cleaning containers at the end of docker run
- introduce of some asserts instead of custom checks
- Fix windows issue (like path with spaces)
- Fix teardown of che start tests

Change-Id: I352d7c475796df641c1e34f461c55a76c897922d
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-02-02 09:43:48 +01:00
Roman Iuvshin d1e84cdea5 RELEASE: set nightly versions 2017-02-01 16:32:56 +02:00
Roman Iuvshin 72186fa76e RELEASE: set tag versions 2017-02-01 14:53:13 +02:00
Florent BENOIT bfd4252cbd Fix #3886 : Introduce graceful stop
if —force is used, then it is the same behaviour than before
else by default a new action graceful-stop is called which calls the /api/system/stop and wait that the remote side is going into “READY_TO_SHUTDOWN” mode.
after that the stop of containers is performed

if auth is required, —user and —password can provide the auth data

Change-Id: Ifea9bd32b0dfd2965e5365bc4ee54eb7c8714fc9
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-01-31 18:57:45 +01:00
Florent BENOIT 37d7a23ce9 Add TypeScript client side API for /api/system/state and /api/system/stop introduced by https://github.com/eclipse/che/issues/3892
Change-Id: Id131d3b2c334aabb38418213dbc2ac381dba8552
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-01-31 18:57:45 +01:00
Florent BENOIT cceb965fe5 allow to subscribe to a channel in asynchronous/promise way so we’re sure that channel is subscribed when we subscribe for it
Change-Id: I6b316f1ba2e2391e1793459406664365c095c924
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-01-31 18:57:45 +01:00
Florent BENOIT c9e530e41f add system api to DTO handled in Typescript
Change-Id: I1b1f9eecb666f5e3ca989ec0a7b46a3d9330ec67
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-01-31 18:57:45 +01:00
Florent BENOIT 1409ed8a21 Fix #2787 Do not write default values of che.server when writing the default Chefile
Change-Id: I
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-01-27 14:15:12 +01:00
Florent BENOIT f02be66b95 Chefile: Add support of docker compose file
Change-Id: I9bd7185cb080ddcf77f609c88fd6531d1c75fac2
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-01-26 18:01:24 +01:00
Florent BENOIT b80179e009 Fix #3704 by handling recipe content as a raw content and handle # for comments correctly
1. Multiline content is escaped by default while it shouldn’t for Dockerfile content.
Users may add “String.raw” but it’s not obvious so add it automatically

2. Handle # comments correctly

Change-Id: Icafb2e790f83b4a62c0c4d29edf2be08cff1a96f
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-01-24 23:44:50 +01:00
Florent BENOIT 3280d9fc80 enable unit tests by default each time we build the image
Change-Id: Id5ed7cd33c1fe2907dda15918fd2ead158ab544b
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-01-24 23:44:50 +01:00
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