34 Commits
Author SHA1 Message Date
jcabillot aa730b3066 Merge pull request 'ci(tag): déclenche Renovate sur tf-depl-kubernetes dès que l'image de release est poussée (ip)' (#39) from ci/renovate-dispatch-on-release into master
Main Release / hadolint (push) Successful in 24s
Main Release / test (push) Successful in 55s
Renovate / renovate (push) Successful in 44s
Main Release / build (push) Successful in 1m15s
Main Release / tag (push) Successful in 19s
Tag Release / hadolint (push) Successful in 12s
Tag Release / test (push) Successful in 1m30s
Tag Release / build-push (push) Successful in 1m38s
Tag Release / trigger-renovate (push) Failing after 13s
Reviewed-on: #39
2026-10-18 13:44:31 -04:00
opencodecabilloteu 66520eee9e ci(tag): dispatch Renovate on tf-depl-kubernetes once the release image is pushed
PR Checks / hadolint (pull_request) Successful in 35s
PR Checks / build-test (pull_request) Successful in 47s
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:24:16 -04:00
opencodecabilloteu 9284d26b3e Merge pull request 'chore(deps): update docker/setup-buildx-action digest to f87e599' (#38) from renovate/docker-setup-buildx-action-digest into master
Main Release / hadolint (push) Successful in 10s
Main Release / test (push) Successful in 37s
Renovate / renovate (push) Successful in 58s
Main Release / build (push) Successful in 22s
Main Release / tag (push) Successful in 12s
Tag Release / hadolint (push) Successful in 8s
Tag Release / test (push) Successful in 32s
Tag Release / build-push (push) Successful in 50s
2026-09-18 04:30:48 -04:00
renovate 9da0c77ef2 chore(deps): update docker/setup-buildx-action digest to f87e599
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 12s
PR Checks / build-test (pull_request) Successful in 37s
2026-09-18 08:27:38 +00:00
jcabillot 10b47ab1fd Merge pull request 'chore: remove legacy GitLab CI and Jenkins files' (#37) from ci/remove-legacy-ci into master
Main Release / hadolint (push) Successful in 13s
Main Release / test (push) Successful in 43s
Renovate / renovate (push) Successful in 50s
Main Release / build (push) Successful in 37s
Main Release / tag (push) Successful in 1m14s
Tag Release / hadolint (push) Successful in 15s
Tag Release / test (push) Successful in 38s
Tag Release / build-push (push) Successful in 3m7s
Reviewed-on: #37
2026-09-02 09:47:28 -04:00
OpenCode Cabillot 62f27c93c6 chore: remove legacy GitLab CI and Jenkins files
PR Checks / hadolint (pull_request) Successful in 16s
PR Checks / build-test (pull_request) Successful in 44s
2026-09-02 13:45:12 +00:00
opencodecabilloteu 8d9ebb1f93 Merge pull request 'chore(deps): update hadolint/hadolint-action action to v3.5.0' (#36) from renovate/hadolint-hadolint-action-3.x into master
Main Release / hadolint (push) Successful in 19s
Main Release / test (push) Successful in 39s
Renovate / renovate (push) Successful in 2m40s
Main Release / build (push) Successful in 34s
Main Release / tag (push) Successful in 24s
Tag Release / hadolint (push) Successful in 15s
Tag Release / test (push) Successful in 39s
Tag Release / build-push (push) Successful in 3m28s
2026-08-26 10:30:54 -04:00
renovate 9e3642f969 chore(deps): update hadolint/hadolint-action action to v3.5.0
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 19s
PR Checks / build-test (pull_request) Successful in 40s
2026-08-26 14:28:02 +00:00
opencodecabilloteu 4650020375 Merge pull request 'chore(deps): update docker/setup-buildx-action digest to 37fe631' (#35) from renovate/docker-setup-buildx-action-digest into master
Main Release / test (push) Failing after 55s
Main Release / hadolint (push) Successful in 20s
Main Release / build (push) Skipped
Main Release / tag (push) Skipped
Renovate / renovate (push) Successful in 2m47s
2026-08-21 06:31:40 -04:00
renovate 5274aea968 chore(deps): update docker/setup-buildx-action digest to 37fe631
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 18s
PR Checks / build-test (pull_request) Successful in 47s
2026-08-21 10:29:15 +00:00
jcabillot ba2403c295 Merge pull request 'ci: add Renovate workflow' (#34) from add-renovate-workflow into master
Main Release / test (push) Successful in 1m23s
Renovate / renovate (push) Successful in 2m58s
Main Release / hadolint (push) Successful in 33s
Main Release / build (push) Successful in 1m6s
Main Release / tag (push) Successful in 48s
Tag Release / hadolint (push) Successful in 50s
Tag Release / test (push) Successful in 1m25s
Tag Release / build-push (push) Successful in 6m27s
Reviewed-on: #34
2026-08-03 16:13:29 -04:00
OpenCode Cabillot 8da7d217fd ci: add Renovate workflow
PR Checks / hadolint (pull_request) Successful in 10s
PR Checks / build-test (pull_request) Successful in 23s
2026-08-02 23:52:09 +00:00
opencodecabilloteu c2c2363cd7 Merge pull request 'chore(deps): update hadolint/hadolint-action action to v3.4.0' (#31) from renovate/hadolint-hadolint-action-3.x into master
Main Release / test (push) Successful in 52s
Main Release / hadolint (push) Successful in 2m22s
Main Release / build (push) Successful in 58s
Main Release / tag (push) Successful in 1m34s
Tag Release / hadolint (push) Successful in 44s
Tag Release / test (push) Successful in 55s
Tag Release / build-push (push) Successful in 5m3s
2026-08-02 12:55:23 -04:00
renovate 0e17a94f35 chore(deps): update hadolint/hadolint-action action to v3.4.0
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 23s
PR Checks / build-test (pull_request) Successful in 55s
2026-08-02 16:51:11 +00:00
jcabillot bceca024fd Merge pull request 'fix: ignore hadolint DL3066 for non-numeric USER www-data' (#32) from fix/hadolint-dl3066 into master
Main Release / test (push) Successful in 41s
Main Release / hadolint (push) Successful in 13s
Main Release / build (push) Successful in 26s
Main Release / tag (push) Successful in 23s
Tag Release / hadolint (push) Successful in 11s
Tag Release / test (push) Successful in 28s
Tag Release / build-push (push) Successful in 3m3s
Reviewed-on: #32
2026-08-02 12:35:30 -04:00
opencodecabilloteu ad8b3b7830 fix: ignore hadolint DL3066 for non-numeric USER www-data
PR Checks / hadolint (pull_request) Successful in 15s
PR Checks / build-test (pull_request) Successful in 1m11s
2026-08-02 16:26:21 +00:00
jcabillot 0235b4fb09 Merge pull request 'chore(deps): update docker/login-action digest to dbcb813' (#30) from renovate/docker-login-action-digest into master
Main Release / hadolint (push) Successful in 9s
Main Release / test (push) Successful in 23s
Main Release / build (push) Successful in 33s
Main Release / tag (push) Successful in 40s
Tag Release / hadolint (push) Successful in 42s
Tag Release / test (push) Successful in 2m16s
Tag Release / build-push (push) Successful in 6m56s
Reviewed-on: #30
2026-07-29 11:40:59 -04:00
renovate 67f42be8ff chore(deps): update docker/login-action digest to dbcb813
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 9s
PR Checks / build-test (pull_request) Successful in 23s
2026-07-29 13:04:10 +00:00
jcabillot ca500889ac Merge pull request 'chore(deps): update docker/login-action digest to 371161b' (#29) from renovate/docker-login-action-digest into master
Main Release / hadolint (push) Successful in 10s
Main Release / test (push) Successful in 29s
Main Release / build (push) Successful in 19s
Main Release / tag (push) Successful in 15s
Tag Release / hadolint (push) Successful in 11s
Tag Release / test (push) Failing after 33s
Tag Release / build-push (push) Skipped
Reviewed-on: #29
2026-07-28 16:52:45 -04:00
renovate a747ae530b chore(deps): update docker/login-action digest to 371161b
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 11s
PR Checks / build-test (pull_request) Successful in 33s
2026-07-28 08:03:43 +00:00
jcabillot 75da7f2cd5 Merge pull request 'chore(deps): update actions/checkout digest to 3d3c42e' (#28) from renovate/actions-checkout-digest into master
Main Release / hadolint (push) Successful in 10s
Main Release / test (push) Successful in 40s
Main Release / build (push) Successful in 2m34s
Main Release / tag (push) Successful in 41s
Tag Release / hadolint (push) Successful in 11s
Tag Release / test (push) Successful in 27s
Tag Release / build-push (push) Successful in 3m37s
Reviewed-on: #28
2026-07-22 08:10:16 -04:00
renovate b7f421ed4f chore(deps): update actions/checkout digest to 3d3c42e
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 8s
PR Checks / build-test (pull_request) Successful in 21s
2026-07-20 16:03:28 +00:00
jcabillot ebd1dedfc0 Merge pull request 'chore(deps): update docker/login-action digest to af1e73f' (#27) from renovate/docker-login-action-digest into master
Main Release / test (push) Successful in 19s
Main Release / build (push) Successful in 15s
Main Release / hadolint (push) Failing after 12m22s
Main Release / tag (push) Successful in 16s
Tag Release / hadolint (push) Successful in 11s
Tag Release / test (push) Successful in 20s
Tag Release / build-push (push) Successful in 3m38s
Reviewed-on: #27
2026-07-03 16:19:52 -04:00
renovate 1f6bf7947d chore(deps): update docker/login-action digest to af1e73f
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 8s
PR Checks / build-test (pull_request) Successful in 18s
2026-07-03 14:13:37 +00:00
jcabillot eddf84387e Merge pull request 'chore(deps): update docker/metadata-action digest to dc80280' (#25) from renovate/docker-metadata-action-digest into master
Main Release / hadolint (push) Successful in 11s
Main Release / test (push) Successful in 30s
Main Release / build (push) Successful in 17s
Main Release / tag (push) Successful in 9s
Tag Release / hadolint (push) Successful in 15s
Tag Release / test (push) Successful in 18s
Tag Release / build-push (push) Successful in 1m11s
Reviewed-on: #25
2026-07-02 09:27:01 -04:00
jcabillot 75e1cbcb1c Merge pull request 'chore(deps): update docker/login-action digest to c99871d' (#24) from renovate/docker-login-action-digest into master
Main Release / hadolint (push) Successful in 16s
Main Release / test (push) Successful in 24s
Main Release / build (push) Successful in 16s
Main Release / tag (push) Successful in 14s
Reviewed-on: #24
2026-07-02 09:26:58 -04:00
renovate 7d55299019 chore(deps): update docker/metadata-action digest to dc80280
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 18s
PR Checks / build-test (pull_request) Successful in 26s
2026-07-02 12:41:02 +00:00
renovate 31897516d1 chore(deps): update docker/login-action digest to c99871d
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 19s
PR Checks / build-test (pull_request) Successful in 49s
2026-07-02 12:40:51 +00:00
opencodecabilloteu 6b9e2efe40 chore(deps): update docker/setup-buildx-action digest to bb05f3f
Main Release / hadolint (push) Successful in 7s
Main Release / test (push) Successful in 20s
Main Release / build (push) Successful in 27s
Main Release / tag (push) Successful in 18s
Tag Release / hadolint (push) Successful in 16s
Tag Release / test (push) Successful in 25s
Tag Release / build-push (push) Successful in 2m19s
chore(deps): update docker/setup-buildx-action digest to bb05f3f
2026-07-02 08:28:01 -04:00
renovate 2cab8f5261 chore(deps): update docker/setup-buildx-action digest to bb05f3f
PR Checks / hadolint (pull_request) Successful in 7s
PR Checks / build-test (pull_request) Successful in 13s
2026-07-02 09:52:39 +00:00
jcabillot 37cf75f7b0 Merge pull request 'fix: remove obsolete jcabillot/phpapache references' (#23) from fix/remove-phpapache-renovate into master
Main Release / hadolint (push) Successful in 8s
Main Release / test (push) Successful in 18s
Main Release / build (push) Successful in 21s
Main Release / tag (push) Successful in 34s
Tag Release / test (push) Successful in 22s
Tag Release / hadolint (push) Successful in 23s
Tag Release / build-push (push) Successful in 3m18s
Reviewed-on: #23
2026-06-29 15:33:47 -04:00
Hermes Agent 4e10bdc92d fix: remove obsolete jcabillot/phpapache references
PR Checks / hadolint (pull_request) Successful in 20s
PR Checks / build-test (pull_request) Successful in 20s
- Delete renovate.json: custom manager for jcabillot/phpapache ARG VERSION
  is obsolete since migration to dunglas/frankenphp.
- Update AGENTS.md: reflect FrankenPHP/Caddy base image, /app/public,
  no ARG VERSION, fixed tag.
2026-06-29 19:32:35 +00:00
jcabillot b9ee6ab52b Merge pull request 'fix: migrate from jcabillot/phpapache to dunglas/frankenphp' (#22) from fix/frankenphp-migration into master
Main Release / hadolint (push) Successful in 10s
Main Release / test (push) Successful in 15s
Main Release / build (push) Successful in 11s
Main Release / tag (push) Successful in 34s
Tag Release / hadolint (push) Successful in 10s
Tag Release / test (push) Successful in 16s
Tag Release / build-push (push) Successful in 56s
Reviewed-on: #22
2026-06-29 08:54:45 -04:00
Sagent 7a5a53b3db fix: migrate from jcabillot/phpapache to dunglas/frankenphp
PR Checks / hadolint (pull_request) Successful in 9s
PR Checks / build-test (pull_request) Successful in 15s
2026-06-29 12:50:50 +00:00
11 changed files with 80 additions and 111 deletions

No files matched your search

+8 -8
View File
@@ -9,16 +9,16 @@ jobs:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: hadolint/hadolint-action@06be81baf89a55ffd0e24b8f04a4185738dd3387 # v3.5.0
with:
dockerfile: Dockerfile
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- run: docker build -t ci-image:${{ github.sha }} .
- run: bash tests/test.sh ci-image:${{ github.sha }}
@@ -26,11 +26,11 @@ jobs:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
fetch-depth: 0
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -39,7 +39,7 @@ jobs:
TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
echo "tag=$TAG" >> $GITHUB_OUTPUT
- id: meta
uses: docker/metadata-action@80c7e94dd9b9319bd5eb7a0e0fe9291e23a2a2e9 # v6
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6
with:
images: jcabillot/ip
tags: |
+7 -7
View File
@@ -9,16 +9,16 @@ jobs:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: hadolint/hadolint-action@06be81baf89a55ffd0e24b8f04a4185738dd3387 # v3.5.0
with:
dockerfile: Dockerfile
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- run: docker build -t ci-image:${{ github.sha }} .
- run: bash tests/test.sh ci-image:${{ github.sha }}
@@ -26,15 +26,15 @@ jobs:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- run: docker build -t jcabillot/ip:${{ github.sha }} .
tag:
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
fetch-depth: 0
- name: Configure git auth
+4 -4
View File
@@ -8,15 +8,15 @@ jobs:
hadolint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: hadolint/hadolint-action@06be81baf89a55ffd0e24b8f04a4185738dd3387 # v3.5.0
with:
dockerfile: Dockerfile
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- run: docker build -t ci-image:${{ github.sha }} .
- run: bash tests/test.sh ci-image:${{ github.sha }}
+12
View File
@@ -0,0 +1,12 @@
name: Renovate
on:
push:
branches:
- master
workflow_dispatch:
jobs:
renovate:
uses: perso/gitea-pipelines/.gitea/workflows/renovate.yaml@main
secrets: inherit
+27 -8
View File
@@ -9,16 +9,16 @@ jobs:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: hadolint/hadolint-action@06be81baf89a55ffd0e24b8f04a4185738dd3387 # v3.5.0
with:
dockerfile: Dockerfile
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- run: docker build -t ci-image:${{ github.sha }} .
- run: bash tests/test.sh ci-image:${{ github.sha }}
@@ -26,14 +26,14 @@ jobs:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- id: meta
uses: docker/metadata-action@80c7e94dd9b9319bd5eb7a0e0fe9291e23a2a2e9 # v6
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6
with:
images: jcabillot/ip
tags: |
@@ -46,3 +46,22 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
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"
-23
View File
@@ -1,23 +0,0 @@
image: docker:latest
services:
- docker:dind
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
build-master:
stage: build
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE" .
- docker push "$CI_REGISTRY_IMAGE"
only:
- master
build:
stage: build
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" .
- docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
except:
- master
+4 -3
View File
@@ -6,18 +6,19 @@ Lightweight PHP micro-service that returns the client's public IP address as JSO
## 2. Folder Structure
- `root/`: Application source code served by Apache.
- `root/`: Application source code served by FrankenPHP/Caddy.
- `index.php`: Single endpoint returning `REMOTE_ADDR` as JSON.
- `Caddyfile`: FrankenPHP/Caddy web server configuration — PHP handler on `:8080` with `try_files` + `php_server`.
- `.gitea/workflows/`: Gitea Actions CI pipelines.
- `docker-build.yaml`: Build and push Docker image to Docker Hub on push/PR to master + daily cron.
- `Dockerfile`: Multi-stage build extending `jcabillot/phpapache` base image, copies `root/` into `/var/www/html`.
- `Dockerfile`: Single-stage build from `dunglas/frankenphp:1-php8.5-alpine`, copies `root/` into `/app/public`.
- `.gitlab-ci.yml`: Legacy GitLab CI config (deprecated, replaced by Gitea Actions).
- `Jenkinsfile`: Legacy Jenkins pipeline (deprecated, replaced by Gitea Actions).
## 3. Core Behaviors & Patterns
- **Request/Response Flow**: Single PHP endpoint sets `Content-Type: application/json` header and returns `$_SERVER['REMOTE_ADDR']` encoded as JSON string. No routing, no framework, no state.
- **Container Base Image Pattern**: `Dockerfile` uses `ARG VERSION="latest"` to allow version pinning at build time, extends `jcabillot/phpapache` which provides PHP + Apache pre-configured. Application code is layered on top via `COPY root /var/www/html`.
- **Container Base Image Pattern**: `Dockerfile` is a single-stage build from a fixed `dunglas/frankenphp:1-php8.5-alpine` tag (Alpine-based FrankenPHP with Caddy). No `ARG VERSION` — the tag is pinned, Renovate auto-detects it. Application code is layered via `COPY root /app/public`. FrankenPHP provides PHP + Caddy pre-configured.
- **Traefik IngressRoute with HTTPS Redirect**: Two IngressRoute resources handle traffic — `ip-websecure` serves HTTPS on the `websecure` entrypoint, `ip-web` catches HTTP on `web` entrypoint and applies a `redirectScheme` middleware for permanent HTTPS redirect. The Service reference in the HTTP IngressRoute is required by Traefik even though the middleware intercepts before reaching it.
- **Health Probes**: Deployment defines both `livenessProbe` and `readinessProbe` using `httpGet` on `/` at the named `http` port (8080). Kubernetes uses these to restart unhealthy pods and exclude unready pods from the Service endpoints.
- **Security Hardening**: Pod spec sets `automountServiceAccountToken: false` to prevent unnecessary Kubernetes API access from the container.
+11
View File
@@ -0,0 +1,11 @@
{
auto_https off
frankenphp
}
:8080 {
root * /app/public
encode zstd br gzip
try_files {path} /index.php?{query}
php_server
}
+7 -3
View File
@@ -1,5 +1,9 @@
ARG VERSION="latest"
FROM "jcabillot/phpapache:${VERSION}"
FROM dunglas/frankenphp:1-php8.5-alpine
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
COPY "root" "/var/www/html"
WORKDIR /app
COPY Caddyfile /etc/frankenphp/Caddyfile
COPY --chown=www-data:www-data root /app/public
# hadolint ignore=DL3066
USER www-data
Vendored
-38
View File
@@ -1,38 +0,0 @@
pipeline {
environment {
registry = 'https://registry.hub.docker.com'
registryCredential = 'dockerhub_jcabillot'
dockerImage = 'jcabillot/ip'
}
agent any
triggers {
cron('@midnight')
}
stages {
stage('Clone repository') {
steps{
checkout scm
}
}
stage('Build image') {
steps{
sh 'docker build --force-rm=true --no-cache=true --pull -t ${dockerImage} .'
}
}
stage('Deploy Image') {
steps{
script {
withCredentials([usernamePassword(credentialsId: 'dockerhub_jcabillot', usernameVariable: 'DOCKER_USER', passwordVariable: 'DOCKER_PASS')]) {
sh 'docker login --username ${DOCKER_USER} --password ${DOCKER_PASS}'
sh 'docker push ${dockerImage}'
}
}
}
}
}
}
-17
View File
@@ -1,17 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"customManagers": [
{
"customType": "regex",
"description": "Detect ARG VERSION pin for jcabillot/phpapache base image",
"managerFilePatterns": [
"/^Dockerfile$/"
],
"matchStrings": [
"ARG\\s+VERSION=\"(?<currentValue>[^\"]+)\""
],
"depNameTemplate": "jcabillot/phpapache",
"datasourceTemplate": "docker"
}
]
}