Commit Graph

123 Commits (2545559c300956d0ec10d17543e4db98e7d0a07d)

Author SHA1 Message Date
Mykhailo Kuznietsov dcb00c53d0
Fix remaining files with licenses (#10746) 2018-08-21 10:25:45 +03:00
Roman Iuvshyn ef9eeb8ed1
move to central (#10639)
* move to central
2018-08-03 12:39:24 +03:00
Roman Iuvshyn 985b895628
fix CLI ENV vars setting / overriding (#8818)
* fix CLI ENV vars setting / overriding
2018-02-19 10:36:45 +02:00
Roman Iuvshyn 29072f2caf
Do not print CHE CLI config message if config is skipped (#8066) 2017-12-27 14:53:40 +02:00
Roman Iuvshyn 26f3da38e3
Do not pull all CHE images on CLI init if --skip:pull OR --fast specified (#7417)
* Do not pull all CHE images on CLI init if --skip:pull specified
2017-11-17 16:17:40 +02:00
Florent BENOIT 980a378c14 Adds a check for linuxkit in addition to moby to detect if we're running docker4mac or docker4windows (else it will flag it as being 'native')
The change has been introduced with latest versions of Docker
issue is #7282

Change-Id: Id71fed460ae55ff6a1a5c34b6771f898872c91b1
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-11-13 10:39:27 +01:00
Florent BENOIT 6ea8dab1bc Overriding of docker images was introduced previously but it was not working for images used in Docker compose files
(it was working for init image for example)

Change-Id: Ibc2386c7508de5ae76ecd677402050c259a77c32
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-11-10 16:09:36 +01:00
Max Shaposhnik ea7e071b3a
Use same assembly for single- and multiuser Che 2017-11-07 12:27:02 +02:00
Roman Iuvshyn 39cf5b5790 Fix CLI repo mount with multiuser mode (#6990) 2017-10-25 17:00:53 +03:00
Roman Iuvshyn 2b18edf5de Fix CLI multiuser fail, fix CLI tests (#6975)
* Fix CLI multiuser fail, fix CLI tests
2017-10-25 13:11:43 +03:00
Max Shaposhnik 57aa4400e4 Make /system/status service public to allow liveness checks by it 2017-10-25 12:53:43 +03:00
Eugene Ivantsov a99ef73fcf Smart image loading (#6871)
* Smart image loading

* Fixup
2017-10-24 19:32:45 +02:00
Sergii Kabashniuk 40f574871c Merge master into che6 (#6787)
* Fix FindTextFeatureTest selenium test (#6762)

* added timeout for closing the 'Search' loader before checking that FindText form is closed

* Allow to disable require update password for default admin user (#6777)

* Apply fixes to update maven plugins
- errorprone : ignore test methods that are using testxyz() pattern but are not annotated by @Test
- Remove  deprecated stuff (for example use descriptors/descriptor for maven-assembly plugin
- remove dependency with specific version
- remove unnecessary stubbing

Change-Id: I64e96c0465dc9081ed9dde6841ca9f77fb515005
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>

* No proxy handling (#6775)

* Fix setting empty no_proxy

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

* Fix setting empty no_proxy

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

* Fix typo

* Skip github api requests in keycloak interceptor

Signed-off-by: Anna Shumilova <ashumilo@redhat.com>

* Dashboard: added the validation of a factory name's uniqueness (#6758)

* CHE-5462: add unique-factory-name validation directive.

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* CHE-5462: use validation directive for factory name's uniqueness.

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* CHE-6545: Add condition for breakpoints (#6763)

* Provide new presentation model for the tree node (#6718)

* Provide new presentation model for the tree node

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>

* Add missing HasNewPresentation interface

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>

* Increase login page load timeout in selenium tests (#6794)

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>

* Fix problem with open factory page in the selenium tests (#6789)

* fixup! Merge with master
2017-10-18 16:55:21 +03:00
Sergii Kabashniuk f08f5c52fc Merge with master 2017-09-26 15:33:44 +03:00
David Festal 839944884f Allow overriding the images used by the CLI (#6379)
* Allow overriding the used images (IMAGE_INIT, ...) when using the CLI

Signed-off-by: David Festal <dfestal@redhat.com>

* fix bad formatting

Signed-off-by: David Festal <dfestal@redhat.com>

* clean in www.shellcheck.net

Signed-off-by: David Festal <dfestal@redhat.com>

* Add tests

Signed-off-by: David Festal <dfestal@redhat.com>

* Fix a mistake

Signed-off-by: David Festal <dfestal@redhat.com>
2017-09-26 10:35:00 +02:00
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