Commit Graph

85 Commits (21c8aaf0cf5b8e4ebe47840e49a692425a13bb82)

Author SHA1 Message Date
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
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
James Drummond PE 4b0e2da8f8
Openshift ocp fails due to livenessProbe. (#8263)
The livenessProbe's failureThreshold is set to low. This causes the livenessProbe having to short a period of probing before it fails and removes the container. The failureThreshold is set to 4, the initialDelaySeconds is set to 5 and the periodSeconds is 5. This means 5s+4x5s=25s before the container fails. This patch set failureThreshold higher to 11 allowing for a more reasonable overall probe time of 60s (5s+11x5s=60s) before fails and removes the container.

Signed-off-by: James Drummond <james@devcomb.com>
2018-01-15 10:23:57 -06:00
James Drummond PE a0d0adefcf
Set default value of export CHE_INFRA_OPENSHIFT_MASTER__URL to OPENSHIFT_ENDPOINT if CHE_INFRA_OPENSHIFT_MASTER__URL is not set.(#8236)
Signed-off-by: James Drummond <james@devcomb.com>
2018-01-15 10:23:23 -06:00
James Drummond PE 0b17774e45
User can specify project name using openshift ocp.sh. (#8154)
Signed-off-by: James Drummond <james@devcomb.com>
2018-01-15 09:37:16 -06:00
Roman Iuvshyn f68c92be65
Allow to override cli-image in ocp.sh (#8255)
* Allow to override cli-image in ocp.sh
2018-01-11 16:30:07 +02:00
Sergii Leshchenko 7c15c95e98
Change back `recreate` update strategy in che deployment config (#8239) 2018-01-11 11:01:40 +02:00
Roman Iuvshyn 747169b0bb
remove calling oc client in HELP in ocp.sh (#8188)
* fix ocp.sh
2018-01-05 10:37:17 +02:00
James Drummond PE 86b19864a0
Added additional common environment variables that may need to be set to CLI help menu. (#8155)
Signed-off-by: James Drummond <james@devcomb.com>
2018-01-04 15:58:11 -06:00
Sergii Leshchenko 92522f34b7
Add an ability to set CHE_INFRA_OPENSHIFT_[USERNAME|PASSWORD|TOKEN] to empty (#8129) 2018-01-04 11:56:59 +02:00
Roman Iuvshyn c9e06878ef
change way how to wipe config dir to not break running che on docker (#8121) 2018-01-03 10:28:04 +02:00
Eugene Ivantsov c46b3e7748
OCP deployment: more ram for keycloak and housepeeking (#8014)
* Use the right protocol. Use more RAM for Keycloak. Remove unused env

* Use the right ram value
2017-12-22 10:02:46 +02:00
Eugene Ivantsov 48264ca6b6
Make it possible to update Che on OCP, including rolling update (#8002)
* Make it possible to update Che on OCP, including rolling update

* Make it possible to update Che on OCP, including rolling update
2017-12-22 08:42:50 +02:00
Roman Iuvshyn 758d400e5f
Clean up after merge che6 to master (#7979) 2017-12-20 17:28:34 +02:00
Roman Iuvshyn ec91a22643
Wait keycloak is booted after deploy to ocp (#7954)
* Wait keycloak is booted after deploy to ocp
2017-12-19 15:13:30 +02:00
Roman Iuvshyn 38b7529a47
update ocp to 3.7.0 (#7841)
* update ocp to 3.7.0
2017-12-14 17:47:27 +02:00
James Drummond PE 1d12ef13f2
Added help menu to ocp.sh script. (#7851)
* Added help menu to ocp.sh script.
* Remove extra spaces in help menu.

Signed-off-by: James Drummond <james@devcomb.com>
2017-12-13 12:15:28 -06:00
Anton Korneta 013d4bb058 Adds the ability to configure, pre-create subpaths for common strategy 2017-12-08 17:16:42 +02:00
Roman Iuvshyn c8778e5e03
[WIP] set correct limits for CHE pod (#7733)
* set correct limits for CHE pod
2017-12-05 18:20:38 +02:00
Roman Iuvshyn ea1b3ca341
Allow to update che server deploymentConfig (#7718)
* Allow updating che server deploymentConfig
2017-12-05 12:42:04 +02:00
Sergii Leshchenko 0491b4ed16
Fix configuring of OPENSHIFT_NAMESPACE_URL in deploy script (#7703)
* Add an ability to configure routing suffix instead of namespace url

* Fix usage of image pull policy in ocp.sh script
2017-12-04 15:23:56 +02:00
Roman Iuvshyn 0414b27e8c
Allow add che configurations in case of deploy on Openshift (#7692)
* Allow add che configurations in case of deploy on Openshift
2017-12-04 14:56:52 +02:00
Eugene Ivantsov 9a21636833
Make sure username and pass are not used when a token is used (#7648)
* Che in che stack improvements

* Edited commands

* Make sure username and password are not used when token is set

* More informative message
2017-12-01 08:19:45 +02:00
Roman Iuvshyn 52ae7f1776
Allow to use custom dns providers for ocp / minishift (#7654) 2017-11-30 15:51:25 +02:00
Sergii Leshchenko 879e38cff7 CHE-7155 Fix link to default stacks to replace 2017-11-29 11:36:10 +02:00
Roman Iuvshyn 4ed38202c6
Update ocp.sh (#7529) 2017-11-23 15:25:31 +02:00
Oleksandr Garagatyi 5874d84d40 fixup! Escape environment variables in script that deploys Che to OpenShift 2017-11-22 17:40:52 +02:00
Oleksandr Garagatyi 267c24255e Escape environment variables in script that deploys Che to OpenShift
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-11-22 17:40:52 +02:00
James Drummond PE c6e2a64586 Update deployment-config.yaml
Signed-off-by: James Drummond <james@devcomb.com>
2017-11-17 08:09:30 +01:00
Anton Korneta 2b568079e0 Fix default openshift namespace url for minishift flavour 2017-11-16 18:10:07 +02:00
Anton Korneta b06c2a314a Fix provisioning of debug property for Che server 2017-11-16 18:10:07 +02:00
Roman Iuvshyn 4d6caf8a36
Introduce ocp script to run ocp locally and deploy che (#7395)
* Introduce ocp script to run ocp loaclly and deploy che
2017-11-16 16:12:51 +02:00
jpinkney c623c1e658 Fixed agent multi-line issue in replace_stacks
Signed-off-by: jpinkney <josh.pinkney@mail.utoronto.ca>
2017-11-16 10:16:52 +01:00
Oleksandr Garagatyi af6ca5ef4c Fix deploy_che.sh script
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-11-15 15:27:49 +02:00
Roman Iuvshyn e0ed72abd2
Allow run more than one ws on ocp / minishift (#7366) 2017-11-14 22:21:55 +02:00
Roman Iuvshyn 880160f4ea
Fix deploy script (#7350) 2017-11-14 11:29:50 +02:00
Sergii Leshchenko e112077b24 Cleanup and improve deploy_che.sh script
It contains the following changes:
Remove usage of outdated configuration parameters in deploy script
Move default values from yml files to deploy script
Put settings of common defaults to one section
Rename all properties in deploy script according to the Che format with using uppercase symbols and underscores
Remove usage of CHE_DEBUG_SERVER and CHE_KEYCLOAK_DISABLED
Fix default Che image that is used by deploy script
Remove unused labels and annotations
Move configuration properties from CHE_SERVER_CONFIGURATION env var to config map
2017-11-13 16:12:31 +02:00
Max Shaposhnik c74bad367c
Remove snapshotting mechanism; 2017-11-13 14:25:40 +02:00
Sergii Kabashniuk d5a81a6ae3
Configure che-server only from environment variables (#7299)
Removed default properties extraction from war.
Removed all usage of CHE_LOCAL_CONF_DIR
Forced unset of CHE_LOCAL_CONF_DIR to make sure that Eclipse Che server can be configured only with environment variables.
Changed location of default properties from /codenvy/che.properties to /che/che.properties
2017-11-12 20:46:49 +02:00
Mario Loriedo e63e4ab17a Port fix #7301 to che6 branch
Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2017-11-10 18:35:25 +01:00
Roman Iuvshyn 5923fa8796
Fix kc db import on os (#7251)
* adopt kc json template in s2i assemble script
2017-11-09 10:55:39 +02:00
Roman Iuvshyn bbee7536a0
Add ability to set oAuth config for CHE deployed to Openshift (#7212)
* Add ability to set oAuth config for CHE deployed to Openshift
2017-11-07 15:03:57 +02:00
Max Shaposhnik ea7e071b3a
Use same assembly for single- and multiuser Che 2017-11-07 12:27:02 +02:00