forked from gitpod-io/gitpod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
83 lines (83 loc) · 2.24 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
78
79
80
81
82
83
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:af-dev-update-image.8
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
# Used when using port-forwarding to SSH to preview environment VMs
- port: 8022
onOpen: ignore
tasks:
- name: Install Preview Environment kube-context
command: |
previewctl install-context --watch
exit
- name: Add Harvester kubeconfig
command: |
./dev/preview/util/download-and-merge-harvester-kubeconfig.sh
exit 0
- name: Installer dependencies
init: |
(cd install/installer && make deps)
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
leeway exec --package components/ide/jetbrains/backend-plugin:plugin-latest --package components/ide/jetbrains/gateway-plugin:publish-latest --parallel -- ./gradlew buildPlugin
- name: TypeScript
before: scripts/branch-namespace.sh
init: yarn --network-timeout 100000 && yarn build
- name: Go
before: pre-commit install --install-hooks
init: |
./components/gitpod-protocol/go/scripts/generate-config.sh
leeway exec --filter-type go -v -- go mod verify
openMode: split-right
vscode:
extensions:
- 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
- fwcd.kotlin
- dbaeumer.vscode-eslint
- esbenp.prettier-vscode
jetbrains:
goland:
prebuilds:
version: stable