-
Notifications
You must be signed in to change notification settings - Fork 318
/
.gitpod.yml
83 lines (79 loc) · 2.07 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
github:
prebuilds:
# enable for the default branch (defaults to true)
master: true
# enable for all branches in this repo (defaults to false)
branches: true
# enable for pull requests coming from this repo (defaults to true)
pullRequests: true
# add a "Review in Gitpod" button as a comment to pull requests (defaults to false)
addComment: true
# configure whether Gitpod registers itself as a status check to pull requests
addCheck: false
tasks:
- name: prebuild
init: ./scripts/start.sh && ./scripts/stop.sh && gp sync-done prebuild
command: curl -L --http1.1 https://cnfl.io/ccloud-cli | sudo sh -s -- -b /usr/local/bin; exit
- name: cp-demo
init: gp sync-await prebuild
command: if [ -z "$DISABLE_AUTOSTART" ]; then echo "🚀 Starting up cp-demo (you can disable autostart by exporting DISABLE_AUTOSTART environment variable, see https://www.gitpod.io/docs/environment-variables)";./scripts/start.sh; echo "🚀 You can now follow steps in https://docs.confluent.io/platform/current/tutorials/cp-demo/docs/on-prem.html#guided-tutorial"; else echo "ℹ️ DISABLE_AUTOSTART environment variable is set, use ./scripts/start.sh to start cp-demo";fi
vscode:
extensions:
- ms-azuretools.vscode-docker
ports:
# zookeeper
- port: 2181
onOpen: ignore
- port: 2182
onOpen: ignore
# kafka1
- port: 8091
onOpen: ignore
- port: 9091
onOpen: ignore
- port: 10091
onOpen: ignore
- port: 11091
onOpen: ignore
- port: 12091
onOpen: ignore
# kafka2
- port: 8092
onOpen: ignore
- port: 9092
onOpen: ignore
- port: 10092
onOpen: ignore
- port: 11092
onOpen: ignore
- port: 12092
onOpen: ignore
# connect
- port: 8083
onOpen: ignore
# elasticsearch
- port: 9200
onOpen: ignore
- port: 9300
onOpen: ignore
# kibana
- port: 5601
onOpen: notify
# control-center
- port: 9021
onOpen: notify
visibility: public
- port: 9022
onOpen: ignore
# schemaregistry
- port: 8085
onOpen: ignore
# ksqldb-server
- port: 8088
onOpen: ignore
visibility: public
- port: 8089
onOpen: ignore
# restproxy
- port: 8086
onOpen: ignore