[CI] Reverted gitignore changes (#44497)
Signed-off-by: Andreas Karatzas <akaratza@amd.com>
This commit is contained in:
@@ -33,8 +33,3 @@ share/python-wheels/
|
|||||||
*.egg
|
*.egg
|
||||||
MANIFEST
|
MANIFEST
|
||||||
rust/target/
|
rust/target/
|
||||||
# Not needed in Docker builds
|
|
||||||
docs/
|
|
||||||
.github/
|
|
||||||
.pre-commit-config.yaml
|
|
||||||
format.sh
|
|
||||||
|
|||||||
@@ -98,7 +98,6 @@ RUN if [ "$USE_SCCACHE" = "1" ]; then \
|
|||||||
ARG USE_SCCACHE
|
ARG USE_SCCACHE
|
||||||
ENV SCCACHE_BUCKET=${USE_SCCACHE:+${SCCACHE_BUCKET_NAME}}
|
ENV SCCACHE_BUCKET=${USE_SCCACHE:+${SCCACHE_BUCKET_NAME}}
|
||||||
ENV SCCACHE_REGION=${USE_SCCACHE:+${SCCACHE_REGION_NAME}}
|
ENV SCCACHE_REGION=${USE_SCCACHE:+${SCCACHE_REGION_NAME}}
|
||||||
ENV SCCACHE_ENDPOINT=${USE_SCCACHE:+${SCCACHE_ENDPOINT}}
|
|
||||||
ENV SCCACHE_S3_NO_CREDENTIALS=${USE_SCCACHE:+${SCCACHE_S3_NO_CREDENTIALS}}
|
ENV SCCACHE_S3_NO_CREDENTIALS=${USE_SCCACHE:+${SCCACHE_S3_NO_CREDENTIALS}}
|
||||||
ENV SCCACHE_IDLE_TIMEOUT=${USE_SCCACHE:+0}
|
ENV SCCACHE_IDLE_TIMEOUT=${USE_SCCACHE:+0}
|
||||||
|
|
||||||
|
|||||||
@@ -1,14 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Checks whether the repo is clean and whether tags are available (necessary to correctly produce vllm version at build time)
|
# 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
|
if ! git diff --quiet; then
|
||||||
echo "Repo is dirty" >&2
|
echo "Repo is dirty" >&2
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user