diff --git a/.github/workflows/trigger_ci.yml b/.github/workflows/trigger_ci.yml index 985605e9..19ffa2bd 100644 --- a/.github/workflows/trigger_ci.yml +++ b/.github/workflows/trigger_ci.yml @@ -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 }}"