-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTiltfile
26 lines (24 loc) · 1.46 KB
/
Tiltfile
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
#build docker images for deployment
docker_build('client', './typescript/client')
docker_build('oligarchy', './typescript/oligarchy')
docker_build('gateway', './typescript/gateway')
docker_build('quizbuilder', './dotnet', dockerfile='./dotnet/QuizBuilder/Dockerfile', ignore=['.vs/'])
docker_build('installationjob', './dotnet', dockerfile='./dotnet/InstallationJob/Dockerfile', ignore=['.vs/'])
docker_build('mkdocs', './mkdocs')
k8s_yaml(helm('./helm/seasprig', values=['./values.yaml']))
#bind ports from inside the cluster to localhost, and apply labels to organize the tilt UI
k8s_resource('installationjob', labels=["applications"])
k8s_resource('quizbuilder',port_forwards=['8080:8080'], labels=["applications"])
k8s_resource('postgres', port_forwards=['5432:5432'], labels=["services"])
k8s_resource('mssql', port_forwards=['1433:1433'], labels=["services"])
k8s_resource('mkdocs', labels=["services"])
k8s_resource('client', labels=["applications"])
k8s_resource('oligarchy', labels=["applications"])
k8s_resource('gateway', labels=["applications"])
k8s_resource('chart-traefik', port_forwards=['8087:9000', '80:8000', '443:8443'], labels=["networking"])
k8s_resource('chart-loki', port_forwards='3000:3000', labels=["logs"])
k8s_resource('chart-promtail', labels=["logs"])
k8s_resource('chart-grafana', labels=["logs"])
k8s_resource('chart-keycloak', labels=["services"])
k8s_resource('chart-gitea', port_forwards=['22:22'], labels=["cicd"])
k8s_resource('chart-drone', labels=["cicd"])