2 Commits

Author SHA1 Message Date
414efe2565 chore(fix): temporarily add --verify=false to helm plugin install
All checks were successful
changelog / changelog (push) Successful in 16s
check-and-test / check-and-test (push) Successful in 50s
generate-chart / generate-chart-publish (push) Successful in 40s
generate-chart / release-gitea (push) Successful in 10s
2026-01-20 20:08:56 -05:00
f595a99b80 chore(fix): update changelog config for duby gitea
Some checks failed
changelog / changelog (push) Successful in 8s
check-and-test / check-and-test (push) Successful in 48s
generate-chart / generate-chart-publish (push) Failing after 37s
generate-chart / release-gitea (push) Has been skipped
2026-01-20 13:07:46 -05:00
2 changed files with 5 additions and 4 deletions

View File

@@ -20,13 +20,13 @@ jobs:
run: | run: |
git sv rn -o changelog.md git sv rn -o changelog.md
export RELEASE_NOTES=$(cat changelog.md) export RELEASE_NOTES=$(cat changelog.md)
export ISSUE_NUMBER=$(curl -s "https://gitea.com/api/v1/repos/gitea/helm-gitea/issues?state=open&q=Changelog%20for%20upcoming%20version" | jq '.[].number') export ISSUE_NUMBER=$(curl -s "https://git.dubyatp.xyz/api/v1/repos/williamp/helm-gitea/issues?state=open&q=Changelog%20for%20upcoming%20version" | jq '.[].number')
echo $RELEASE_NOTES echo $RELEASE_NOTES
JSON_DATA=$(echo "" | jq -Rs --arg title 'Changelog for upcoming version' --arg body "$(cat changelog.md)" '{title: $title, body: $body}') JSON_DATA=$(echo "" | jq -Rs --arg title 'Changelog for upcoming version' --arg body "$(cat changelog.md)" '{title: $title, body: $body}')
if [ -z "$ISSUE_NUMBER" ]; then if [ -z "$ISSUE_NUMBER" ]; then
curl -s -X POST "https://gitea.com/api/v1/repos/gitea/helm-gitea/issues" -H "Authorization: token ${{ secrets.ISSUE_RW_TOKEN }}" -H "Content-Type: application/json" -d "$JSON_DATA" curl -s -X POST "https://git.dubyatp.xyz/api/v1/repos/williamp/helm-gitea/issues" -H "Authorization: token ${{ secrets.ISSUE_RW_TOKEN }}" -H "Content-Type: application/json" -d "$JSON_DATA"
else else
curl -s -X PATCH "https://gitea.com/api/v1/repos/gitea/helm-gitea/issues/$ISSUE_NUMBER" -H "Authorization: token ${{ secrets.ISSUE_RW_TOKEN }}" -H "Content-Type: application/json" -d "$JSON_DATA" curl -s -X PATCH "https://git.dubyatp.xyz/api/v1/repos/williamp/helm-gitea/issues/$ISSUE_NUMBER" -H "Authorization: token ${{ secrets.ISSUE_RW_TOKEN }}" -H "Content-Type: application/json" -d "$JSON_DATA"
fi fi

View File

@@ -65,9 +65,10 @@ jobs:
# Using helm gpg plugin as 'helm package --sign' has issues with gpg2: https://github.com/helm/helm/issues/2843 # Using helm gpg plugin as 'helm package --sign' has issues with gpg2: https://github.com/helm/helm/issues/2843
- name: package chart - name: package chart
# remove `--verify=false` once https://github.com/helm/helm/issues/31490 is resolved
run: | run: |
# FIXME: use upstream after https://github.com/technosophos/helm-gpg/issues/1 is solved # FIXME: use upstream after https://github.com/technosophos/helm-gpg/issues/1 is solved
helm plugin install https://github.com/pat-s/helm-gpg helm plugin install https://github.com/pat-s/helm-gpg --verify=false
helm dependency build helm dependency build
helm package --version "${GITHUB_REF#refs/tags/v}" ./ helm package --version "${GITHUB_REF#refs/tags/v}" ./
mkdir gitea mkdir gitea