Artem Zatsarynnyi
7b0fd18f05
Merge branch 'master' into spi
2017-07-03 10:15:20 +03:00
Mykola Morhun
f0717e0ed2
CHE-5505: Fix NPE in DockerConnector ( #5510 )
2017-06-30 16:21:22 +03:00
Artem Zatsarynnyi
fa91db1f4e
Merge branch 'master' into spi
2017-05-29 11:25:30 +03:00
Mykola Morhun
60488adc3c
CODENVY-2199: Do not snapshot /tmp folder ( #5168 )
2017-05-25 15:20:48 +03:00
Artem Zatsarynnyi
e6cb33117b
Merge branch 'master' into spi
2017-05-22 10:03:29 +03:00
Alexander Garagatyi
335a67cf3d
CHE-5095: cleanup Docker SPI impl
...
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-05-18 17:47:46 +03:00
Mykola Morhun
064fdcb449
CHE-4197: Apply CHE_DOCKER_ALWAYS__PULL__IMAGE to container creation ( #5112 )
2017-05-18 13:05:08 +03:00
Alexander Garagatyi
7877e47f6a
Merge branch 'master' into spi
...
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-04-27 12:08:59 +03:00
Alexander Garagatyi
a1c9efd6a8
CHE-4310: improve UX of usage of official docker images for machines
...
Add tail -f /dev/null into containers that exits on start.
Check if container is running after start of container.
Signed-off-by: Alexander Garagatyi
2017-04-26 15:25:55 +03:00
Alexander Garagatyi
4989869218
Add integration test for docker infra impl
...
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-04-12 18:23:18 +03:00
Yevhenii Voevodin
791b898447
Merged with master
2017-04-12 16:18:56 +03:00
Alexander Garagatyi
41c48ac56d
continue work on docker impl of SPI
...
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-04-12 14:52:13 +03:00
Mykola Morhun
46781cbf29
CHE-4497: Delete snapshots from docker hub ( #4744 )
2017-04-11 11:11:40 +03:00
Mykola Morhun
df1b603ed3
CODENVY-1936: Add alias index.docker.io for docker hub ( #4572 )
...
CODENVY-1936: Add alias index.docker.io for docker hub
2017-03-31 15:14:53 +03:00
Alexander Garagatyi
b9ebdc2cb4
CODENVY-1734: improve docker client ( #4620 )
...
Throw specific exception in docker client
if exec not found on exec start.
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-03-30 18:08:42 +03:00
Angel Misevski
b6a056fa22
Implement OpenShift pull, tag, and inspectImage
...
Implement OpenShiftConnector pull, tag, and inspectImage through
ImageStreams. Makes changes to how containers are created.
Currently snapshots do not work, as commit and push methods are not
implemented. Additionally, pulling a stack from a private repository
is not supported.
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2017-02-09 01:26:57 +01:00
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
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
Yevhenii Voevodin
1ede4845c4
Implement cancellation ( #3701 )
2017-01-16 18:05:45 +02: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
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
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
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
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
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
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
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
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