Skip to content

Commit

Permalink
Merge pull request #117 from epics-containers/instance-path
Browse files Browse the repository at this point in the history
check for Chart.yaml instead of optional values.yaml
  • Loading branch information
gilesknap authored Mar 26, 2024
2 parents 08ecdb2 + 01a0e31 commit 88b0b0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/edge_containers_cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ def check_instance_path(service_path: Path):

log.info(f"checking instance {service_name} at {service_path}")
if service_path.is_dir():
if not (service_path / "values.yaml").exists():
log.error("IOC instance requires values.yaml")
if not (service_path / "Chart.yaml").exists():
log.error("A Service instance requires Chart.yaml")
raise typer.Exit(1)
else:
log.error(f"instance path {service_path} does not exist")
Expand Down
1 change: 1 addition & 0 deletions tests/data/services/bl45p-ea-ioc-01/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# placeholder

0 comments on commit 88b0b0c

Please sign in to comment.