forked from checkinholiday/gitpod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
95 lines (95 loc) · 2.79 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
84
85
86
87
88
89
90
91
92
93
94
95
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:at-user-getauthenticated-dashboard-gha.20954
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: Remove GCP_ADC_FILE
command: |
if [[ -n "${GCP_ADC_FILE}" ]]; then
echo "$GCP_ADC_FILE" > "/home/gitpod/.config/gcloud/application_default_credentials.json"
yes | gcloud auth application-default revoke
gp env -u GCP_ADC_FILE
fi
exit 0
- name: Install `gitpod` CLI
command: |
leeway run components/local-app:install-cli
leeway run components/local-app:cli-completion
exit 0
# This task takes care of configuring your workspace so it can manage and interact
# with preview environments.
- name: Preview environment configuration
init: leeway run dev/preview/previewctl:install
command: INSTALL_CONTEXT=true leeway run dev/preview:configure-workspace
- 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
init: yarn --network-timeout 100000 && yarn build
- name: Install pre-commit hooks
init: |
pre-commit install --install-hooks
exit 0
- name: Go
init: |
./components/gitpod-protocol/go/scripts/generate-config.sh
leeway exec --filter-type go -v -- go mod verify
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
- akosyakov.gitpod-monitor
- hbenl.vscode-mocha-test-adapter
jetbrains:
intellij:
vmoptions: -Xmx4g