Compare commits

..
Author SHA1 Message Date
opencodecabilloteu c4a3cb742e fix(ci): corps JSON valide pour le dispatch Renovate
PR Checks / hadolint (pull_request) Successful in 11s
Docker Build and Push / test (pull_request) Successful in 1m57s
PR Checks / build-test (pull_request) Successful in 17s
Docker Build and Push / integration-test (pull_request) Successful in 2m31s
PR Checks / pytest (pull_request) Successful in 3m11s
Docker Build and Push / build (pull_request) Successful in 2m6s
2026-10-18 22:14:36 -04:00
jcabillot 2e247141fc Merge pull request 'ci(tag): déclenche Renovate sur tf-depl-kubernetes dès que l'image de release est poussée (mcp-maildir)' (#62) from ci/renovate-dispatch-on-release into main
Main Release / hadolint (push) Successful in 37s
Docker Build and Push / test (push) Successful in 4m47s
Main Release / test (push) Successful in 4m57s
Docker Build and Push / integration-test (push) Successful in 5m53s
Renovate / renovate (push) Successful in 1m32s
Main Release / integration-test (push) Successful in 7m25s
Docker Build and Push / build (push) Successful in 6m22s
Main Release / build (push) Successful in 6m13s
Main Release / tag (push) Successful in 20s
Tag Release / hadolint (push) Successful in 37s
Tag Release / test (push) Successful in 3m21s
Tag Release / integration-test (push) Successful in 4m25s
Tag Release / build-push (push) Successful in 4m11s
Tag Release / trigger-renovate (push) Failing after 20s
PR Checks / hadolint (pull_request) Successful in 12s
Docker Build and Push / test (pull_request) Successful in 1m44s
PR Checks / build-test (pull_request) Successful in 15s
Docker Build and Push / integration-test (pull_request) Successful in 2m18s
PR Checks / pytest (pull_request) Successful in 1m47s
Docker Build and Push / build (pull_request) Successful in 2m35s
Reviewed-on: #62
2026-10-18 14:42:34 -04:00
opencodecabilloteu ef480dfd97 ci(tag): dispatch Renovate on tf-depl-kubernetes once the release image is pushed
PR Checks / hadolint (pull_request) Successful in 28s
PR Checks / pytest (pull_request) Successful in 7m14s
PR Checks / build-test (pull_request) Successful in 5m15s
Docker Build and Push / test (pull_request) Successful in 3m40s
Docker Build and Push / integration-test (pull_request) Successful in 3m54s
Docker Build and Push / build (pull_request) Successful in 3m4s
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:32 -04:00
2 changed files with 21 additions and 2 deletions

No files matched your search

+20 -1
View File
@@ -94,4 +94,23 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
pull: true
pull: true
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]
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"
+1 -1
View File
@@ -1,5 +1,5 @@
# 3.13, because with 3.14 it requires gcc (wheels not available)
FROM docker.io/library/python:3.15-slim
FROM docker.io/library/python:3.14-slim
# Set environment variables
ENV PYTHONDONTWRITEBYTECODE=1