From e01e05025091469641bb75f541b92b93a2f6f60c Mon Sep 17 00:00:00 2001 From: Michael Wurster Date: Wed, 11 Nov 2020 14:51:07 +0100 Subject: [PATCH 1/2] Minor changes --- .github/workflows/main.yml | 17 ++--------------- README.md | 5 ++++- package.json | 2 +- 3 files changed, 7 insertions(+), 17 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 220df5c..ea50206 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,24 +7,11 @@ # SPDX-License-Identifier: EPL-2.0 # -# Che-Theia workflow -# matrix jobs with alpine and ubi8 -name: CI +name: Build Che-Theia -# Trigger the workflow on push or pull request -on: [push, pull_request] +on: [push, pull_request, workflow_dispatch] jobs: - # check EOF newline - #linelint: - #runs-on: ubuntu-latest - #name: eof-newline - #steps: - #- name: Checkout - # uses: actions/checkout@v2 - #- name: Linelint - # uses: fernandrone/linelint@0.0.5 - #id: linelint node-build: runs-on: ubuntu-latest steps: diff --git a/README.md b/README.md index 2fa5301..94f96c1 100644 --- a/README.md +++ b/README.md @@ -1 +1,4 @@ -# che-winery + +## che-winery-extension + +> Eclipse Winery extension for Che-Theia diff --git a/package.json b/package.json index e0600c5..9c6c48e 100644 --- a/package.json +++ b/package.json @@ -29,4 +29,4 @@ "frontend": "lib/browser/test-frontend-module" } ] -} \ No newline at end of file +} From 0ad782b6555df29cb3a0e18b26eba6d3a220e06e Mon Sep 17 00:00:00 2001 From: Michael Wurster Date: Wed, 11 Nov 2020 14:58:28 +0100 Subject: [PATCH 2/2] Add che-theia manifest --- deploy/che-theia.yaml | 93 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 deploy/che-theia.yaml diff --git a/deploy/che-theia.yaml b/deploy/che-theia.yaml new file mode 100644 index 0000000..0c15063 --- /dev/null +++ b/deploy/che-theia.yaml @@ -0,0 +1,93 @@ +apiVersion: v2 +publisher: eclipse +name: che-theia +version: next +type: Che Editor +displayName: theia-ide +title: Eclipse Theia development version with Eclipse Winery extension. +description: Eclipse Theia editor including the extension for Eclipse Winery. +icon: https://raw.githubusercontent.com/theia-ide/theia/master/logo/theia-logo-no-text-black.svg?sanitize=true +category: Editor +repository: https://github.com/OpenTOSCA/che-winery-extension +firstPublicationDate: "2020-11-11" +spec: + endpoints: + - name: "theia" + public: true + targetPort: 3100 + attributes: + protocol: http + type: ide + secure: true + cookiesAuthEnabled: true + discoverable: false + - name: "webviews" + public: true + targetPort: 3100 + attributes: + protocol: http + type: webview + secure: true + cookiesAuthEnabled: true + discoverable: false + unique: true + - name: "theia-dev" + public: true + targetPort: 3130 + attributes: + protocol: http + type: ide-dev + discoverable: false + - name: "theia-redirect-1" + public: true + targetPort: 13131 + attributes: + protocol: http + discoverable: false + - name: "theia-redirect-2" + public: true + targetPort: 13132 + attributes: + protocol: http + discoverable: false + - name: "theia-redirect-3" + public: true + targetPort: 13133 + attributes: + protocol: http + discoverable: false + containers: + - name: theia-ide + image: "opentosca/che-theia:next" + env: + - name: THEIA_PLUGINS + value: local-dir:///plugins + - name: HOSTED_PLUGIN_HOSTNAME + value: 0.0.0.0 + - name: HOSTED_PLUGIN_PORT + value: "3130" + - name: THEIA_HOST + value: 127.0.0.1 + volumes: + - mountPath: "/plugins" + name: plugins + mountSources: true + ports: + - exposedPort: 3100 + - exposedPort: 3130 + - exposedPort: 13131 + - exposedPort: 13132 + - exposedPort: 13133 + memoryLimit: "512M" + initContainers: + - name: remote-runtime-injector + image: "quay.io/eclipse/che-theia-endpoint-runtime-binary:next" + volumes: + - mountPath: "/remote-endpoint" + name: remote-endpoint + ephemeral: true + env: + - name: PLUGIN_REMOTE_ENDPOINT_EXECUTABLE + value: /remote-endpoint/plugin-remote-endpoint + - name: REMOTE_ENDPOINT_VOLUME_NAME + value: remote-endpoint