Improve the frontend 3
This commit is contained in:
48
Tiltfile
48
Tiltfile
@@ -151,6 +151,8 @@ build_python_service('suppliers-service', 'suppliers')
|
||||
build_python_service('pos-service', 'pos')
|
||||
build_python_service('orders-service', 'orders')
|
||||
build_python_service('production-service', 'production')
|
||||
build_python_service('procurement-service', 'procurement') # NEW: Sprint 3
|
||||
build_python_service('orchestrator-service', 'orchestrator') # NEW: Sprint 2
|
||||
build_python_service('alert-processor', 'alert_processor')
|
||||
build_python_service('demo-session-service', 'demo_session')
|
||||
|
||||
@@ -172,6 +174,8 @@ k8s_resource('suppliers-db', resource_deps=['security-setup'], labels=['database
|
||||
k8s_resource('pos-db', resource_deps=['security-setup'], labels=['databases'])
|
||||
k8s_resource('orders-db', resource_deps=['security-setup'], labels=['databases'])
|
||||
k8s_resource('production-db', resource_deps=['security-setup'], labels=['databases'])
|
||||
k8s_resource('procurement-db', resource_deps=['security-setup'], labels=['databases']) # NEW: Sprint 3
|
||||
k8s_resource('orchestrator-db', resource_deps=['security-setup'], labels=['databases']) # NEW: Sprint 2
|
||||
k8s_resource('alert-processor-db', resource_deps=['security-setup'], labels=['databases'])
|
||||
k8s_resource('demo-session-db', resource_deps=['security-setup'], labels=['databases'])
|
||||
|
||||
@@ -258,6 +262,8 @@ k8s_resource('suppliers-migration', resource_deps=['suppliers-db'], labels=['mig
|
||||
k8s_resource('pos-migration', resource_deps=['pos-db'], labels=['migrations'])
|
||||
k8s_resource('orders-migration', resource_deps=['orders-db'], labels=['migrations'])
|
||||
k8s_resource('production-migration', resource_deps=['production-db'], labels=['migrations'])
|
||||
k8s_resource('procurement-migration', resource_deps=['procurement-db'], labels=['migrations']) # NEW: Sprint 3
|
||||
k8s_resource('orchestrator-migration', resource_deps=['orchestrator-db'], labels=['migrations']) # NEW: Sprint 2
|
||||
k8s_resource('alert-processor-migration', resource_deps=['alert-processor-db'], labels=['migrations'])
|
||||
k8s_resource('demo-session-migration', resource_deps=['demo-session-db'], labels=['migrations'])
|
||||
|
||||
@@ -346,9 +352,9 @@ k8s_resource('demo-seed-orders',
|
||||
resource_deps=['orders-migration', 'demo-seed-customers'],
|
||||
labels=['demo-init'])
|
||||
|
||||
# Weight 35: Seed procurement plans (orders service)
|
||||
k8s_resource('demo-seed-procurement',
|
||||
resource_deps=['orders-migration', 'demo-seed-tenants'],
|
||||
# Weight 35: Seed procurement plans (procurement service)
|
||||
k8s_resource('demo-seed-procurement-plans',
|
||||
resource_deps=['procurement-migration', 'demo-seed-tenants'],
|
||||
labels=['demo-init'])
|
||||
|
||||
# Weight 40: Seed demand forecasts (forecasting service)
|
||||
@@ -356,6 +362,20 @@ k8s_resource('demo-seed-forecasts',
|
||||
resource_deps=['forecasting-migration', 'demo-seed-tenants'],
|
||||
labels=['demo-init'])
|
||||
|
||||
# Weight 45: Seed orchestration runs (orchestrator service)
|
||||
k8s_resource('demo-seed-orchestration-runs',
|
||||
resource_deps=['orchestrator-migration', 'demo-seed-tenants'],
|
||||
labels=['demo-init'])
|
||||
|
||||
k8s_resource('demo-seed-pos-configs',
|
||||
resource_deps=['demo-seed-tenants'],
|
||||
labels=['demo-init'])
|
||||
|
||||
k8s_resource('demo-seed-purchase-orders',
|
||||
resource_deps=['procurement-migration', 'demo-seed-tenants'],
|
||||
labels=['demo-init'])
|
||||
|
||||
|
||||
# =============================================================================
|
||||
# SERVICES
|
||||
# =============================================================================
|
||||
@@ -413,14 +433,29 @@ k8s_resource('production-service',
|
||||
resource_deps=['production-migration', 'redis'],
|
||||
labels=['services'])
|
||||
|
||||
k8s_resource('procurement-service',
|
||||
resource_deps=['procurement-migration', 'redis'],
|
||||
labels=['services'])
|
||||
|
||||
k8s_resource('orchestrator-service',
|
||||
resource_deps=['orchestrator-migration', 'redis'],
|
||||
labels=['services'])
|
||||
|
||||
k8s_resource('alert-processor-service',
|
||||
resource_deps=['alert-processor-migration', 'redis', 'rabbitmq'],
|
||||
labels=['services'])
|
||||
|
||||
k8s_resource('alert-processor-api',
|
||||
resource_deps=['alert-processor-migration'],
|
||||
labels=['services'])
|
||||
|
||||
k8s_resource('demo-session-service',
|
||||
resource_deps=['demo-session-migration', 'redis'],
|
||||
labels=['services'])
|
||||
|
||||
k8s_resource('nominatim',
|
||||
labels=['services'])
|
||||
|
||||
# Apply environment variable patch to demo-session-service with the inventory image
|
||||
local_resource('patch-demo-session-env',
|
||||
cmd='''
|
||||
@@ -446,6 +481,9 @@ k8s_resource('external-data-init',
|
||||
resource_deps=['external-migration', 'redis'],
|
||||
labels=['data-init'])
|
||||
|
||||
k8s_resource('nominatim-init',
|
||||
labels=['data-init'])
|
||||
|
||||
# =============================================================================
|
||||
# CRONJOBS
|
||||
# =============================================================================
|
||||
@@ -505,6 +543,10 @@ watch_settings(
|
||||
'**/infrastructure/tls/**/*.cnf',
|
||||
'**/infrastructure/tls/**/*.csr',
|
||||
'**/infrastructure/tls/**/*.srl',
|
||||
# Ignore temporary files from migrations and other processes
|
||||
'**/*.tmp',
|
||||
'**/*.tmp.*',
|
||||
'**/migrations/versions/*.tmp.*',
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user