-
Notifications
You must be signed in to change notification settings - Fork 182
feat: fix precommit container error #182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: fix precommit container error #182
Conversation
yuluo-yx
commented
Sep 20, 2025
- Closed Run pre-commit in Containers #140
✅ Deploy Preview for vllm-semantic-router ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
👥 vLLM Semantic Team NotificationThe following members have been identified for the changed files in this PR and have been automatically assigned: 📁
|
Signed-off-by: yuluo-yx <[email protected]>
4481ba9
to
0f858ea
Compare
precommit-local: | ||
docker pull ghcr.io/vllm/semantic-router/precommit:latest | ||
docker run --rm -v $$(pwd):/data ghcr.io/vllm-project/semantic-router/precommit:latest pre-commit run --all-files | ||
@if ! docker image inspect ${PRECOMMIT_CONTAINER} > /dev/null 2>&1; then \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: can you make a macro for docker command and detect if either docker or podman is installed and choose the one that is present on the system?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can do it in a followup PR.
Signed-off-by: yuluo-yx <[email protected]> Co-authored-by: Huamin Chen <[email protected]>