2 Commits

Author SHA1 Message Date
e4bc4c786c Update php Docker tag to v8.5.0
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
lint-test-helm / helm-lint (pull_request) Successful in 18s
2025-11-30 22:42:24 +00:00
4a4e8ab77f use jq
All checks were successful
renovate / renovate (push) Successful in 1m18s
2025-11-30 16:41:11 -06:00
2 changed files with 14 additions and 13 deletions

View File

@@ -138,34 +138,35 @@ jobs:
GITEA_URL: ${{ secrets.REPO_URL }} GITEA_URL: ${{ secrets.REPO_URL }}
HEAD_BRANCH: ${{ steps.commit-push.outputs.HEAD_BRANCH }} HEAD_BRANCH: ${{ steps.commit-push.outputs.HEAD_BRANCH }}
run: | run: |
apt install jq
API_ENDPOINT="${GITEA_URL}/api/v1/repos/${{ gitea.repository_owner }}/${{ gitea.repository_name }}/pulls" API_ENDPOINT="${GITEA_URL}/api/v1/repos/${{ gitea.repository_owner }}/${{ gitea.repository_name }}/pulls"
PAYLOAD=$(cat <<-EOF PAYLOAD=$( jq -n \
{ --arg head "${HEAD_BRANCH}" \
"head": "${HEAD_BRANCH}", --arg base "${BASE_BRANCH}" \
"base": "${BASE_BRANCH}", --arg title "Automated Manifest Update: $(date +%F)" \
"title": "Automated Manifest Update: $(date +%F)", --arg body "This PR contains newly rendered Kubernetes manifests automatically generated by the CI workflow" \
"body": "This PR contains newly rendered Kubernetes manifests automatically generated by the CI workflow.", '{head: $head, base: $base, title: $title}, body: $body' )
}
EOF
)
echo ">> Creating PR from branch: ${HEAD_BRANCH} into ${BASE_BRANCH}" echo ">> Creating PR from branch: ${HEAD_BRANCH} into ${BASE_BRANCH}"
echo ">> With Payload of:"
echo "$PAYLOAD"
HTTP_STATUS=$( HTTP_STATUS=$(
curl -X POST \ curl -X POST \
--write-out '%{http_code}' \
--silent \ --silent \
--write-out '%{http_code}' \
--output /tmp/pr_response \ --output /tmp/pr_response \
--data "${PAYLOAD}" \
-H "Authorization: token ${GITEA_TOKEN}" \ -H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
--data "${PAYLOAD}" \
"${API_ENDPOINT}" "${API_ENDPOINT}"
) )
echo ">> Gitea API Response Body ..." echo ">> Gitea API Response Body ..."
echo "----" echo "----"
echo "$(cat /tmp/pr_response)" cat /tmp/pr_response
echo "----" echo "----"
if [ "$HTTP_STATUS" == "201" ]; then if [ "$HTTP_STATUS" == "201" ]; then

View File

@@ -36,7 +36,7 @@ shelly-plug:
main: main:
image: image:
repository: php repository: php
tag: 8.4.15-apache-bookworm tag: 8.5.0-apache-bookworm
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
env: env:
- name: SHELLY_HOSTNAME - name: SHELLY_HOSTNAME