Alexander Garagatyi
bee9890e4e
CODENVY-1443: fix incorrect usage of non bind-mount volumes ( #3877 )
...
Add other minor fixes
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-02-06 10:44:30 +02:00
Roman Iuvshin
0dd0dea686
[maven-release-plugin] prepare for next development iteration
2017-02-01 13:31:32 +00:00
Roman Iuvshin
d138c3623f
[maven-release-plugin] prepare release 5.2.0
2017-02-01 13:31:25 +00:00
Ilya Buziuk
1ec641a7e8
CHE-58: Refactoring. Introducing new classes for handling Kubernetes resources (KubernetesContainer, KubernetesService, KubernetesEnvVar)
...
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2017-01-27 17:33:45 +01:00
Angel Misevski
6e9964c2a2
Add DockerConnectorProvider to allow choosing OpenShiftConnector
...
Adds class so that choice between DockerConnector and OpenShiftConnector
can be made via setting a property in che.properties. The provider is
injected instead of DockerConnector, and provides the appropriate
implementation through a get() method.
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2017-01-27 17:33:45 +01:00
Mario Loriedo
364e06f1e5
Added an OpenShift connector for container creation
...
Signed-off-by: Mario Loriedo <mloriedo@redhat.com>
2017-01-27 17:33:45 +01:00
Mykola Morhun
956d39183d
CODENVY-1393: Limit CPU consumption by build docker image tasks
...
Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
2017-01-25 12:19:20 +02:00
Roman Iuvshin
05a7cd53b5
[maven-release-plugin] prepare for next development iteration
2017-01-18 16:33:24 +00:00
Roman Iuvshin
41d3739928
[maven-release-plugin] prepare release 5.1.0
2017-01-18 16:33:17 +00:00
Yevhenii Voevodin
1ede4845c4
Implement cancellation ( #3701 )
2017-01-16 18:05:45 +02:00
Roman Iuvshin
9904460818
[maven-release-plugin] prepare for next development iteration
2017-01-06 11:48:49 +00:00
Roman Iuvshin
b5a7d04ca2
[maven-release-plugin] prepare release 5.0.0
2017-01-06 11:48:42 +00:00
Mihail Kuznyetsov
0e8b21ad3f
Set new license year
2017-01-04 17:10:31 +02:00
Mykola Morhun
2c855c68ac
Che 3135: Clean up abandoned docker networks created by CHE ( #3348 )
...
CHE-3135: Clean up abandoned docker networks created by CHE
2016-12-23 16:23:56 +02:00
Roman Iuvshin
abc1367c1d
remove milestone from version
2016-12-23 15:04:56 +02:00
Roman Iuvshin
813d930275
change version to M10-SNAPSHOT
2016-12-22 11:48:31 +02:00
Alexander Garagatyi
1eceaebe75
CODENVY-1271: fix agent launching in some cases
...
Fix AbstractAgentLauncher.
Code cleanup.
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-12-21 16:28:37 +02:00
Alexander Garagatyi
42272e4bd9
CHE-3199: add cpu limits configuration ( #3278 )
...
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-12-07 17:39:59 +02:00
Roman Iuvshin
7850cc2908
[maven-release-plugin] prepare for next development iteration
2016-12-07 12:34:30 +00:00
Roman Iuvshin
1c15a44844
[maven-release-plugin] prepare release 5.0.0-M8
2016-12-07 12:34:25 +00:00
Max Shaposhnik
afadcd24f3
CHE-3065 Add uncaught exceptions handler in threads being run by ExecutorService ( #3174 )
2016-11-28 11:50:50 +02:00
Igor Vinokur
c91257f46b
CODENVY-657: Do not log SourceNotFoundException ( #3084 )
2016-11-22 22:55:25 +02:00
Anatoliy Bazko
b0c4235f1e
INFRA-14: Limits number of pids ( #3075 )
...
* INFRA-14: Limits number of pids
2016-11-15 12:34:58 +02:00
Alexander Garagatyi
0c81935f21
[WIP] Hackathon merge ( #3013 )
...
Refactors workspace bootstrapping code:
Addition of projects volumes to ws-machines and
applying of agents moved to infrastructure provisioner.
It can be overwritten in any implementation of Che and
will be responsible for providing all infrastructure needed for Che implementation functioning.
Allow to configure environment network driver.
Allow to add Agents from the code instead of special files.
These agents can override agents configured in files if identifiers are equal.
Adds possibility to host agents binaries from CHE master.
Reworks agents in a way when they can be downloaded from CHE master if they are not found on FS.
Adds workspace ID to internal representation of environment to allow to use it for internal purposes of machine bootstrapping.
Renames some properties.
Refactors AgentConfigApplier to encapsulate additional code that was used with this class before.
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-11-11 18:21:28 +02:00
Roman Iuvshin
52f84d9092
[maven-release-plugin] prepare for next development iteration
2016-11-10 11:37:24 +00:00
Roman Iuvshin
315056731e
[maven-release-plugin] prepare release 5.0.0-M7
2016-11-10 11:37:20 +00:00
Mykola Morhun
d74b24fb07
Fix broken links section in docker-compose recipe ( #2850 )
2016-10-31 16:22:48 +02:00
Mihail Kuznyetsov
494442e11a
CHE-2015 Rename configuration properties
2016-10-27 17:29:46 +03:00
Roman Iuvshin
825af31a5d
[maven-release-plugin] prepare for next development iteration
2016-10-26 09:37:49 +00:00
Roman Iuvshin
7da1d4a910
[maven-release-plugin] prepare release 5.0.0-M6
2016-10-26 09:37:45 +00:00
Roman Iuvshin
b986091e4a
[maven-release-plugin] prepare for next development iteration
2016-10-07 10:22:41 +00:00
Roman Iuvshin
8f799b4c28
[maven-release-plugin] prepare release 5.0.0-M5
2016-10-07 10:22:37 +00:00
Roman Iuvshin
33944c6ec1
set M5 version
2016-09-27 16:08:19 +03:00
Roman Iuvshin
152be21b4f
[maven-release-plugin] prepare for next development iteration
2016-09-26 14:19:41 +00:00
Roman Iuvshin
89ab012035
[maven-release-plugin] prepare release 5.0.0-M3
2016-09-26 14:19:37 +00:00
Roman Iuvshin
900ccbb807
set M3 version
2016-09-20 17:31:42 +03:00
Roman Iuvshin
3c1df2e4ad
[maven-release-plugin] prepare for next development iteration
2016-09-14 15:50:20 +00:00
Roman Iuvshin
b647b5eef7
[maven-release-plugin] prepare release 5.0.0-M1
2016-09-14 15:50:16 +00:00
Roman Iuvshin
8df0560ad3
set new version
2016-09-07 10:38:51 +03:00
Alexander Garagatyi
2874265eb3
CHE-1818: change workspace environment model
...
Also adapt UD to new environment model by Anna Shumilova.
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-09-02 14:52:41 +03:00
Roman Iuvshin
ca14fc7470
[maven-release-plugin] prepare for next development iteration
2016-08-29 15:12:16 +00:00
Roman Iuvshin
36311ea4c8
[maven-release-plugin] prepare release 4.7.0
2016-08-29 15:12:12 +00: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
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
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
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
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
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
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
Roman Iuvshin
477e71533f
CODENVY-595: add possibility to adjust machine swap size
2016-06-08 12:03:55 +03:00
Alexander Garagatyi
21277eeb57
Fix docker image reference parsing by DockerImageIdentifierParser ( #1420 )
...
Parsing used to use reference definition from docker repo, but
fails in some very simple cases.
Rework parsing. Add comments. Add tests.
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-06-06 10:52:02 +03:00
Roman Iuvshin
140b09a9a0
[maven-release-plugin] prepare for next development iteration
2016-06-04 19:52:26 +00:00
Roman Iuvshin
fbd9f95748
[maven-release-plugin] prepare release 4.3.0-RC1
2016-06-04 19:52:23 +00:00
Mykola Morhun
d1362c6709
Remove wrong required parameters in DockerConnector methods params
...
Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
2016-05-26 15:49:37 +03:00
Aleksandr Andrienko
ce1fe4f042
Rename methods for creation docker connector params from 'from' to 'create
...
Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
2016-05-13 10:25:12 +03:00
Aleksandr Andrienko
0aa802d758
CODENVY-212: Add DockerContainerCleaner for clean up docker containers
...
Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
2016-05-11 00:19:10 +03:00
Mykola Morhun
95a4f192ce
CHE-253: Refactor Che docker client to be able to add new parameters without breaking code dependent on docker client
...
Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
2016-05-04 09:32:03 +03:00
Vitaly Parfonov
2c41214725
Features:
...
Maven plugin
Classpath configuration
Effective pom
Plain java plugin
Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-04-29 15:32:24 +03:00
Alexander V
1dbb9d7c3e
Optimazing builder's implementation ( #1113 )
...
Signed-off-by: <alextrentton@gmail.com>
2016-04-26 10:05:51 +03:00
Roman Iuvshin
0978f5c655
[maven-release-plugin] prepare for next development iteration
2016-04-25 16:08:21 +00:00
Roman Iuvshin
b0df01a0c1
[maven-release-plugin] prepare release 4.2.0
2016-04-25 16:08:18 +00:00
Aleksandr Andrienko
7133c7010b
CHE-721: Fix docker authentication error log on create workspace
...
Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
2016-04-14 09:17:37 +03:00
Roman Iuvshin
0344d76167
[maven-release-plugin] prepare for next development iteration
2016-04-08 16:43:02 +00:00
Roman Iuvshin
d66d35f08a
[maven-release-plugin] prepare release 4.1.0
2016-04-08 16:42:59 +00:00
Eugene Ivantsov
dbf39f4224
Remove unused property
...
Signed-off-by: Eugene Ivantsov <eivantsov@codenvy.com>
2016-03-31 12:27:21 +03:00
Roman Iuvshin
fc58fffb23
[maven-release-plugin] prepare for next development iteration
2016-03-29 14:27:19 +00:00
Roman Iuvshin
a7e3a0c71b
[maven-release-plugin] prepare release 4.0.0
2016-03-29 14:27:16 +00:00