From 5e2af28838d735979a29eb1c3558951bb58fbe17 Mon Sep 17 00:00:00 2001 From: Andreas Karatzas Date: Wed, 3 Jun 2026 23:35:40 -0500 Subject: [PATCH] [CI] Resolve release V2 docker build after ROCm CI wheels change (#44463) Signed-off-by: Andreas Karatzas --- .dockerignore | 2 -- tools/check_repo.sh | 8 ++++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.dockerignore b/.dockerignore index fb010600db..8396cbf08d 100644 --- a/.dockerignore +++ b/.dockerignore @@ -37,6 +37,4 @@ rust/target/ docs/ .github/ .pre-commit-config.yaml -.clang-format -.gitattributes format.sh diff --git a/tools/check_repo.sh b/tools/check_repo.sh index 48eba5bea8..60cf057c97 100755 --- a/tools/check_repo.sh +++ b/tools/check_repo.sh @@ -1,6 +1,14 @@ #!/bin/bash # Checks whether the repo is clean and whether tags are available (necessary to correctly produce vllm version at build time) +# Some Docker builds intentionally omit tracked, non-build files from the +# context. Restore only those paths from the mounted .git object database before +# checking cleanliness so release builds still see a coherent worktree. +if [ -f /.dockerenv ]; then + git ls-files -z -- docs .github .pre-commit-config.yaml format.sh \ + | git checkout-index -f -z --stdin +fi + if ! git diff --quiet; then echo "Repo is dirty" >&2