Skip to content
Snippets Groups Projects
  1. Nov 13, 2019
  2. Sep 03, 2019
  3. Jul 10, 2019
  4. May 30, 2019
  5. Apr 26, 2019
  6. Feb 27, 2019
  7. Feb 19, 2019
  8. Feb 11, 2019
  9. Jan 31, 2019
  10. Jan 26, 2019
  11. Dec 22, 2018
  12. Dec 05, 2018
  13. Dec 04, 2018
  14. Nov 27, 2018
  15. Nov 09, 2018
  16. Sep 17, 2018
  17. Sep 13, 2018
  18. Sep 07, 2018
  19. Sep 03, 2018
    • Oleksandr Garagatyi's avatar
      CHE-10561: Rework WS.NEXT flow to latest concept of plugin broker (#10740) · 27bed82d
      Oleksandr Garagatyi authored
      
      * Move wsnext flow in Kubernetes infra implementation
      
      Now we need to start a broker and pass meta.yaml files to it.
      Starting a broker is infra-specific stuff, so it has to be done
      on the infra implementation side because we don't have a part
      in the infra SPI that would allow us to start a broker.
      Passing Meta files using InternalEnvironment object is more
      invasive than passing only attributes. So, this commit applies
      less invasive scheme.
      
      * CHE-10202,10561: Add fetching of Che editor, plugins meta from the registry
      
      Add fetching of Che editor ID from workspace attributes.
      Add fetching of Che plugins IDs from workspace attributes.
      Use colon sign for separating editor/plugin ID and version
      instead of the slash.
      Remove old Workspace.Next model objects.
      
      * CHE-10561: Share WS.NEXT between k8s and OS infras
      
      Use WS.NEXT in both k8s and OS infrastructure implementations.
      
      * CHE-10561: fix fetching meta.yaml files from che-plugin-registry
      
      * CHE-10561: Fix sidecar model serialization
      
      Fixes the fact that some fields in workspace sidecar tooling model
      POJOs were incorrectly named or required custom serialization of
      fields.
      
      * CHE-10561: Add listening of che-plugin-broker
      
      Add code that allows listening for events from Che plugin broker.
      An event might contain workspace tooling config as a result if the broker
      finished successfully or error otherwise.
      
      * CHE-10561: Add PluginBrokerManager to control broker lifecycle
      
      Adds PluginBrokerManager that configures/starts/waits Che plugin
      broker.
      
      Remove unused code.
      Remove notion of Workspace next.
      
      * Align plugin registry property between different components
      
      * Fix extra  path in che plugin registry URL
      
      Signed-off-by: default avatarOleksandr Garagatyi <ogaragat@redhat.com>
      27bed82d
  20. Aug 30, 2018
  21. Aug 27, 2018
  22. Aug 21, 2018
  23. Aug 20, 2018
  24. Aug 07, 2018
  25. Jul 31, 2018
  26. Jul 04, 2018
  27. Jun 08, 2018
  28. May 30, 2018
  29. May 28, 2018
    • David Festal's avatar
      Allow creating OpenShift objects under the current user account on OCP (#9577) · e0890235
      David Festal authored
      
      * Support identity provider token retrieval in both JSON or URL formats.
      
      That's required because some identity providers (such a `openshift-v3`)
      correctly return the token information in JSON, as expected. So
      switching to the url-based syntax should only used when the returned
      json is invalid.
      
      Signed-off-by: default avatarDavid Festal <dfestal@redhat.com>
      
      * Introduce an `OpenShiftClientConfigFactory` to allow customizing the OpenShift config returned according to the current context (workspace ID, current user)
      
      Signed-off-by: default avatarDavid Festal <dfestal@redhat.com>
      
      * Openshift Infra + Multi-user => allow using OpenShift identity provider to connect to openshift with the OS oauth token of the current Che user.
      
      This introduces a new property:
      
      `che.infra.openshift.oauth_identity_provider`
      
      Signed-off-by: default avatarDavid Festal <dfestal@redhat.com>
      
      * Notify the user when a workspace cannot be started from the nav bar.
      
      Signed-off-by: default avatarDavid Festal <dfestal@redhat.com>
      
      * Add the ability to install the Openshift certificate into Keycloak
      
      Signed-off-by: default avatarDavid Festal <dfestal@redhat.com>
      
      * Add a yaml file to provide the openshift certificate as a secret,
      
      in case it has to be installed into the dedicated Keycloak server.
      
      Then the commands to install Che multiuser on Minishift with this
      certificate are:
      
      ```
      oc new-project che
      
      oc process -f multi/openshift-certificate-secret.yaml -p
      CERTIFICATE="$(minishift ssh docker exec origin /bin/cat
      ./openshift.local.config/master/ca.crt)" | oc apply -f -; \
      oc new-app -f multi/postgres-template.yaml; \
      oc new-app -f multi/keycloak-template.yaml -p ROUTING_SUFFIX=$(minishift
      ip).nip.io; \
      oc apply -f pvc/che-server-pvc.yaml; \
      oc new-app -f che-server-template.yaml -p ROUTING_SUFFIX=$(minishift
      ip).nip.io -p CHE_MULTIUSER=true -p
      CHE_INFRA_OPENSHIFT_OAUTH__IDENTITY__PROVIDER=openshift-v3; \
      oc set volume dc/che --add -m /data --name=che-data-volume
      --claim-name=che-data-volume
      ```
      
      Of course it's still needed to register the `openshift-v3` identity
      provider in the Keycloak server, as well as, add the corresponding
      `OAuthClient` object in Minihshift.
      
      Signed-off-by: default avatarDavid Festal <dfestal@redhat.com>
      e0890235
  30. May 17, 2018
  31. May 04, 2018
    • Eugene Ivantsov's avatar
      Update deploy_che script (#9513) · a22a2b35
      Eugene Ivantsov authored
      * Update OpenShift Origin version to 3.9
      
      * Deploy script uses templates
      
      * Pass args to deploy script
      
      * Remove old scripts and yamls
      
      * Add missing args to ocp.sh help and and help to deploy_che.sh
      
      * Small fixes
      
      * Remove mistakenly added file
      
      * Remove mistakenly added file
      
      * Remove -a in docker ps to get registry container
      
      * Do not pass args but export envs in ocp.sh
      
      * Messed envs a bit
      
      * Delete test service that is used to compute routing suffix
      
      * Remove unnecessary port from Keycloak route
      
      * Fixes
      
      * Fixes
      
      * Typo
      
      * Minor fixes
      a22a2b35
  32. Apr 17, 2018
    • Eugene Ivantsov's avatar
      Use templates only to deploy Che to OpenShift (#9190) · fa046bd6
      Eugene Ivantsov authored
      * Use templates only to deploy Che to OpenShift
      
      * Avoid breaking existing scripts
      
      * Avoid breaking existing scripts
      
      * Fixes
      
      * Cleanup
      
      * Cleanup
      
      * Fixup
      
      * New line and typos
      
      * New line and typos
      
      * Update dc/che. Env variables
      
      * Remove creationtimestamp
      
      * Template cleanup. Update README
      
      * Fix DB URL env
      
      * Add missing keycloak param
      
      * Changes to ocp.sh to use new templates. Fix Keycloak template
      
      * Env support
      
      * Update server yaml. Update ocp.sh
      
      * Configure CHE_IMAGE and CHE_TAG
      
      * Add recycler
      
      * Revern recycler sa
      
      * Using credentials and creating ws in separate namespaces
      
      * Use custom Keycloak image
      
      * Use custom Keycloak image
      
      * Remove use of credentials
      fa046bd6