Sergii Leshchenko
78630b82c1
CHE-7922 Change OpenShift machines servers resolving approach
2018-01-05 14:25:41 +02:00
Serhii Leshchenko
aff25c44a8
Add workspace information into bootstrapper debug logs
2018-01-05 14:25:41 +02:00
Oleksandr Garagatyi
21c151debf
CHE-7908: do not add server into workspace runtime if there is no matching server config in workspace configuration
...
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-01-05 11:20:45 +02:00
Oleksandr Garagatyi
9e0a4f2095
Add continuous servers liveness checks ( #8088 )
...
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-01-04 17:33:14 +02:00
Roman Iuvshyn
71704ab3a7
RELEASE: Set next development version ( #8135 )
2018-01-03 14:13:25 +02:00
Mykhailo Kuznietsov
93b974d1e0
Change worskpace project files storage path ( #7844 )
...
- Workspace projects are now stored in folders, named after their workspace id, rather than name,
to prevent issues with workspace renaming. Applies to Docker infrastructure only.
- Add migration, that would move workspace projects to their new location. Occurs on Che startup.
- Added configuration property to enable/disable this migration.
- Improved Workspace DAO/Manager to use pagination for methods, that return lists of workspaces
2017-12-22 15:55:28 +02:00
Oleksandr Garagatyi
10d70ca9cc
CHE-7834: add field 'status' into runtime machine object
...
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-12-19 08:51:04 +02:00
Roman Iuvshyn
5a6d3910b2
RELEASE: set next dev version ( #7882 )
2017-12-14 15:51:34 +02:00
Sergii Leshchenko
a8583846e3
CHE-7839 Fix start of workspaces by adding redirecting of error from exec ( #7855 )
2017-12-13 12:21:37 +02:00
Oleksandr Garagatyi
fc367e3c54
Remove redundant code
...
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-12-11 12:02:48 +02:00
Oleksandr Garagatyi
44d9580379
CHE-7561: use internal network exposure for internal machine servers on OpenShift
...
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-12-11 12:02:47 +02:00
Oleksandr Garagatyi
a161462ed2
CHE-7561: use internal network exposure for internal machine servers on Docker
...
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-12-11 12:02:47 +02:00
Anton Korneta
013d4bb058
Adds the ability to configure, pre-create subpaths for common strategy
2017-12-08 17:16:42 +02:00
Anton Korneta
c884cb71ea
Move creation of PVC + subpathes into InternalRuntime
2017-12-08 17:16:42 +02:00
Anton Korneta
66459128d0
Make bootstrapper output redirection compliant with POSIX syntax
2017-12-04 18:19:26 +02:00
Sergii Leshchenko
760fbea420
Renamed properties to attributes in Machine model object ( #7687 )
...
CHE-6803 Rename properties to attributes in Machine model object
It also contain removing outdated WsAgentPingRequestFactoryTest
2017-12-04 11:25:31 +02:00
Sergii Leshchenko
4ea1dcdefb
CHE-7495 Add copying of warnings from InternalEnvironment to Runtime
2017-12-01 14:41:28 +02:00
Anton Korneta
3751d11210
Wrap exception on watcher socket close
2017-12-01 12:49:20 +02:00
Sergii Leshchenko
5c37c1b92d
Add redirecting of bootstrapper output into file
2017-12-01 12:08:35 +02:00
Sergii Leshchenko
6f0ab7894b
CHE-7502 Make it possible to bind only one RuntimeInfrastructure ( #7655 )
2017-12-01 12:01:44 +02:00
Anton Korneta
af16ab258e
Disable AbnormalStopHandler watching and Container events watching
2017-11-30 18:14:12 +02:00
Anton Korneta
ea712b2f05
Add closing of pod removal watcher
2017-11-30 18:14:12 +02:00
Anton Korneta
4ee80ba375
Make bootstrapper start command detached
2017-11-30 18:14:12 +02:00
Anton Korneta
f1af421c9f
Make OpenShiftClient one per che server
2017-11-30 18:14:12 +02:00
Oleksandr Garagatyi
9e158d9ddd
CHE-7560: Copy ServerConfig attributes to Server in OpenShift infra
...
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-11-30 10:53:03 +02:00
Oleksandr Garagatyi
9dd2971dc3
CHE-7560: Copy ServerConfig attributes to Server in Docker infra
...
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-11-30 10:53:03 +02:00
Oleksandr Garagatyi
43da690672
Enable Docker infra resource cleaner
...
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-11-30 10:53:03 +02:00
Oleksandr Garagatyi
09a16f8a48
CHE-7560: Add attributes field to Machine Server object
...
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-11-30 10:53:03 +02:00
Oleksandr Garagatyi
ce1e6433ab
CHE-7560: add attributes field to ServerConfig object
...
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-11-30 10:53:03 +02:00
Sergii Leshchenko
0aa01a84ec
CHE-7155 Add an ability to throw an exception while OpenShift client creation
2017-11-29 11:36:10 +02:00
Roman Iuvshyn
506210325a
RELEASE: set next dev version ( #7523 )
2017-11-23 12:50:56 +02:00
Anton Korneta
ef4d2d0c37
CHE-5904: Add support of dockerimage recipes
2017-11-21 09:43:55 +02:00
Oleksandr Garagatyi
123ffb702a
CHE-7010: Adapt volumes to Docker infra
...
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-11-20 17:22:37 +02:00
Oleksandr Garagatyi
ba398c9ade
CHE-7010: Adapt OpenShift infra to Volumes
...
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-11-20 17:22:36 +02:00
Oleksandr Garagatyi
18e2bd2646
CHE-7010: Add volumes API into Docker API client
...
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-11-20 17:22:35 +02:00
Sergii Leshchenko
d7e13dec8b
Add tests for new classes and fix existing tests in openshift-infra module
2017-11-20 11:02:49 +02:00
Sergii Leshchenko
d0ef92b038
Add tests for new classes and fix existing tests in docker infra and environment modules
2017-11-20 11:02:48 +02:00
Sergii Leshchenko
6986efc6a3
Adapt docker infra code to changes related to InternalEnvironments
2017-11-20 11:02:48 +02:00
Sergii Leshchenko
a74466308d
Add Compose, Dockerfile and DockerImage Environments and factories for them
2017-11-20 11:02:48 +02:00
Sergii Leshchenko
7f620b2d55
Add OpenshiftEnvironment and adapt OpenShift infra related code
2017-11-20 11:02:48 +02:00
Sergii Leshchenko
0f1ca700df
Move objects related to InternalEnvironment into separate package
2017-11-20 11:02:48 +02:00
Gennady Azarenkov
eb90e43cf3
Replace RuntimeInfrastructure#estimate with InternalEnvironmentFactory
...
It is done for decoupling runtime from environment configuration
2017-11-20 11:02:47 +02:00
Sergii Leshchenko
8d9ca737d0
CHE-7308 Add an ability to match machine configuration to OpenShift container by annotations
2017-11-16 18:10:07 +02:00
Sergii Kabashniuk
d9f6aaf44b
Fixing external url rewriting when running on OSX ( #7333 )
...
Fixing external url rewriting when running on OSX
2017-11-14 08:46:49 +02:00
Anton Korneta
5ccece6344
Cleanup Che properties and remove DockerConnectorProvider
2017-11-13 16:12:31 +02:00
Max Shaposhnik
c74bad367c
Remove snapshotting mechanism;
2017-11-13 14:25:40 +02:00
Anton Korneta
787dc47177
Moved PVC creation from OS runtime into PVC strategy
2017-11-10 16:16:46 +02:00
Anton Korneta
f9381a6533
CHE-6767: Add cleanup of workspace data for common PVC strategy
2017-11-10 16:16:46 +02:00
Hanno Kolvenbach
bb35ed9329
Add support for Docker HostConfig SecurityOpt through che.env ( #7203 )
...
* port of securityopt implementation to che6
* added securityopt to toString(), removed TODO
Signed-off-by: Hanno Kolvenbach <kolvenbach@silexica.com>
2017-11-07 11:08:16 +01:00
Sergii Leshchenko
b3973e01f0
Move converting of OpenShift objects name to separate class
2017-11-07 11:19:33 +02:00