Compare commits

..
6 Commits
Author SHA1 Message Date
jcabillot b3f81be57e Merge pull request 'fix(ci): corps JSON valide dans le dispatch Renovate (accolades doublées → 422)' (#38) from fix/renovate-dispatch-json into main
Main Release / hadolint (push) Successful in 7s
Main Release / test (push) Successful in 25s
Renovate / renovate (push) Successful in 31s
Main Release / build (push) Successful in 21s
Main Release / tag (push) Successful in 13s
Tag Release / hadolint (push) Successful in 15s
Tag Release / test (push) Successful in 27s
Tag Release / build-push (push) Successful in 1m8s
Gitea Release / release (push) Successful in 14s
Tag Release / release (push) Successful in 14s
Tag Release / trigger-renovate (push) Successful in 5s
Reviewed-on: #38
2026-10-19 11:43:41 -04:00
jcabillot c4b1909f98 Merge pull request 'ci(tag): release Gitea (commit list) avant le dispatch Renovate + corps JSON du dispatch corrigé' (#39) from chore/release-notes into main
Main Release / hadolint (push) Successful in 9s
Main Release / test (push) Successful in 16s
Renovate / renovate (push) Successful in 41s
Main Release / build (push) Successful in 16s
Main Release / tag (push) Successful in 17s
Tag Release / hadolint (push) Successful in 11s
Tag Release / test (push) Successful in 17s
Tag Release / build-push (push) Successful in 59s
Gitea Release / release (push) Successful in 10s
Tag Release / release (push) Successful in 2m53s
Tag Release / trigger-renovate (push) Successful in 5s
Reviewed-on: #39
2026-10-19 11:42:42 -04:00
opencodecabilloteu 52e313b25e ci(tag): release Gitea (commit list) avant le dispatch Renovate + corps JSON du dispatch corrigé
PR Checks / hadolint (pull_request) Successful in 9s
PR Checks / build-test (pull_request) Successful in 16s
2026-10-18 22:18:19 -04:00
opencodecabilloteu bb047e6f98 fix(ci): corps JSON valide pour le dispatch Renovate
PR Checks / hadolint (pull_request) Successful in 15s
PR Checks / build-test (pull_request) Successful in 28s
2026-10-18 22:14:59 -04:00
jcabillot 619850928b Merge pull request 'ci(tag): déclenche Renovate sur tf-depl-kubernetes dès que l'image de release est poussée (opencode-dispatch)' (#37) from ci/renovate-dispatch-on-release into main
Main Release / hadolint (push) Successful in 2m2s
Main Release / test (push) Successful in 52s
Renovate / renovate (push) Successful in 54s
Main Release / build (push) Successful in 32s
Main Release / tag (push) Successful in 26s
Tag Release / hadolint (push) Successful in 5m1s
Tag Release / test (push) Successful in 4m23s
Tag Release / build-push (push) Successful in 3m20s
Tag Release / trigger-renovate (push) Failing after 12s
PR Checks / hadolint (pull_request) Successful in 12s
PR Checks / build-test (pull_request) Successful in 48s
Reviewed-on: #37
2026-10-18 13:43:14 -04:00
opencodecabilloteu 95c54cb0b4 ci(tag): dispatch Renovate on tf-depl-kubernetes once the release image is pushed
PR Checks / hadolint (pull_request) Successful in 9s
PR Checks / build-test (pull_request) Successful in 48s
A release only reached perso_private/tf-depl-kubernetes on the next hourly
Renovate scan, so the image bump PR could lag up to an hour behind the tag.

After the image push completes, dispatch that repo's Renovate workflow through
the Gitea API (workflow_dispatch is already enabled there). It authenticates
with the RENOVATE_TOKEN org secret of this organisation — the same token the
Renovate instance itself uses, no extra credential. The job fails loudly so a
rotated token shows up instead of the trigger silently going missing.
2026-10-18 13:21:52 -04:00
+30
View File
@@ -41,3 +41,33 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
pull: true
release:
# Publishes the Gitea release for this tag (body = commits since the previous
# tag). Renovate copies that body into the bump PR in
# perso_private/tf-depl-kubernetes under "Release Notes"; without a release
# that section stays empty (bare "Compare Source" link).
needs: [build-push]
uses: perso/gitea-pipelines/.gitea/workflows/gitea-release.yaml@main
with:
image: jcabillot/opencode-dispatch
secrets: inherit
trigger-renovate:
# The deployment repo perso_private/tf-depl-kubernetes pins this image; its
# Renovate instance only scans hourly, so this dispatch opens the image bump
# PR within minutes of the release instead of up to an hour later.
needs: [build-push, release]
runs-on: ubuntu-latest
steps:
- name: Trigger Renovate on perso_private/tf-depl-kubernetes
# needs: build-push — Renovate reads Docker Hub, so a scan started before
# the push lands would only see the previous release.
# RENOVATE_TOKEN is the org-level secret of this organisation.
run: |
curl -sS -f -X POST \
-u "renovate:${{ secrets.RENOVATE_TOKEN }}" \
-H "Content-Type: application/json" \
-d '{"ref":"main"}' \
"https://scm.cabillot.eu/api/v1/repos/perso_private/tf-depl-kubernetes/actions/workflows/renovate.yaml/dispatches"
echo "Renovate dispatched on perso_private/tf-depl-kubernetes"