Skip to content

Commit

Permalink
ci(docker): make app key optional with cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdain committed Jun 3, 2022
1 parent 45b8cc5 commit 9d73f24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/scripts/generate_launcher_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ def run(input_path, apps_path, out_path):
raise Exception(f"{apps_path} is empty")

for app_name, config in apps_dict.items():
if "app" not in config:
if "app" not in config and "cmd" not in config:
msg = (
f'In {apps_path}, every app must contain an "app" key, but '
f'In {apps_path}, every app must contain an "app" key if a "cmd" is not provided, but '
f'"{app_name}" does not'
)
raise Exception(msg)
Expand Down

0 comments on commit 9d73f24

Please sign in to comment.