File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,6 @@ setup_environment() {
1818 # shellcheck disable=1091
1919 source /etc/environment
2020
21- # If the script run on the buildkite agent, will use $BUILDKITE_COMMIT as a tag.
22- # Otherwise, if run on local vm, just use "tmp" as a tag.
23-
2421 # Cleanup of existing containers and images.
2522 echo " Starting cleanup for ${IMAGE_NAME} ..."
2623 # Get all unique image IDs for the repository
@@ -57,7 +54,7 @@ setup_environment() {
5754 echo " Python dependencies installed"
5855 if [ -z " ${BUILDKITE:- } " ]; then
5956 VLLM_COMMIT_HASH=" "
60- BUILDKITE_COMMIT=" tmp "
57+ BUILDKITE_COMMIT=$( git log -n 1 --pretty= " %H " )
6158 else
6259 VLLM_COMMIT_HASH=" 28097d5638cc695f4644c411edac8eb05a03b39b"
6360 # VLLM_COMMIT_HASH=$(buildkite-agent meta-data get "VLLM_COMMIT_HASH" --default "")
You can’t perform that action at this time.
0 commit comments