Compare commits

...
4 Commits
Author SHA1 Message Date
jcabillot 22929538e8 Merge pull request 'ci(tag): release Gitea (commit list) avant le dispatch Renovate + corps JSON du dispatch corrigé' (#64) from chore/release-notes into main
CI Shared Jobs / hadolint (push) Successful in 11s
CI Shared Jobs / build-test (push) Successful in 1m7s
Main Release / ci (push) Successful in 1m19s
Renovate / renovate (push) Successful in 57s
Main Release / build (push) Successful in 1m1s
Main Release / tag (push) Successful in 17s
CI Shared Jobs / hadolint (push) Successful in 12s
CI Shared Jobs / build-test (push) Successful in 1m16s
Tag Release / ci (push) Successful in 1m24s
Tag Release / build-push (push) Successful in 38s
Gitea Release / release (push) Successful in 13s
Tag Release / release (push) Successful in 13s
Tag Release / trigger-renovate (push) Successful in 4s
Reviewed-on: #64
2026-10-19 11:42:45 -04:00
opencodecabilloteu 3c9d474af6 ci(tag): release Gitea (commit list) avant le dispatch Renovate + corps JSON du dispatch corrigé
CI Shared Jobs / hadolint (pull_request) Successful in 8s
CI Shared Jobs / build-test (pull_request) Successful in 1m4s
PR Checks / ci (pull_request) Successful in 1m13s
2026-10-18 22:18:24 -04:00
jcabillot df007ca514 Merge pull request 'ci(tag): déclenche Renovate sur tf-depl-kubernetes dès que l'image de release est poussée (opencode-openchamber)' (#62) from ci/renovate-dispatch-on-release into main
CI Shared Jobs / hadolint (push) Successful in 11s
Renovate / renovate (push) Successful in 42s
CI Shared Jobs / build-test (push) Successful in 4m11s
Main Release / ci (push) Successful in 4m21s
Main Release / build (push) Successful in 6m44s
Main Release / tag (push) Successful in 18s
CI Shared Jobs / hadolint (push) Successful in 9s
CI Shared Jobs / build-test (push) Successful in 1m51s
Tag Release / ci (push) Successful in 1m52s
Tag Release / build-push (push) Successful in 1m37s
Tag Release / trigger-renovate (push) Failing after 13s
CI Shared Jobs / hadolint (pull_request) Successful in 12s
CI Shared Jobs / build-test (pull_request) Successful in 1m10s
PR Checks / ci (pull_request) Successful in 1m21s
Reviewed-on: #62
2026-10-18 13:43:29 -04:00
opencodecabilloteu a675a9bbf4 ci(tag): dispatch Renovate on tf-depl-kubernetes once the release image is pushed
CI Shared Jobs / hadolint (pull_request) Successful in 20s
CI Shared Jobs / build-test (pull_request) Successful in 7m29s
PR Checks / ci (pull_request) Successful in 7m50s
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:22:13 -04:00
+30
View File
@@ -38,3 +38,33 @@ jobs:
pull: true
cache-from: type=gha
cache-to: type=gha,mode=max
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-openchamber
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"