Commit Graph

15 Commits (d76ba5ccb2fa255a2fbab4574b223ead6df79a30)

Author SHA1 Message Date
Angel Misevski 54e60a52b4 Add OpenShift implementation of getNetworks()
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2017-02-24 15:58:44 +01:00
rawlingsj 2fc5373524 kubernetes-client will autodetect auth details both inside and outside openshift so no need to use config
for more information including the order configuration is decided see https://github.com/fabric8io/kubernetes-client#configuring-the-client

fixes https://issues.jboss.org/browse/CHE-117

Signed-off-by: rawlingsj <rawlingsj80@gmail.com>
2017-02-22 22:38:23 +01:00
Roman Iuvshin e71c7b5671 [maven-release-plugin] prepare for next development iteration 2017-02-17 11:04:07 +00:00
Roman Iuvshin c071c65aa2 [maven-release-plugin] prepare release 5.3.0 2017-02-17 11:03:59 +00:00
Angel Misevski ad318b0fa1 Refactor inspectContainer() and add commit(), removeImage() (#4085)
Adds commit() and removeImage() implementations to
OpenShiftConnector. This requires some refactoring of existing
methods (mostly refactoring repeated processes into their own
methods -- e.g. creating an ImageStreamTag and getting image
info from a tag).

Additionally, refactors inspectContainer() method to remove
a call to DockerConnector, instead obtaining the same information
from what's available through the OpenShift API. This fixes an
issue where the IP address of a workspace was unavailable from
the ContainerInfo returned by DockerConnector.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2017-02-11 01:10:29 +01:00
Mario Loriedo bbb2bc9bf2 OpenShiftConnector OAuth token support (#4049)
Signed-off-by: Mario Loriedo <mloriedo@redhat.com>
2017-02-10 10:50:59 +01: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
Snjeza 65c38ed507 Fixing failed tests (#4065)
Signed-off-by: Snjezana Peco <snjezana.peco@redhat.com>
2017-02-08 21:33:45 +02:00
Snjezana Peco 41541e0b99 CHE-3953 - Starting workspace on openshift 1.4.1
Signed-off-by: Snjezana Peco <snjezana.peco@redhat.com>
2017-02-08 17:03:17 +01: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 e102dd0f6f CHE-42: Adding stub implementation of Container API for OpenShiftConnector. Minor Refactoring
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2017-01-31 12:57:40 +01:00
Ilya Buziuk 25fc88be80 CHE-3937: Introducing properties for OpenShift liveness probe initial delay / timeout
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2017-01-31 01:52:31 +01: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