forked from gitpod-io/gitpod
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitpod.yml
77 lines (77 loc) · 2.1 KB
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:af-add-gh-cli-to-dev-image.0
workspaceLocation: gitpod/gitpod-ws.code-workspace
checkoutLocation: gitpod
ports:
- port: 1337
onOpen: open-preview
- port: 3000
onOpen: ignore
- port: 3001
onOpen: ignore
- port: 3306
onOpen: ignore
- port: 4000
onOpen: ignore
# VNC
- port: 5900
onOpen: ignore
# noVNC
- port: 6080
onOpen: ignore
# Werft
- port: 7777
onOpen: ignore
- port: 9229
onOpen: ignore
# Go proxy
- port: 9999
onOpen: ignore
- port: 13001
onOpen: ignore
# Dev Theia
- port: 13444
tasks:
- name: Install Preview Environment kube-context
command: |
(cd dev/preview/previewctl && go install .)
previewctl install-context
exit
- name: Add Harvester kubeconfig
command: |
./dev/preview/util/download-and-merge-harvester-kubeconfig.sh
exit 0
- name: Java
command: |
if [ -z "$RUN_GRADLE_TASK" ]; then
read -r -p "Press enter to continue Java gradle task"
fi
leeway exec --package components/supervisor-api/java:lib --package components/gitpod-protocol/java:lib -- ./gradlew --build-cache build
leeway exec --package components/ide/jetbrains/backend-plugin:plugin --package components/ide/jetbrains/gateway-plugin:publish --parallel -- ./gradlew --build-cache buildPlugin
- name: TypeScript
before: scripts/branch-namespace.sh
init: yarn --network-timeout 100000 && yarn build
- name: Go
before: pre-commit install --install-hooks
init: leeway exec --filter-type go -v -- go mod verify
openMode: split-right
vscode:
extensions:
- bradlc.vscode-tailwindcss
- EditorConfig.EditorConfig
- golang.go
- hashicorp.terraform
- ms-azuretools.vscode-docker
- ms-kubernetes-tools.vscode-kubernetes-tools
- stkb.rewrap
- zxh404.vscode-proto3
- matthewpi.caddyfile-support
- heptio.jsonnet
- timonwong.shellcheck
- vscjava.vscode-java-pack
- fwcd.kotlin
- dbaeumer.vscode-eslint
- esbenp.prettier-vscode
jetbrains:
goland:
prebuilds:
version: stable