@@ -254,6 +254,7 @@ def extract_ingress_details(yaml):
254254
255255agnostic_local_resource ("create-hosts-file-content" , cmd = ["./tilt/scripts/print-hosts.sh" ], labels = ["core" ], auto_init = False , trigger_mode = TRIGGER_MODE_MANUAL , allow_parallel = True )
256256agnostic_local_resource ("populate-featured-mod-files" , cmd = ["./tilt/scripts/update-faf-featured-mod.sh" , faf_data_dir ], labels = ["database" ], resource_deps = ["faf-db-migrations" ], auto_init = False , trigger_mode = TRIGGER_MODE_MANUAL , allow_parallel = True )
257+ agnostic_local_resource ("populate-db" , cmd = ["./tilt/scripts/populate-database.sh" ], labels = ["database" ], resource_deps = ["faf-db-migrations" ], auto_init = False , trigger_mode = TRIGGER_MODE_MANUAL , allow_parallel = True )
257258
258259k8s_yaml ("cluster/namespaces.yaml" )
259260k8s_yaml (helm_with_build_cache ("infra/clusterroles" , namespace = "faf-infra" , values = ["config/local.yaml" ]))
@@ -341,9 +342,6 @@ for object in decode_yaml_stream(rabbitmq_init_user_yaml):
341342k8s_yaml (cronjob_to_job (helm_with_build_cache ("apps/faf-db-migrations" , namespace = "faf-apps" , values = ["config/local.yaml" ])))
342343k8s_resource (workload = "faf-db-migrations" , objects = ["faf-db-migrations:secret" ], resource_deps = mariadb_setup_resources , labels = ["database" ])
343344
344- k8s_yaml ("tilt/yaml/populate-db.yaml" )
345- k8s_resource (workload = "populate-db" , resource_deps = ["faf-db-migrations" ], labels = ["database" ], auto_init = False , trigger_mode = TRIGGER_MODE_MANUAL )
346-
347345k8s_yaml (helm_with_build_cache ("apps/ergochat" , namespace = "faf-apps" , values = ["config/local.yaml" ]))
348346k8s_resource (new_name = "ergochat-config" , objects = ["ergochat:configmap" , "ergochat:secret" ], labels = ["chat" ])
349347k8s_resource (workload = "ergochat" , objects = ["ergochat-webirc:ingressroute" ], resource_deps = ["traefik" ] + mariadb_setup_resources , port_forwards = ["8097:8097" ], labels = ["chat" ])
0 commit comments