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:
37
37
export OLD_VLLM_TAG=$(yq '.api.image.version' $CHART_VALUES)
38
38
export NEW_VLLM_TAG=$(curl -s https://api.github.com/repos/vllm-project/vllm/releases/latest | jq .tag_name | sed s/\"//g)
39
39
if [[ $OLD_VLLM_TAG != $NEW_VLLM_TAG ]]; then
40
+
40
41
# Set new release tag output
41
42
echo new_vllm_tag=$NEW_VLLM_TAG >> $GITHUB_OUTPUT
43
+
42
44
# Update yaml in-place with yq
43
45
yq e -i '.api.image.version = strenv(NEW_VLLM_TAG)' $CHART_VALUES
46
+
47
+ # Replace version default in Azimuth UI schema files
44
48
# 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,}
47
60
fi
48
61
49
62
- name : Create Pull Request
Original file line number Diff line number Diff line change 40
40
"type" : " string" ,
41
41
"title" : " Backend vLLM version" ,
42
42
"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 "
44
44
}
45
45
}
46
46
}
Original file line number Diff line number Diff line change 36
36
"type" : " string" ,
37
37
"title" : " Backend vLLM version" ,
38
38
"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 "
40
40
}
41
41
}
42
42
},
You can’t perform that action at this time.
0 commit comments