llama-stack-mirror/.github/workflows
Hardik Shah 6b8a8c1be9
fix: Safety in starter (#2731)
- fireworks, together do not support Llama-guard 3 8b model anymore 
- Need to default to ollama 
- current safety shields logic was not correct since the shield_id was
the provider ( which had duplicates )
- Followed similar logic to models 

Note: Seems a bit over-engineered but this can now be extended to other
providers and fits in the overall mechanism of how env_vars are used to
manage starter.

### How to test 
```
ENABLE_OLLAMA=ollama ENABLE_FIREWORKS=fireworks SAFETY_MODEL=llama-guard3:1b pytest -s -v tests/integration/ --stack-config starter -k 'not(supervised_fine_tune or builtin_tool_code or safety_with_image or code_interpreter_for or rag_and_code or truncation or register_and_unregister)' --text-model fireworks/meta-llama/Llama-3.3-70B-Instruct --vision-model fireworks/meta-llama/Llama-4-Scout-17B-16E-Instruct --safety-shield llama-guard3:1b --embedding-model all-MiniLM-L6-v2
```

### Related but not obvious in this PR 
In the llama-stack-ops repo, we run tests before publishing packages and
docker containers.
The actions in that repo were using the fireworks / together distros (
which are non-existent )

So need to update that to run with `starter` and use `ollama`
specifically for safety.
2025-07-14 15:07:40 -07:00
..
changelog.yml ci: pin github actions to hashes (#1776) 2025-04-01 17:09:39 +02:00
gha_workflow_llama_stack_tests.yml chore: fix hash for thollander/actions-comment-pull-request (#1900) 2025-04-09 10:10:07 +02:00
install-script-ci.yml chore: move "install.sh" script into "scripts" dir (#2719) 2025-07-10 13:14:10 -07:00
integration-auth-tests.yml chore(github-deps): bump medyagh/setup-minikube from 0.0.19 to 0.0.20 (#2738) 2025-07-12 16:23:42 -04:00
integration-sql-store-tests.yml fix: authorized sql store with postgres (#2641) 2025-07-07 19:36:34 -07:00
integration-tests.yml fix: Safety in starter (#2731) 2025-07-14 15:07:40 -07:00
integration-vector-io-tests.yml chore: Enabling VectorIO Integration tests for Milvus (#2546) 2025-06-30 19:49:59 -07:00
pre-commit.yml chore: bump python supported version to 3.12 (#2475) 2025-06-24 09:22:04 +05:30
providers-build.yml chore: isolate bare minimum project dependencies (#2282) 2025-06-26 10:14:27 +02:00
python-build-test.yml chore(github-deps): bump astral-sh/setup-uv from 6.3.0 to 6.3.1 (#2548) 2025-06-29 13:55:32 -04:00
semantic-pr.yml ci: pin github actions to hashes (#1776) 2025-04-01 17:09:39 +02:00
stale_bot.yml ci: pin github actions to hashes (#1776) 2025-04-01 17:09:39 +02:00
test-external-providers.yml ci: fix external provider test (#2438) 2025-06-12 16:14:32 +02:00
tests.yml ci: pin github actions to hashes (#1776) 2025-04-01 17:09:39 +02:00
unit-tests.yml chore: bump python supported version to 3.12 (#2475) 2025-06-24 09:22:04 +05:30
update-readthedocs.yml chore: refactor workflow writting (#2225) 2025-05-21 17:31:14 +02:00