Commit Graph

85 Commits (2fe4505eab2c321f89e4e720800a276089c160bd)

Author SHA1 Message Date
Roman Iuvshyn 9e59506125 fix unbound variable in cli tests (#6431) 2017-09-26 12:05:04 +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
David Festal 5725219d11 Move the Openshift scripts from the cli image to the init image... (#6390)
... so that they are available locally after a `docker run cli:config`.


Signed-off-by: David Festal <dfestal@redhat.com>
2017-09-26 10:34:19 +02:00
Roman Iuvshyn 66d6f9476a fix docker images build (#6372)
* fix docker images build
2017-09-21 11:13:26 +03:00
Roman Iuvshyn 8e03d56bfb RELEASE: Set next development version (#6345) 2017-09-19 14:52:53 +03:00
Ilya Buziuk 942254eacf Adding support of applying limitranges / resourcequotas on minishift
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2017-09-19 11:30:22 +02:00
Mario Loriedo adadce9a97 Backport rh-che changes to openshift deployment script
Signed-off-by: Mario Loriedo <mloriedo@redhat.com>
2017-09-11 11:14:19 +02:00
Mario Loriedo 715a98f17b Modify che-server Dockerfile to run on OpenShift (#6200)
Signed-off-by: Mario Loriedo <mloriedo@redhat.com>
2017-09-11 11:00:16 +02:00
Roman Iuvshyn 17ae2e6894 fix cli config test (#6137)
Signed-off-by: Roman Iuvshyn <riuvshyn@redhat.com>
2017-09-05 12:13:59 +03:00
Roman Iuvshyn 05f5921aad CLI tests, exit if any test failed to prevent pushing images (#6131)
Signed-off-by: Roman Iuvshyn <riuvshyn@redhat.com>
2017-09-05 10:34:14 +03:00
Mario Loriedo 4564c1a064 Scripts to deploy Che on OpenShift (#6098)
Signed-off-by: Mario Loriedo <mloriedo@redhat.com>
2017-08-31 10:04:38 +02:00
Roman Iuvshyn 2850a74a11 RELEASE: Set next development version (#6067) 2017-08-23 11:11:34 +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
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
Roman Iuvshyn c2eb3188c1 RELEASE: Set next development version (#5949) 2017-08-09 11:17:20 +03:00
Roman Iuvshyn 185273f8b9 RELEASE: Set next development version (#5734)
* RELEASE: Set next development version
2017-07-19 12:45:32 +03: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 57106827fb enable and fix existing and add some more tests CLI tests. (#5304)
* enable, fix and add more CLI tests.
2017-06-14 12:46:07 +03:00
Roman Iuvshyn a50cf745b5 RELEASE: Add next tag version in CLI 2017-06-14 10:57:53 +03:00
Florent BENOIT a246875dde Use of new Traefik version (before : RC1, now RC3) (#5232)
* Use of new Traefik version (before : 1.3RC1, now 1.3RC3)

Change-Id: I8b7097f60dc28bfcf2e4585d4c1e1393d53b8332
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-05-29 17:42:05 +02:00
Roman Iuvshin 77a4211ddf RELEASE: add bugfix version 2017-05-29 16:33:20 +03:00
Roman Iuvshin b97c4e2e98 RELEASE: add bugfix version 2017-05-26 13:33:57 +03:00
Roman Iuvshin ef35f95cc1 RELEASE: Add next tag version in CLI 2017-05-24 12:42:36 +03:00
Florent BENOIT a13068e140 Enable single port exposure on Che (#5115)
* Toggle Che single port by enabling CHE_SINGLE_PORT in the che.env file. (CHE_SINGLE_PORT=true, default is false)

By enabling single-port, all browser traffic to Che or any workspace will be routed through the value that you have set to CHE_PORT`, or 8080 if not set. Setting this property will transform the launch sequence of Che to launch a Traefik reverse proxy. The reverse proxy will act as the traffic endpoint for all browser communications. When a new workspace is started or stopped, Che will update Traefik's configuration
with rules for how browser traffic should be routed to Che or a workspace.

It’s now using an official Traefik image (before I was using a custom made image)
There is an interceptor with a kill switch. It means interceptor is applied only if plug-in is enabled (not only if plug-in is added at compilation)
It is automatically enabled when CHE_SINGLE_PORT is turned on

docker-compose file is handling if the single_port is turned on or off and then add the traefik container and redirect port only if the property is enabled. (not enabled by default)

using —debug flag when launching che is also turning on the traffic web console to view traefik routes

It is not enabled by default, so it means that without user change, there is no overhead, no useless container started, etc.

Change-Id: I12644d9202dadc0b10104f78bb055425ca6611ac
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-05-18 14:52:41 +02:00
Roman Iuvshin a26cd0330f RELEASE: Add next tag version in CLI 2017-05-10 17:39:51 +03:00
Roman Iuvshin 91a544817e RELEASE: add bugfix version 5.9.1 2017-04-27 16:27:05 +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 0149a81ea1 RELEASE: add bugfix version 5.8.1 2017-04-25 12:52:26 +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 abafb37973 RELEASE: add bugfix version 2017-04-11 12:26:56 +03:00
Roman Iuvshin 12c6c75bca RELEASE: add bugfix version 2017-04-08 19:09:09 +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
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
Florent BENOIT cd428369a2 Fix the aliases to use for the che cli image (for now it was the same name than current image)
And also use the org and prefix

Change-Id: I9f32c8c87cde8bc68a6204ba8c307aed15476bfe
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-03-15 14:56:05 +01: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 ddd2dc4283 RELEASE: add bugfix version to cli versions 2017-03-07 12:09:29 +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 f6d6e881ef RELEASE: add bugfix version to cli versions 2017-02-24 10:54:30 +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