Compare commits

..
Author SHA1 Message Date
renovate 507c9d9571 chore(deps): update dependency python to 3.15
Docker Build and Push / test (pull_request) Waiting to run
Docker Build and Push / integration-test (pull_request) Waiting to run
PR Checks / hadolint (pull_request) Waiting to run
PR Checks / pytest (pull_request) Waiting to run
PR Checks / build-test (pull_request) Waiting to run
renovate/stability-days Updates have met minimum release age requirement
2026-10-18 19:08:13 +00: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
Docker Build and Push / test (push) Waiting to run
Docker Build and Push / integration-test (push) Waiting to run
Main Release / hadolint (push) Waiting to run
Main Release / test (push) Waiting to run
Main Release / integration-test (push) Waiting to run
Renovate / renovate (push) Blocked by required conditions
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
6 changed files with 30 additions and 11 deletions

No files matched your search

+2 -2
View File
@@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7 - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
with: with:
python-version: "3.14" python-version: "3.15"
- name: Install dependencies - name: Install dependencies
run: pip install -r requirements.txt pytest run: pip install -r requirements.txt pytest
- name: Run unit tests - name: Run unit tests
@@ -57,7 +57,7 @@ jobs:
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7 - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
with: with:
python-version: "3.14" python-version: "3.15"
- name: Install dependencies - name: Install dependencies
run: pip install -r requirements.txt pytest run: pip install -r requirements.txt pytest
- name: Run integration tests - name: Run integration tests
+2 -2
View File
@@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7 - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
with: with:
python-version: "3.14" python-version: "3.15"
- name: Install dependencies - name: Install dependencies
run: | run: |
pip install -r requirements.txt pytest pip install -r requirements.txt pytest
@@ -61,7 +61,7 @@ jobs:
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7 - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
with: with:
python-version: "3.14" python-version: "3.15"
- name: Install dependencies - name: Install dependencies
run: | run: |
pip install -r requirements.txt pytest pip install -r requirements.txt pytest
+2 -2
View File
@@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7 - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
with: with:
python-version: "3.14" python-version: "3.15"
- name: Install dependencies - name: Install dependencies
run: pip install -r requirements.txt pytest ruff==0.17.1 run: pip install -r requirements.txt pytest ruff==0.17.1
- name: Lint (undefined names) - name: Lint (undefined names)
@@ -74,7 +74,7 @@ jobs:
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7 - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
with: with:
python-version: "3.14" python-version: "3.15"
- name: Install dependencies - name: Install dependencies
run: pip install -r requirements.txt pytest run: pip install -r requirements.txt pytest
- name: Run integration tests - name: Run integration tests
+1 -1
View File
@@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7 - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
with: with:
python-version: "3.14" python-version: "3.15"
- name: Install dependencies - name: Install dependencies
run: pip install -r requirements.txt pytest run: pip install -r requirements.txt pytest
- name: Run unit tests - name: Run unit tests
+22 -3
View File
@@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7 - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
with: with:
python-version: "3.14" python-version: "3.15"
- name: Install dependencies - name: Install dependencies
run: pip install -r requirements.txt pytest run: pip install -r requirements.txt pytest
- name: Run unit tests - name: Run unit tests
@@ -57,7 +57,7 @@ jobs:
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7 - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
with: with:
python-version: "3.14" python-version: "3.15"
- name: Install dependencies - name: Install dependencies
run: pip install -r requirements.txt pytest run: pip install -r requirements.txt pytest
- name: Run integration tests - name: Run integration tests
@@ -94,4 +94,23 @@ jobs:
push: true push: true
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} 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) # 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 # Set environment variables
ENV PYTHONDONTWRITEBYTECODE=1 ENV PYTHONDONTWRITEBYTECODE=1