Unverified Commit 18ade7d8 authored by Tushar Sharma's avatar Tushar Sharma Committed by GitHub
Browse files

ci: fix variable processing into internal pipeline (#3946)


Signed-off-by: default avatarTushar Sharma <tusharma@nvidia.com>
Co-authored-by: default avatarAnant Sharma <anants@nvidia.com>
parent efa647b7
......@@ -30,6 +30,7 @@ vllm: &vllm
- 'container/deps/vllm/**'
- 'components/backends/vllm/**'
- 'components/src/dynamo/vllm/**'
- 'container/build.sh'
- 'tests/serve/test_vllm.py'
sglang: &sglang
......
......@@ -120,12 +120,13 @@ jobs:
ci_variables["ENABLE_SECURITY_SCAN"]="false"
ci_variables["RELEASE_BUILD"]="false"
ci_args=""
ci_args=()
for key in "${!ci_variables[@]}"; do
ci_args+="--form variables[$key]=${ci_variables[$key]} "
value="${ci_variables[$key]}"
ci_args+=(--form "variables[$key]=${value}")
done
echo "Running Pipeline with Variables: $ci_args"
echo "Running Pipeline with Variables: ${ci_args[*]}"
if [ "${{ github.event_name }}" = "pull_request" ]; then
REF="${{ github.event.pull_request.head.ref }}"
......@@ -136,5 +137,5 @@ jobs:
--request POST \
--form token=${{ secrets.PIPELINE_TOKEN }} \
--form ref=${REF} \
$ci_args \
"${ci_args[@]}" \
"${{ secrets.PIPELINE_URL }}"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment