mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
fix(ci): generate a master key for the migration startup jobs (#44978)
The migration_startup_tests job runs pytest over tests/e2e/migrations with PYTHONPATH=tests/e2e, so it loads tests/e2e/conftest.py, which has required LITELLM_MASTER_KEY at import since #44718. That PR gave every other e2e job a "Generate LiteLLM master key" step but not this one, so all five scheduled migration jobs died before collection with KeyError: 'LITELLM_MASTER_KEY'. Give the job the same step the other jobs have. Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com>
This commit is contained in:
parent
51c49038ef
commit
4909bd9e8c
1 changed files with 5 additions and 0 deletions
|
|
@ -3063,6 +3063,11 @@ jobs:
|
|||
PYTHONPATH: tests/e2e
|
||||
steps:
|
||||
- checkout_migration_source
|
||||
- run:
|
||||
name: Generate LiteLLM master key
|
||||
command: |
|
||||
key="$(openssl rand -hex 16)"
|
||||
printf 'export LITELLM_MASTER_KEY=sk-%s\n' "$key" >> "$BASH_ENV"
|
||||
- install_uv
|
||||
- install_rust
|
||||
- restore_cache:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue