@@ -20,11 +20,11 @@ jobs:
2020 # on main or a stable tag on a dev branch.
2121
2222 - name : Fail on semver pre-release chart version
23- run : yq .version deployment/helm/Chart.yaml | grep -v '[a-zA-Z-]'
23+ run : yq .version deployment/helm/charts/danswer/ Chart.yaml | grep -v '[a-zA-Z-]'
2424 if : ${{ github.ref_name == 'main' }}
2525
2626 - name : Fail on stable semver chart version
27- run : yq .version deployment/helm/Chart.yaml | grep '[a-zA-Z-]'
27+ run : yq .version deployment/helm/charts/danswer/ Chart.yaml | grep '[a-zA-Z-]'
2828 if : ${{ github.ref_name != 'main' }}
2929
3030 # To reduce resource usage images are built only on tag.
@@ -37,19 +37,19 @@ jobs:
3737 curl -H "Authorization: Bearer $(echo ${{ secrets.GITHUB_TOKEN }} | base64)"
3838 https://ghcr.io/v2/stackhpc/danswer/danswer-backend/tags/list
3939 | jq .tags
40- | grep $( yq .appVersion deployment/helm/Chart.yaml )-$( yq .tagSuffix deployment/helm/values.yaml )
40+ | grep $( yq .appVersion deployment/helm/charts/danswer/ Chart.yaml )-$( yq .tagSuffix deployment/helm/values.yaml )
4141 &&
4242 curl -H "Authorization: Bearer $(echo ${{ secrets.GITHUB_TOKEN }} | base64)"
4343 https://ghcr.io/v2/stackhpc/danswer/danswer-web-server/tags/list
4444 | jq .tags
45- | grep $( yq .appVersion deployment/helm/Chart.yaml )-$( yq .tagSuffix deployment/helm/values.yaml )
45+ | grep $( yq .appVersion deployment/helm/charts/danswer/ Chart.yaml )-$( yq .tagSuffix deployment/helm/values.yaml )
4646
4747 # Check if current chart version exists in releases already
4848 - name : Check for Helm chart version bump
4949 id : version_check
5050 run : |
5151 set -xe
52- chart_version=$(yq .version deployment/helm/Chart.yaml)
52+ chart_version=$(yq .version deployment/helm/charts/danswer/ Chart.yaml)
5353 if [[ $(curl https://api.github.com/repos/stackhpc/danswer/releases | jq '.[].tag_name' | grep danswer-helm-$chart_version) ]]; then
5454 echo chart_version_changed=false >> $GITHUB_OUTPUT
5555 else
0 commit comments