mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 08:46:24 +02:00
remove dependency on docker-compose when starting up archgw (#305)
This commit is contained in:
parent
726f1a3185
commit
0ff3d43008
16 changed files with 3761 additions and 274 deletions
|
|
@ -56,7 +56,6 @@ def validate_and_render_schema():
|
|||
"port": 80, # default port
|
||||
}
|
||||
|
||||
print(inferred_clusters)
|
||||
endpoints = config_yaml.get("endpoints", {})
|
||||
|
||||
# override the inferred clusters with the ones defined in the config
|
||||
|
|
@ -88,7 +87,6 @@ def validate_and_render_schema():
|
|||
}
|
||||
|
||||
rendered = template.render(data)
|
||||
print(rendered)
|
||||
print(ENVOY_CONFIG_FILE_RENDERED)
|
||||
with open(ENVOY_CONFIG_FILE_RENDERED, "w") as file:
|
||||
file.write(rendered)
|
||||
|
|
@ -108,7 +106,7 @@ def validate_prompt_config(arch_config_file, arch_config_schema_file):
|
|||
validate(config_yaml, config_schema_yaml)
|
||||
except Exception as e:
|
||||
print(
|
||||
f"Error validating arch_config file: {arch_config_file}, error: {e.message}"
|
||||
f"Error validating arch_config file: {arch_config_file}, schema file: {arch_config_schema_file}, error: {e.message}"
|
||||
)
|
||||
raise e
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue