Skip to content

Commit

Permalink
correct bug on yaml syntax for helm test workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
mfournioux committed Nov 25, 2024
1 parent 43623d2 commit b650582
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 90 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,18 @@ jobs:

- name: curl test
run: |
kubectl port-forward svc/test-vllm-service 8001:80 -n test-vllm
CODE=`curl --location http://localhost:8001/v1/completions \
--header "Content-Type: application/json" \
--data '{
"model": "opt-125m",
"prompt": "San Francisco is a",
"max_tokens": 7,
"temperature": 0
}'`
if [ $CODE!="200" ]
then
echo "FAILURE"
else
echo "SUCCESS"
fi
kubectl port-forward svc/test-vllm-service 8001:80 -n test-vllm
CODE=`curl --location http://localhost:8001/v1/completions \
--header "Content-Type: application/json" \
--data '{
"model": "opt-125m",
"prompt": "San Francisco is a",
"max_tokens": 7,
"temperature": 0
}'`
if [ $CODE!="200" ]
then
echo "FAILURE"
else
echo "SUCCESS"
fi
75 changes: 0 additions & 75 deletions examples/chart-helm/worfklows/lint-test.yaml

This file was deleted.

0 comments on commit b650582

Please sign in to comment.