File tree Expand file tree Collapse file tree 3 files changed +17
-4
lines changed
Expand file tree Collapse file tree 3 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -37,13 +37,26 @@ jobs:
3737 export OLD_VLLM_TAG=$(yq '.api.image.version' $CHART_VALUES)
3838 export NEW_VLLM_TAG=$(curl -s https://api.github.com/repos/vllm-project/vllm/releases/latest | jq .tag_name | sed s/\"//g)
3939 if [[ $OLD_VLLM_TAG != $NEW_VLLM_TAG ]]; then
40+
4041 # Set new release tag output
4142 echo new_vllm_tag=$NEW_VLLM_TAG >> $GITHUB_OUTPUT
43+
4244 # Update yaml in-place with yq
4345 yq e -i '.api.image.version = strenv(NEW_VLLM_TAG)' $CHART_VALUES
46+
47+ # Replace version default in Azimuth UI schema files
4448 # Can't use in-place editing with jq
45- jq --indent 4 --arg tag $NEW_VLLM_TAG '.properties.api.properties.image.properties.version.default = $tag' charts/azimuth-llm/values.schema.json > charts/azimuth-llm/values.schema.json.new
46- mv charts/azimuth-llm/values.schema.json{.new,}
49+ FILENAME=charts/azimuth-llm/values.schema.json
50+ jq --indent 4 --arg tag $NEW_VLLM_TAG '.properties.api.properties.image.properties.version.default = $tag' $FILENAME > $FILENAME.new
51+ mv $FILENAME{.new,}
52+
53+ FILENAME=charts/azimuth-chat/values.schema.json
54+ jq --indent 4 --arg tag $NEW_VLLM_TAG '.properties.api.properties.image.properties.version.default = $tag' $FILENAME > $FILENAME.new
55+ mv $FILENAME{.new,}
56+
57+ FILENAME=charts/azimuth-image-analysis/values.schema.json
58+ jq --indent 4 --arg tag $NEW_VLLM_TAG '.properties.api.properties.image.properties.version.default = $tag' $FILENAME > $FILENAME.new
59+ mv $FILENAME{.new,}
4760 fi
4861
4962 - name : Create Pull Request
Original file line number Diff line number Diff line change 4040 "type" : " string" ,
4141 "title" : " Backend vLLM version" ,
4242 "description" : " The vLLM version to use as a backend. Must be a version tag from [this list](https://github.com/vllm-project/vllm/tags)" ,
43- "default" : " v0.6.3 "
43+ "default" : " v0.7.2 "
4444 }
4545 }
4646 }
Original file line number Diff line number Diff line change 3636 "type" : " string" ,
3737 "title" : " Backend vLLM version" ,
3838 "description" : " The vLLM version to use as a backend. Must be a version tag from [this list](https://github.com/vllm-project/vllm/tags)" ,
39- "default" : " v0.6.3 "
39+ "default" : " v0.7.2 "
4040 }
4141 }
4242 },
You can’t perform that action at this time.
0 commit comments