-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy path.gitpod.yml
29 lines (29 loc) · 885 Bytes
/
.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
image:
file: .gitpod.Dockerfile
tasks:
- init: go get && go build ./... && go test ./...
command: |
echo $SECRET_KUBECONFIG | base64 -d > ~/.kube/config
sleep 10
echo CREATE DATABASE werft | psql -f -
mkdir /tmp/logs
find . -name "go.mod" | while read f; do echo cd $(dirname $f); echo go get -v ./...; echo cd -; done | sh
unset PGHOSTADDR
gp await-port 3000
go run server.go run testdata/in-gitpod-config.yaml --debug-webui-proxy http://localhost:3000
- init: yarn --cwd pkg/webui
command: yarn --cwd pkg/webui start
openMode: split-right
- command: k3s server --disable-agent
openMode: split-right
ports:
- port: 6443
- port: 8080
onOpen: open-preview
- port: 2999-3001
onOpen: ignore
workspaceLocation: werft/werft.theia-workspace
vscode:
extensions:
- zxh404.vscode-proto3
- golang.go