-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTiltfile
More file actions
19 lines (16 loc) · 972 Bytes
/
Tiltfile
File metadata and controls
19 lines (16 loc) · 972 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Allow only minikube context
allow_k8s_contexts('minikube')
# Load all service Tiltfiles
include('./config-service/config-service/Tiltfile')
include('./user-service/user-service/Tiltfile')
include('./room-service/room-service/Tiltfile')
include('./reservation-service /reservation-service/Tiltfile')
include('./notification-service/notification-service/Tiltfile')
include('./edge-service/edge-service/Tiltfile')
# Resource ordering (dependencies)
k8s_resource('config-service', resource_deps=[])
k8s_resource('user-service', resource_deps=['config-service', 'user-postgres'])
k8s_resource('room-service', resource_deps=['config-service', 'room-postgres'])
k8s_resource('reservation-service', resource_deps=['config-service', 'reservation-postgres', 'roomreservation-rabbitmq'])
k8s_resource('notification-service', resource_deps=['roomreservation-rabbitmq'])
k8s_resource('edge-service', resource_deps=['redis', 'user-service', 'room-service', 'reservation-service'])