-
Notifications
You must be signed in to change notification settings - Fork 208
/
.gitpod.yml
66 lines (61 loc) · 1.96 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
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
image:
file: .gitpod.Dockerfile
tasks:
- name: prebuild
init: |
cd environment/kerberos && source ../../scripts/utils.sh && docker compose -f ../../environment/plaintext/docker-compose.yml --profile control-center --profile ksqldb pull && cd -
docker pull google/cloud-sdk:latest
docker pull amazon/aws-cli
docker pull mcr.microsoft.com/azure-cli
docker pull imega/jq
docker pull vdesabou/avro-tools
gp sync-done prebuild
- name: playground
init: gp sync-await prebuild
command: if [ -z "$SECRETS_ENCRYPTION_PASSWORD" ]; then echo "🚀 Enjoy the playground"; else echo "ℹ️ SECRETS_ENCRYPTION_PASSWORD environment variable is set"; ./.github/scripts/decrypt_secret.sh;tar xvf secrets.tar;rm secrets.tar;mkdir -p $HOME/.aws;mv aws_credentials_with_assuming_iam_role $HOME/.aws/credentials-with-assuming-iam-role;chmod -R a+rw $HOME/.aws;mkdir -p $HOME/.confluent;echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin;fi
vscode:
extensions:
- ms-azuretools.vscode-docker
ports:
# zookeeper
- port: 9999
onOpen: ignore
# broker
- port: 9092
onOpen: ignore
- port: 10000
onOpen: ignore
- port: 29092
onOpen: ignore
# connect
- port: 8083
onOpen: ignore
- port: 5005
onOpen: ignore
- port: 10002
onOpen: ignore
# control-center
- port: 9021
onOpen: notify
# schema-registry
- port: 8081
onOpen: ignore
- port: 10001
onOpen: ignore
# ksqldb-server
- port: 8088
onOpen: ignore
- port: 10003
onOpen: ignore