Max Shaposhnik
202ded08ec
Merge branch 'master' into che-multiuser
2017-08-18 10:33:46 +03:00
Mykhailo Kuznietsov
ce41b4a71d
Change copyright owner to "Red Hat, Inc" on remaining files ( #6032 )
...
* Change copyright owner on remaining files
* fixup! Change copyright owner on remaining files
* fixup! fixup! Change copyright owner on remaining files
2017-08-17 18:05:53 +03:00
Roman Iuvshyn
931c144fbb
fix CLI boot check
2017-08-17 17:54:20 +03:00
Mykhailo Kuznietsov
69d5148385
Changed copyright owner to "Red Hat, Inc." in license headers ( #5964 )
...
Change license header contributor to Red Hat, Inc.
2017-08-11 10:46:58 +03:00
Eugene Ivantsov
57e9d4926d
Run sync container in an interactive mode ( #5576 )
...
* Run sync container in an interactive mode
* Run sync container in an interactive mode
2017-07-10 17:06:01 +03:00
Michail Kuznetsov
e393bf4cc6
Added stacks archetype ( #5417 )
2017-06-22 12:03:43 +00:00
Roman Iuvshyn
55e6720114
CLI fix offline save stacks to tars ( #5269 )
2017-06-02 15:12:10 +03:00
Roman Iuvshyn
5f26c06f14
CHE-5247: fix cmd download and cmd offline ( #5263 )
2017-06-01 16:58:29 +03:00
Florent BENOIT
63b440af28
Use of version_lt function instead of less than ( #5141 )
...
less_than is not working with for example “5.9.1” and “5.10.0”, 5.9.0 being said to be a greater version
bash-4.3# version_lt "5.9.0" "5.10.1"
—> 0
bash-4.3# less_than "5.9.0" "5.10.1"
—> 1
bash-4.3# less_than "5.6" "5.8"
—> 0
Change-Id: I33417f012c193416bfb746df125c19e92a868b4e
note: version_lt is a less and equals method, so we need to exclude the condition : tag == base version
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-05-19 17:18:20 +02:00
Max Shaposhnik
aed295c7ba
Fix OS check in CLI
2017-05-12 15:34:18 +03:00
Max Shaposhnik
d81b517690
Fix CLI startup output for Windows; ( #5045 )
2017-05-11 12:18:09 +00:00
Roman Iuvshin
cdabad5231
RELEASE: set nightly versions in dockerfiles
2017-04-25 21:53:37 +03:00
Eugene Ivantsov
dcdd4c3980
Fix archetypes defaults in CLI ( #4905 )
...
Signed-off-by: Eugene Ivantsov <eivantsov@codenvy.com>
2017-04-25 16:00:49 +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
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
Tyler Jewell
20165fe9fc
Add Archetype to CLI ( #4179 )
...
* advance API version
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
* add diff for repo
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
* refactor
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
* fixup
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
* add curl output to bundle
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
* fixup
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
* fixup
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
* initial
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
* add run
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
* fixup
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
* refactor
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
* confirm operation
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
* remove orphaned images
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
* refactor
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
* fixup! refactor
* Fix archetype descriptions
* Set current development version
* Add JSON archetype for cli
* usage message
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
* Add stop archetype command. Add flags --che and --codenvy
* Add --che and --codenvy flags for build archetype command
* propagate groups of the command line of eclipse che cli to the sub commands
Change-Id: I59c5ae2789b97251c7d9ae1b3cd87a76d263a3eb
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
* Fixed year
2017-04-05 15:34:14 +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
Tyler Jewell
7c124ff92d
fix blocking parameter ( #4475 )
...
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
2017-03-19 10:31:26 -07:00
Roman Iuvshin
12cf01a8ff
fix cli config command, cli log, jmx setting ( #4409 )
...
* fix cli config command, cli log, jmx setting
2017-03-18 21:11:13 +02:00
Florent BENOIT
24918d0445
Fix #4084 by adding option to allow /dev/fuse usage on ubuntu
...
Change-Id: I6e461b1d98fc361366db9caecd658c9f1c2dea1e
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-03-18 10:32:23 +01: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
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
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
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
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
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
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
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
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
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
f10b0b0e7e
remove CLI scripts mount in dev mode ( #4069 )
2017-02-09 02:12:12 +02: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