Commit Graph

241 Commits (c19ccdcdee48d99437e15155612427417a638dcf)

Author SHA1 Message Date
Anton Korneta fbedb89e58 Add ability to configure docker image build timeout 2018-03-28 17:01:57 +03:00
Anton Korneta e1df4ead64 Remove backup of 'CHE_HOME/lib' folder 2018-03-28 11:17:20 +03:00
Roman Iuvshyn 48ccf8ac83
Fix deployment che-multi on docker (#9222) 2018-03-24 10:55:47 +02:00
David Festal ff3459d2d3
Support alternate OIDC providers, to prepare for the switch from Keycloak to `fabric8_auth` (#8650)
Allow switching to an alternate OIDC provider (provided that it emits access tokens as JWT tokens).

This is the implementation required in upstream Che, for issues
redhat-developer/rh-che#502 and
redhat-developer/rh-che#525

Signed-off-by: David Festal <dfestal@redhat.com>
2018-03-23 14:44:23 +01:00
Tatsuyuki Ishi f4fb9465e8 Expose postgres for development 2018-03-21 14:50:32 +02:00
Tatsuyuki Ishi 1591aa2839 docker-compose: stop exposing postgres to external 2018-03-21 14:50:32 +02:00
Oleksandr Garagatyi d047863484 Move deployment files out of dockerfiles folder
Move openshift/k8s deployment files from dockerfiles/init folder
to deploy folder with a better structure because they are not
related to init dockerfile.
Add readme files in each deployment target folder with links to
Che docs where the process of deployment is described.
Remove delivery of deployment files by init image which is
useless.
Remove empty docs files from the repo and init image.
Fix some minor typos and trailing spaces.
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-03-20 22:13:24 +02:00
Roman Iuvshyn d17b089310
remove outdated s2i from init image (#9089)
* remove s2i from init image
2018-03-14 21:41:18 +07:00
Oleksandr Garagatyi 248dd50dc4 Allow to use NULL in JDBC env vars
Allows to use NULL as a value of JDBC config to simplify usage of
environment variables for JDBC settings in k8s/Openshift
deployment files. NULL is treated as unset variable.
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-03-12 10:56:34 +02:00
Guy Daich 8c7ebc6751 K8s multiuser helm (#8973)
Signed-off-by: Guy Daich <guy.daich@sap.com>
2018-03-08 10:36:32 +01:00
Mykhailo Kuznietsov e96a2c320c
Rename docker connector configuration properties (#8948) 2018-02-28 16:55:47 +02:00
Mykhailo Kuznietsov 779b5cea0f
Cleanup unused variables in che.env (#8872) 2018-02-28 16:26:58 +02:00
Roman Iuvshyn 4bec4734d7
replace duplicate env var with check if it's defined (#8912)
since `IMAGE_KEYCLOAK` var was moved to `deploy_che.sh` that was a duplicate
2018-02-26 14:49:50 +02:00
Eugene Ivantsov 761f66bc77
Remove unsupported ls on Mac (#8908) 2018-02-26 14:14:21 +02:00
Roman Iuvshyn 55a2588d56
eliminate kc-util image (#8896)
* eliminate kc-util image
2018-02-23 15:44:47 +02:00
Eugene Ivantsov 06df5be97d
Replace s2i based deployment approach with pure deployments (#8819)
* Experimenting with deployment config based approach to Che multi user on OCP

* Service pod

* Remove s2i

* Remove s2i

* EOF

* Cleanup

* Cleanup

* Cleanup

* Cleanup

* Make Keycloak util image configurable

* Update webdriver.sh
2018-02-23 13:47:49 +02:00
Roman Iuvshyn cc7e7772dc
fix CLI no-proxy configuration (#8834) 2018-02-19 16:24:35 +02:00
Vladyslav Zhukovskyi 270fdd546d Set up default file encoding to utf8
Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
2018-02-19 11:54:36 +02:00
perspectivus1 177e7a0f18 Initial support for deploying Che to Kubernetes using Helm charts (#8715)
Signed-off-by: Eyal Barlev <perspectivus@gmail.com>
2018-02-16 13:13:28 +01:00
Sergii Leshchenko 0b6242a09c
Disable pre-creating of PVC subpaths on minikube (#8726)
Since workspaces pods are configured to run under root user
there is no any need to pre-create PVC subpaths.
2018-02-12 14:15:36 +02:00
Grant Shipley 839c8b1c98 Increase postgres claim for OpenShift to be 1gb (#8709)
* Increase postgres and keycloak PVC for OpenShift to be 1gb

For compatibility and portability between OSO, OSD, and OCP this needs to be 1Gi as anything under that is not allowed in Online environments.  Having it set to 100Mi results in errors and the deployment fails.
2018-02-10 20:01:37 +02:00
Sergii Leshchenko 10ac41f7f8 CHE-5908 Update ingress annotations for Nginx 0.9.0 2018-02-08 10:08:52 +02:00
Sergii Leshchenko 9c88f336e5 CHE-5908 Add warning when ingress annotations are absent in configuration 2018-02-08 10:08:52 +02:00
Sergii Leshchenko 4ee894ec45 CHE-5908 Add CHE_INFRA_KUBERNETES_NAMESPACE into yml file 2018-02-08 10:08:52 +02:00
Oleksandr Garagatyi cb43481e54 CHE-5908 Allow to customize ingress controller specific annotations for ingresses
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-02-08 10:08:52 +02:00
Sergii Leshchenko ac1c5160b8 CHE-5908 Add an ability to configure security context for pods 2018-02-08 10:08:51 +02:00
Oleksandr Garagatyi 9f350af06f CHE-5908: add config to deploy Che on k8s
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-02-08 10:08:51 +02:00
Sergii Leshchenko 242f56a8fd CHE-5908 Add Kubernetes infrastructure 2018-02-08 10:08:51 +02:00
Guy Daich 7e571b6eff CHE-5908 Change Server Exposure, Resolving, Project & Infra to support ingress-based routes
Signed-off-by: Guy Daich <guy.daich@sap.com>
2018-02-08 10:08:51 +02:00
Guy Daich 50c2bd5a59 CHE-5908 Begin k8s infra poc
Signed-off-by: Guy Daich <guy.daich@sap.com>
2018-02-08 10:08:51 +02:00
Max Shaposhnik dcf80c3c4e
Fix singleport mode in multiuser 2018-02-06 14:15:35 +02:00
Max Shaposhnik 8e0deaedb1
Add permissions for default admin to manage his profile; (#8630) 2018-02-06 14:15:13 +02:00
Roman Iuvshyn 531cbb0ef6
Increase CHE boot timeout in deploy_che.sh (#8605) 2018-02-05 13:44:30 +02:00
Roman Iuvshyn 1510591fa4
Remove obsolete script (#8558)
Signed-off-by: Roman Iuvshyn <riuvshyn@redhat.com>

* clean-up, move wait for che func to the deploy_che.sh
2018-02-02 17:41:18 +02:00
Anton Korneta 72fe9f7233 Add the provider of logs root path as env variable to each machine 2018-02-01 18:30:03 +02:00
Max Shaposhnik 0d57c48fd5
Restore support of single-port Che mode (on docker infra) 2018-01-31 14:27:51 +02:00
Anton Korneta e2160d5c96 Changes pvc name to a prefix + 8 random characters 2018-01-26 14:40:26 +02:00
Roman Iuvshyn e1fdd4eb4b
init and cli images should not use tag from CHE (#8474)
* init and cli images should not use tag from che-server
2018-01-26 14:38:13 +02:00
Vladyslav Zhukovskyi 87131e59c8 Fix typo 2018-01-24 18:00:16 +02:00
Roman Iuvshyn e5c3d094ed
Fix kc deploy on openshift (#8366)
* Improve deploy CHE multi-user to openshift
2018-01-23 18:09:08 +02:00
James Drummond PE 047d4e9fb2
Fix remove project. (#8358)
Signed-off-by: James Drummond <james@devcomb.com>
2018-01-19 07:47:25 -06:00
Oleksandr Garagatyi 7d5dc07b19 CHE-8350: fix placement of workspace files storage on container host
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-01-19 13:52:31 +02:00
Roman Iuvshyn 3f6ec24c9a
fix ocp.sh deploy with custom CLI image (#8363) 2018-01-19 12:49:03 +02:00
James Drummond PE ffcb75ef12
Cleanup and Roll Update not working. (#8357)
Cleanup and Roll Update not working due to PR #8158 exiting if existing project is not found. Moved command checking above project creation/check so that these commands can execute before scripts exits when it finds that project with the same name exists. (#8357)

Signed-off-by: James Drummond <james@devcomb.com>
2018-01-18 11:00:25 -06:00
James Drummond PE d540555c5e
Allow removal of existing Openshift projects using ocp.sh script. (#8158)
Allow removal of existing Openshift projects using ocp.sh script.

Signed-off-by: James Drummond <james@devcomb.com>
2018-01-18 09:30:38 -06:00
Roman Iuvshyn 9ac0896032
add test for DNS providers in ocp.sh and use backup if default doesn't work (#8332)
* add test for DNS providers in ocp.sh and use backup if default does not work
2018-01-18 14:11:14 +02:00
Sergii Kabashniuk 2cac9c5374
Sync JAVA_OPTS of workspace master between docker and openshift config (#8321) 2018-01-18 09:30:31 +02:00
James Drummond PE 6636d7e4c2
Allow user to use local scripts and configuration files in lieu of generated when using openshift ocp.sh script. (#8156)
* Allow user to local scripts and configuration files in lieu of generated.

Signed-off-by: James Drummond <james@devcomb.com>
2018-01-17 10:13:42 -06:00
James Drummond PE 3d1e4c8fdb
Allow Openshift deploy_che.sh script to detect if project deletion is completed and new project successfully created. (#8159)
Allow Openshift deploy_che.sh script to detect if project deletion is completed and new project successfully created.

Signed-off-by: James Drummond <james@devcomb.com>
2018-01-17 10:12:23 -06:00
Oleksandr Garagatyi 5466e48cbd
Cleanup unused properties (#8309) 2018-01-16 18:18:19 +02:00