Commit Graph

188 Commits (440f92d3bbdfe8c330c8d2bf8f87bd7740012cad)

Author SHA1 Message Date
Tyler Jewell 7e1a818448 [cli] Make preflight test containers with unique name (#4378)
* generate random names for test containers
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
2017-03-09 07:03:58 -08:00
Tyler Jewell 36a793cc6a fixup (#4350)
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
2017-03-08 12:04:57 -08:00
Sun Seng David TAN 35d8e2dc6d Boolean server property to enable or disable auto start of a workspac… (#4287)
* Boolean server property to enable or disable auto start of a workspace when accessing to it through its url

https://issues.jboss.org/browse/CHE-116

Signed-off-by: Sun Seng David Tan <sutan@redhat.com>

* fixup! Boolean server property to enable or disable auto start of a workspace when accessing to it through its url
2017-03-07 16:00:45 +01:00
Tyler Jewell 37275d3a55 [cli] - Add check for exec on file system (#4326)
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
* exec check
* add --follow
2017-03-07 06:11:28 -08:00
Roman Iuvshin ddd2dc4283 RELEASE: add bugfix version to cli versions 2017-03-07 12:09:29 +02:00
Roman Iuvshin 48ca887cec allow using args for start command in cmd_upgrade (#4332)
* allow using args for start command in cmd_upgrade

for now there is no way to pass any arg to start command on upgrade, but on our prod we must skip preflight checks because they will not work due to closed ports on firewall. those changes allow using `upgrade --skip-backup --skip:preflight`
2017-03-07 11:30:04 +02: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
Roman Iuvshin cea4edfeab fix env property name (#4293) 2017-03-02 15:48:27 +02:00
Roman Iuvshin c487a5af2a Remove no proxy duplicates (#4285)
* Remove no proxy duplicates
2017-03-01 23:55:47 +02:00
Vitalii Parfonov 445c24c03d Use https instead of http in web links. (#4276)
Signed-off-by: Masaki Muranaka <monaka@monami-ya.com>
2017-03-01 14:58:58 +02:00
Tyler Jewell dcf6c63683 [cli] Add ability to skip config regeneration when starting (#4244)
* skip config
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
2017-03-01 10:41:12 +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 f6d6e881ef RELEASE: add bugfix version to cli versions 2017-02-24 10:54:30 +02:00
Florent BENOIT 26e4cefdba Add search algorithm for host ip with fedora enp* network interfaces #4020
Change-Id: I6b65eba02eaab76260d33ffb323fe7413d5ee162
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-02-23 09:28:49 +01:00
Florent BENOIT cd1e74f70d Fix #4171 use fat option to allow to work on FAT filesystems (like Windows) (#4182)
Change-Id: I6ded03a2591150f6b1cfc5fa6f86eb07db8c3462
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-02-20 17:46:22 +01:00
Tyler Jewell b53932db99 CLI - set uid:gid of Che and workspaces (#4050)
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
* Update docker-compose.yml.erb
* Add uid checks
2017-02-20 07:33:57 -08:00
Tyler Jewell e35fd55321 [cli] Add More Checks (#4175)
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
* advance API version
* add diff for repo
* add curl output to bundle
2017-02-20 06:10:30 -08:00
Tyler Jewell 5d1216ea3d [cli] Remove Duplicate Methods (#4172)
* remove duplicate methods

Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
2017-02-17 18:03:40 +02:00
Jonah Graham 1a5adabaa6 Bug 4168: Add go to the PATH of che-dev docker image (#4169)
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2017-02-17 06:12:38 -08: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
Roman Iuvshin 25336aea7d fix cli test (#4164) 2017-02-16 22:28:47 +02:00
Florent BENOIT 24ffe5da59 Fix #4125 : Default debug port is 8000 when user do not specify it in the env file (#4157)
Change-Id: I1c70b01fe9bfd86c8299f32693bdebefc82d3c89
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-02-16 16:12:19 +01:00
Roman Iuvshin 37aaf1da10 update docker hub url in cli tests (#4155)
* update docker hub url in cli tests
2017-02-16 16:37:54 +02:00
Alexander Garagatyi 6032c5905d CODENVY-1749: add possibility to set dns resolvers (#4129)
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-02-15 12:47:46 +02:00
Yevhenii Voevodin 02a60a29c1 Allow to override JAVA_OPTS from che.env 2017-02-15 10:58:27 +02:00
Tyler Jewell bb03ebd936 [cli] Simpler networking config explanation & command line overrides (#4114)
* Simpler networking config explanation & command line overrides
2017-02-14 19:01:23 +02:00
Yevhenii Voevodin 9370327d46 Inject MAVEN_OPTS environment variable along with JAVA_OPTS to container 2017-02-14 17:50:56 +02:00
Max Shaposhnik e4099b8d26 Add option to cleanup volumes after docker_compose containers stop (#4134) 2017-02-14 16:57:03 +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
Roman Iuvshin 2deb14ddfb RELEASE: add bugfix version 5.2.2 to cli versions 2017-02-13 14:55:19 +02:00
Tyler Jewell b446d11425 [cli] Fix CLI loading behaviorCli loading (#4083)
* [cli] Fix CLI loading behaviorCli loading
2017-02-10 15:31:55 +02:00
Roman Iuvshin ed06339358 use official openjdk image (#4087)
* use official openjdk image
2017-02-10 14:34:35 +02: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
Roman Iuvshin f10b0b0e7e remove CLI scripts mount in dev mode (#4069) 2017-02-09 02:12:12 +02:00
Mario Loriedo 0e249109d2 Fix locale on CentoOS based image
Signed-off-by: Mario Loriedo <mloriedo@redhat.com>
2017-02-08 23:14:00 +01:00
Roman Iuvshin c1f71b1626 Che 3993 (#4046)
* CLI - Fix for CHE-3993 - Proper integer comparison
2017-02-07 18:04:53 +02:00
Florent BENOIT ee95f2c1de Fix #4005 only gives -it docker run option if it was given from the command line (#4037)
It avoids to give the option when it was not added on the original command line and that the sub action is not requiring a terminal

Also now print a warning if a terminal is given without interactive mode

Change-Id: Ib76480ccf4320748a4fbc4704773b9337048ef61
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-02-07 15:21:11 +01:00
Roman Iuvshin b8aadda1a4 Revert "CLI - Fix for CHE-3993 - Proper integer comparison" (#4035) 2017-02-07 10:18:33 +02:00
Tyler Jewell f0e2a32658 CLI - Fix for CHE-3993 - Proper integer comparison (#4028)
* fix integer comparison
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
2017-02-06 13:15:28 -08:00
Shane Bryzak 11da7a2175 CHE-3774 Add Eclipse Vert.x stack to default assembly (#3843)
Signed-off-by: Shane Bryzak <sbryzak@redhat.com>
2017-02-06 19:42:58 +01:00
Tyler Jewell 8287fb66d3 Refactor CLI: Faster boot, add `--help` global option, standardize command lifecycle (#4006)
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
* multi container fixup
* Update images
* add --help parameter
* move entrypoint
* remove empty
2017-02-06 07:37:08 -08:00
Roman Iuvshin 175b0b6087 RELEASE: add bugfix version to CLI 2017-02-03 16:02:58 +02:00
Florent BENOIT ab5c41c7a9 Add debug output for issue #3840 : --unison-verbose flag is enabled on the background sync option of che-mount as well (#4001)
Change-Id: I143e68b698c6a608ac4878f25fb5f5671134186d
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-02-02 15:29: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
Florent BENOIT fad8bf4de2 If server is not found, we should return false
Change-Id: Ie48d3bd2340f2c1f916b95a3bc9354ff46ae3d6a
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-02-01 18:05:22 +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