mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-03 18:00:36 +00:00
fix: fix llama stack list
llama stack list was still using build.yaml, convert cmd and tests to just use config.yaml Signed-off-by: Charlie Doern <cdoern@redhat.com>
This commit is contained in:
parent
94506126ae
commit
b2ab5c2807
2 changed files with 10 additions and 14 deletions
|
|
@ -31,8 +31,7 @@ def mock_distribs_base_dir(tmp_path):
|
|||
# Create a custom distribution
|
||||
starter_custom = custom_dir / "starter"
|
||||
starter_custom.mkdir()
|
||||
(starter_custom / "starter-build.yaml").write_text("# build config")
|
||||
(starter_custom / "starter-config.yaml").write_text("# run config")
|
||||
(starter_custom / "starter-config.yaml").write_text("# config")
|
||||
|
||||
return custom_dir
|
||||
|
||||
|
|
@ -47,8 +46,7 @@ def mock_distro_dir(tmp_path):
|
|||
for distro_name in ["starter", "nvidia", "dell"]:
|
||||
distro_path = distro_dir / distro_name
|
||||
distro_path.mkdir()
|
||||
(distro_path / "build.yaml").write_text("# build config")
|
||||
(distro_path / "config.yaml").write_text("# run config")
|
||||
(distro_path / "config.yaml").write_text("# config")
|
||||
|
||||
return distro_dir
|
||||
|
||||
|
|
@ -112,7 +110,7 @@ class TestStackList:
|
|||
# Add a hidden directory
|
||||
hidden_dir = mock_distro_dir / ".hidden"
|
||||
hidden_dir.mkdir()
|
||||
(hidden_dir / "build.yaml").write_text("# build")
|
||||
(hidden_dir / "config.yaml").write_text("# config")
|
||||
|
||||
# Add a __pycache__ directory
|
||||
pycache_dir = mock_distro_dir / "__pycache__"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue