Skip to content

Commit

Permalink
Update trigger_ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nvda-mesharma authored Aug 5, 2024
1 parent deb13ce commit d888f12
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/trigger_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,14 @@ jobs:
- name: Trigger Pipeline
run: |
#!/bin/bash
curl --fail --request POST --form token=${{ secrets.PIPELINE_TOKEN }} -F ref=${GITHUB_HEAD_REF} -F variables[BUILD_OPTION]="BUILD_SOURCE" "${{ secrets.PIPELINE_URL }}"
# Get latest VLLM RELEASED VERSION from https://github.com/triton-inference-server/vllm_backend/releases
TAG=$(curl https://api.github.com/repos/triton-inference-server/vllm_backend/releases/latest | grep -i "tag_name" | awk -F '"' '{print $4}')
export TRITON_CONTAINER_VERSION=${TAG#v} # example: 24.06
echo "TRITON_CONTAINER_VERSION = ${TRITON_CONTAINER_VERSION}"
# Get latest VLLM RELEASED VERSION from https://github.com/vllm-project/vllm/releases
TAG=$(curl https://api.github.com/repos/vllm-project/vllm/releases/latest | grep -i "tag_name" | awk -F '"' '{print $4}')
export VLLM_VERSION=${TAG#v} # example: 0.5.3.post1
echo "VLLM_VERSION = ${VLLM_VERSION}"
curl --fail --request POST --form token=${{ secrets.PIPELINE_TOKEN }} -F ref=${GITHUB_HEAD_REF} -F variables[BUILD_OPTION]="BUILD_SOURCE" -F variables[TRITON_CONTAINER_VERSION]="TRITON_CONTAINER_VERSION" -F variables[VLLM_VERSION]="VLLM_VERSION" "${{ secrets.PIPELINE_URL }}"

0 comments on commit d888f12

Please sign in to comment.