Skip to content

Commit

Permalink
add debug options for curl test
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime Fournioux <[email protected]>
  • Loading branch information
mfournioux committed Dec 2, 2024
1 parent 4e2f531 commit 3f73dd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
run: |

Check failure on line 70 in .github/workflows/lint-test.yaml

View workflow job for this annotation

GitHub Actions / actionlint

shellcheck reported issue in this script: SC2046:warning:3:29: Quote this to prevent word splitting
kubectl -n ns-vllm port-forward service/test-vllm-service 8001:80 &
sleep 10
(kubectl -n ns-vllm logs -f $(kubectl -n ns-vllm get pods -o name | awk '/deployment/ {print $1;exit}')) &
curl -v --fail-with-body --show-error --location http://localhost:8001/v1/completions \
--header "Content-Type: application/json" \
--data '{
Expand All @@ -78,7 +79,6 @@ jobs:
"max_tokens": 7,
"temperature": 0
}'
(kubectl -n ns-vllm logs -f $(kubectl -n ns-vllm get pods -o name | awk '/deployment/ {print $1;exit}'))
CODE="$(curl -v -f --location http://localhost:8001/v1/completions \
--header "Content-Type: application/json" \
--data '{
Expand Down

0 comments on commit 3f73dd9

Please sign in to comment.