Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
nfode committed Nov 24, 2020
2 parents 0784c80 + 0ad782b commit 45d064f
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 16 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
#id: linelint
node-build:
runs-on: ubuntu-latest
steps:
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
# che-winery

## che-winery-extension

> Eclipse Winery extension for Che-Theia
93 changes: 93 additions & 0 deletions deploy/che-theia.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 45d064f

Please sign in to comment.