Commit Graph

155 Commits (36311ea4c8e5402ed0c96a728a2d0dae80f3bfc4)

Author SHA1 Message Date
Roman Iuvshin 36311ea4c8 [maven-release-plugin] prepare release 4.7.0 2016-08-29 15:12:12 +00:00
Mykola Morhun a2b15e617b CODENVY-562: Clean up container if it failed to start
Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
2016-08-18 17:56:55 +03:00
Alexander Garagatyi 0e9718e016 CHE-1370: refactor workspace environment bottstrapping and handling (#2108)
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-08-16 16:23:08 +03:00
Roman Iuvshin 813b36851c [maven-release-plugin] prepare for next development iteration 2016-08-16 08:28:05 +00:00
Roman Iuvshin ef38dd5fb2 [maven-release-plugin] prepare release 4.7.0-RC1 2016-08-16 08:28:02 +00:00
Mykola Morhun 3ebc3cdf34 CODENVY-453: Add ability to support docker registries with dynamic passwords
Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
2016-08-08 16:22:01 +03:00
Aleksandr Andrienko d25d5dbc54 codenvy-447: Remove containers in case failed to create docker instance.
Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
2016-08-02 13:10:26 +03:00
Roman Iuvshin 99b6beb356 [maven-release-plugin] prepare for next development iteration 2016-08-01 10:32:16 +00:00
Roman Iuvshin 3a0fd2a00c [maven-release-plugin] prepare release 4.6.0 2016-08-01 10:32:13 +00:00
Max Shaposhnik fe0cb3bd0f CHE-1248; remove workspace information from EnvironmentContext (#1658) 2016-07-20 17:30:10 +03:00
Mykola Morhun 13f1400156 CODENVY-413: Add new parameters to build docker image method
Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
2016-07-19 18:31:23 +03:00
Roman Iuvshin f9369146c1 [maven-release-plugin] prepare for next development iteration 2016-07-18 13:58:51 +00:00
Roman Iuvshin b6795f1a9a [maven-release-plugin] prepare release 4.5.0 2016-07-18 13:58:48 +00:00
Alexander Garagatyi 0d16da4ee0 Fix failing tests (#1783)
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-07-18 14:36:45 +03:00
Alexander Garagatyi 3eb38cdfcc CHE-1489: rework workspaces folder usage to fix Che on some configs (#1733)
CHE-1489: rework workspaces folder usage to fix Che on some configs

Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-07-18 13:03:41 +03:00
Mykola Morhun 6f64c2b724 Revert "CODENVY-413: Make it possible to mark MachineNode as 'sheduled for maintenace'" 2016-07-14 14:36:40 +03:00
Mykola Morhun c22e77d21c CODENVY-413: Add new parameters to build docker image method
Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
2016-07-14 10:00:37 +03:00
Alexander Garagatyi a7e9aeaadd Add improvements in docker machine creation code
Simplify and cleanup DockerInstanceProvider class.
Cleanup the code.

Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-07-12 10:29:37 +03:00
Igor Vinokur c6b3c7f6aa Fix bug when codenvy/ubuntu_jdk8 image is removed
When we creating machine not from recipe, but from local image,
the image will be removed after machine is created. So if user
creates a machine from codenvy/ubuntu_jdk8 image, the image will be
removed.
In the step of creating a snapshot from machine I have added a special
prefix to image repository to mark this image as snapshot.
In the step of creating machine (recovering from snapshot) I have
added two checks:
do not pull if image is a local snapshot;
remove source image only if the image is a snapshot from registry.
2016-07-11 13:05:47 +03:00
Roman Iuvshin 99c48dd484 CODENVY-733: add possibility to set JAVA_OPTS for dev machines (#1685) 2016-07-08 13:18:47 +03:00
Alexander Garagatyi 0e1d87785d Fix docker client on some systems (#1663)
Fix DockerConnector to avoid failing tests on some systems.
Use Future to prevent undefined order of thread execution.
Also change some exception message.
Also cleanup some tests.
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-07-06 11:49:32 +03:00
Alexander Garagatyi e0888f697e Fix arrays hashcode evaluation (#1670)
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-07-06 11:10:14 +03:00
Alexander Garagatyi e9dbf0f341 Fix docker system info model class. (#1662)
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-07-06 10:20:48 +03:00
Yevhenii Voevodin d1aa2cfed7 User structural refactoring 2016-07-05 11:27:58 +03:00
Aleksandr Andrienko 17612193a0 CHE-1353: Add possibility to configure specific docker api version.
Add possibility to configure api version by che.properties. Set minimum default docker api version 1.20.

Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
2016-07-05 11:08:45 +03:00
Alexander Garagatyi e36a13858e CHE-1365: code cleanup
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-07-04 13:09:25 +03:00
Alexander Garagatyi a0820fb81d CHE-1365: add possibility to provide remote docker build context
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-07-04 13:09:25 +03:00
Alexander Garagatyi d666fbda27 CHE-1365: remove deprecated methods from docker client
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-07-04 13:09:25 +03:00
Alexander Garagatyi bacdc0a4fc CHE-1365: add docker networking API
Add networking API to docker client.
Change JSON serialization/deserialization in docker client to
fix incorrect naming policy work of JsonHelper.
Fix entrypoint field in ContainerConfig since it is array of
strings, not single string.
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-07-04 13:09:25 +03:00
Mykola Morhun 7ee4e79db1 add missing license header
Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
2016-07-02 11:13:39 +03:00
Mykola Morhun 05aeec9045 CHE-277: Put logs of main process of machine to machine logs
Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
2016-07-02 10:31:44 +03:00
Alexander Garagatyi 8108d6a675 Fix integration test on latest ubuntu (#1623)
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-07-01 12:33:46 +03:00
Mykola Morhun c3c5c24753 CODENVY-606: fix NPE in DockerInstanceStopDetector
Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
2016-07-01 11:30:12 +03:00
Mario Loriedo 39fa37f0d3 Improvements to set the right API endpoint URL (#1576)
Read env variable CHE_API_ENDPOINT if property machine.docker.che_api.endpoint is not set
Set Che host IP to eth0 default IP when docker0 is not found on linux
Fixing typos

Signed-off-by: Mario Loriedo <mloriedo@redhat.com>
2016-06-30 17:00:48 +03:00
Roman Iuvshin 6a23f97700 [maven-release-plugin] prepare for next development iteration 2016-06-28 16:00:40 +00:00
Roman Iuvshin 400648e1db [maven-release-plugin] prepare release 4.4.0 2016-06-28 16:00:37 +00:00
Anton Korneta 9c25cdef20 CHE-1276: Fix test by extracting statuc to the variable 2016-06-27 16:03:01 +03:00
Anton Korneta 0e1ada8c5f CHE-1276: Fix closing of the docker response stream 2016-06-27 15:19:03 +03:00
Anton Korneta ec461af679 CHE-1276: Add exception handler during creation machine from snapshot 2016-06-27 13:44:28 +03:00
Aleksandr Andrienko 0eb87b8fab Merge pull request #1544 from eclipse/CHE-1312
CHE-1312: Add ability to configure credentials for several docker private registries
2016-06-24 10:39:14 +03:00
Aleksandr Andrienko a7c492ea8d Impove code. 2016-06-23 16:15:05 +03:00
Mario Loriedo 14e6d4a8e3 Add HTTP Host header to support Docker v1.12 (#1550)
Signed-off-by: Mario Loriedo <mloriedo@redhat.com>
2016-06-23 10:09:40 +03:00
Aleksandr Andrienko c49c6713e1 CHE-1312: Add ability to configure credentials for several docker private registries 2016-06-22 12:34:25 +03:00
Mykola Morhun 1176f4192e CHE-1296: ​​Use docker auth config saved in user preferences to start machine from private image
Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
2016-06-21 17:10:42 +03:00
Roman Nikitenko 9eb51b41d9 CHE-1264. Don't include CR char in log message when LF char follow
Signed-off-by: Roman Nikitenko <rnikitenko@codenvy.com>
2016-06-21 10:37:18 +03:00
Eugene Ivantsov 3ba68b1d00 Add Z suffix to override ws agent conf on RHEL systems
Signed-off-by: Eugene Ivantsov <eivantsov@codenvy.com>
2016-06-21 09:47:14 +03:00
Mykola Morhun bfc64d50c8 Improve code which works with docker authentication
Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
2016-06-15 12:17:12 +03:00
Roman Iuvshin 5adff554bc [maven-release-plugin] prepare for next development iteration 2016-06-13 18:57:39 +00:00
Roman Iuvshin e9f5d4971e [maven-release-plugin] prepare release 4.3.0 2016-06-13 18:57:36 +00:00
Mykola Morhun 88aa82811b CHE-1245: Update docker client to use new format of X-Registry-Config header
Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
2016-06-12 14:46:11 +03:00