llama-stack/llama_stack/distribution
Xi Yan 74f6af8bbe
[CICD] add simple test step for docker build workflow, fix prefix bug (#821)
# What does this PR do?

**Main Thing**
- Add a simple test step before publishing docker image in workflow

**Side Fix**
- Docker push action fails recently due to extra prefix introduced. E.g.
see:
https://github.com/meta-llama/llama-stack/pull/802#issuecomment-2599507062

cc @terrytangyuan 

## Test Plan

1. Release a TestPyPi version on this code: 0.0.63.dev51206766


3581203331

```
# 1. build docker image
TEST_PYPI_VERSION=0.0.63.dev51206766 llama stack build --template fireworks

# 2. test the docker image
cd distributions/fireworks && docker compose up
```

4. Test the full build + test docker flow using TestPyPi from (1):
1284218494

<img width="1049" alt="image"
src="https://github.com/user-attachments/assets/c025893d-5ce2-48ff-aa90-de00e105ee09"
/>


## Sources

Please link relevant resources if necessary.


## Before submitting

- [ ] This PR fixes a typo or improves the docs (you can dismiss the
other checks if that's the case).
- [ ] Ran pre-commit to handle lint / formatting issues.
- [ ] Read the [contributor
guideline](https://github.com/meta-llama/llama-stack/blob/main/CONTRIBUTING.md),
      Pull Request section?
- [ ] Updated relevant documentation.
- [ ] Wrote necessary unit or integration tests.
2025-01-18 15:16:05 -08:00
..
routers [test automation] support run tests on config file (#730) 2025-01-16 12:05:49 -08:00
server meta reference inference fixes (#797) 2025-01-16 18:17:46 -08:00
store Fix broken tests in test_registry (#707) 2025-01-14 14:33:15 -08:00
ui fix playground for v1 (#799) 2025-01-16 19:32:07 -08:00
utils [CICD] Github workflow for publishing Docker images (#764) 2025-01-15 09:01:33 -08:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
build.py More generic image type for OCI-compliant container technologies (#802) 2025-01-17 16:37:42 -08:00
build_conda_env.sh Make llama stack build not create a new conda by default (#788) 2025-01-16 13:44:53 -08:00
build_container.sh [CICD] add simple test step for docker build workflow, fix prefix bug (#821) 2025-01-18 15:16:05 -08:00
build_venv.sh Miscellaneous fixes around telemetry, library client and run yaml autogen 2024-12-08 20:40:22 -08:00
client.py use API version in "remote" stack client 2024-11-19 15:59:47 -08:00
common.sh API Updates (#73) 2024-09-17 19:51:35 -07:00
configure.py [remove import *] clean up import *'s (#689) 2024-12-27 15:45:44 -08:00
configure_container.sh More generic image type for OCI-compliant container technologies (#802) 2025-01-17 16:37:42 -08:00
datatypes.py More generic image type for OCI-compliant container technologies (#802) 2025-01-17 16:37:42 -08:00
distribution.py Tools API with brave and MCP providers (#639) 2024-12-19 21:25:17 -08:00
inspect.py REST API fixes (#789) 2025-01-16 13:47:08 -08:00
library_client.py Fix telemetry (#787) 2025-01-16 10:36:13 -08:00
request_headers.py Add X-LlamaStack-Client-Version, rename ProviderData -> Provider-Data (#735) 2025-01-09 11:51:36 -08:00
resolver.py optional api dependencies (#793) 2025-01-17 15:26:53 -08:00
stack.py More idiomatic REST API (#765) 2025-01-15 13:20:09 -08:00
start_conda_env.sh Make llama stack build not create a new conda by default (#788) 2025-01-16 13:44:53 -08:00
start_container.sh More generic image type for OCI-compliant container technologies (#802) 2025-01-17 16:37:42 -08:00