queue stable release testing after new GH release

This commit is contained in:
Ishaan Jaff 2024-08-02 10:57:56 -07:00
parent 70c45767c2
commit b3196df0b8

View file

@ -405,7 +405,7 @@ jobs:
circleci step halt
fi
- run:
name: Trigger Github Action for new Docker Container
name: Trigger Github Action for new Docker Container + Trigger Stable Release Testing
command: |
echo "Install TOML package."
python3 -m pip install toml
@ -416,7 +416,8 @@ jobs:
-H "Authorization: Bearer $GITHUB_TOKEN" \
"https://api.github.com/repos/BerriAI/litellm/actions/workflows/ghcr_deploy.yml/dispatches" \
-d "{\"ref\":\"main\", \"inputs\":{\"tag\":\"v${VERSION}\", \"commit_hash\":\"$CIRCLE_SHA1\"}}"
echo "triggering stable release server for version ${VERSION} and commit ${CIRCLE_SHA1}"
curl -X POST "https://proxyloadtester-production.up.railway.app/start/load/test?version=${VERSION}&commit_hash=${CIRCLE_SHA1}"
workflows:
version: 2
build_and_test: