Skip to content

Commit bff3feb

Browse files
committed
Fix vLLM update workflow to handle new chart structure
1 parent 78d2240 commit bff3feb

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

.github/workflows/update-dependencies.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff 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

charts/azimuth-chat/values.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
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
}

charts/azimuth-image-analysis/values.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
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
},

0 commit comments

Comments
 (0)