Skip to content

Commit b92af9c

Browse files
authored
[SW-225233] Adjust method of getting synapse_build (#1045)
Adjusted method of extracting synapse build id for release branches
1 parent ff61f89 commit b92af9c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/trigger_jenkins.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,12 +225,14 @@ jobs:
225225
if [[ $TARGET_BRANCH =~ $version_regex ]]; then
226226
synapse_version=${TARGET_BRANCH#v}
227227
synapse_version=${synapse_version%_*}
228+
synapse_build_endpoint="https://dms.habana-labs.com/api/v1.1/guide/info/${synapse_version}/latest?type=docker-pt"
228229
else
229230
synapse_version=${RELEASED_SYNAPSE_VERSION#v}
230231
LOG_REDIRECTION="2>\&1 \| tee"
232+
synapse_build_endpoint="https://dms.habana-labs.com/api/v1.1/branch/info/v${synapse_version}"
231233
fi
232-
echo "Using SynapseAI version ${synapse_version}"
233-
synapse_build=$(curl "https://dms.habana-labs.com/api/v1.1/branch/info/v$synapse_version" | jq -r ".release_id")
234+
echo "Using SynapseAI version ${synapse_version}"
235+
synapse_build=$(curl "${synapse_build_endpoint}" | jq -r ".release_id")
234236
pt_version=${{ vars.PT_VERSION }}
235237
BUILD_TAG="Github-vLLM-Fork-${{ github.event.number }}-${{github.run_number}}"
236238
safe_cmd=${TEST_COMMAND//&/\\&}

0 commit comments

Comments
 (0)