mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
fix tracing flags
This commit is contained in:
parent
509976dec6
commit
31f3d38fad
11 changed files with 61 additions and 48 deletions
|
|
@ -116,11 +116,18 @@ def stream_gateway_logs(follow, service="plano"):
|
|||
|
||||
|
||||
def docker_validate_plano_schema(arch_config_file):
|
||||
import os
|
||||
|
||||
env = os.environ.copy()
|
||||
env.pop("PATH", None)
|
||||
env_args = [item for key, value in env.items() for item in ["-e", f"{key}={value}"]]
|
||||
|
||||
result = subprocess.run(
|
||||
[
|
||||
"docker",
|
||||
"run",
|
||||
"--rm",
|
||||
*env_args,
|
||||
"-v",
|
||||
f"{arch_config_file}:/app/arch_config.yaml:ro",
|
||||
"--entrypoint",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue