1 Star 0 Fork 0

SmartIDE/eclipse-openvsx

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.gitpod.yml 1.92 KB
一键复制 编辑 原始数据 按行查看 历史
Miro Spönemann 提交于 2021-10-25 23:08 +08:00 . [gitpod] Make port 8080 public by default
image:
file: .gitpod.dockerfile
ports:
# Web UI (static resources)
- port: 3000
# Server (API, must be public for CORS)
- port: 8080
visibility: public
onOpen: ignore
# Test report
- port: 8081
# Java debugging
- port: 5005
onOpen: ignore
# PostgreSQL
- port: 5432
onOpen: ignore
# Elasticsearch
- port: 9200
onOpen: ignore
- port: 9300
onOpen: ignore
# NodeJS debugging
- port: 9229
onOpen: ignore
tasks:
- init: |
# Build all components
yarn --cwd cli
yarn --cwd webui
yarn --cwd webui build:default
server/gradlew -p server assemble downloadTestExtensions
name: Server
command: |
if [[ $NPM_TOKEN ]]; then echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc; fi
# Start Elasticsearch as background process
$ES_HOME/bin/elasticsearch -d -p $ES_HOME/pid -Ediscovery.type=single-node -Expack.ml.enabled=false
gp await-port 9200
# Start the server application
cd server
./scripts/generate-properties.sh
./gradlew runServer
- name: WebUI
command: |
gp await-port 8080
# Start Express for serving frontend resources
cd webui
yarn start:default
- name: Publisher
command: |
gp await-port 8080
# Use the CLI to publish some test extensions to the running server
export OVSX_REGISTRY_URL=http://localhost:8080
export OVSX_PAT=super_token
export PUBLISHERS="DotJoshJohnson eamodio Equinusocio felixfbecker formulahendry HookyQR ms-azuretools ms-mssql ms-python ms-vscode octref redhat ritwickdey sburg vscode vscodevim Wscats"
for pub in $PUBLISHERS; do cli/lib/ovsx create-namespace $pub; done
find server/build/test-extensions-builtin -name '*.vsix' -exec cli/lib/ovsx publish '{}' \;
find server/build/test-extensions -name '*.vsix' -exec cli/lib/ovsx publish '{}' \;
vscode:
extensions:
- dbaeumer.vscode-eslint
- redhat.java
- vscjava.vscode-java-debug
- vscjava.vscode-java-test
- richardwillis.vscode-gradle
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/smartide/eclipse-openvsx.git
git@gitee.com:smartide/eclipse-openvsx.git
smartide
eclipse-openvsx
eclipse-openvsx
smartide-marketplace

搜索帮助