Author SHA1 Message Date
jcabillot 70d7306129 Merge pull request 'ci: align pipeline on web/mydl pattern (real docker tags)' (#27) from ci/align-mydl into main
CI Shared Jobs / hadolint (push) Successful in 33s
CI Shared Jobs / build-test (push) Successful in 1m10s
Main Release / ci (push) Successful in 1m12s
Main Release / build (push) Successful in 1m14s
Main Release / tag (push) Successful in 55s
CI Shared Jobs / hadolint (push) Successful in 20s
Renovate / renovate (push) Successful in 3m46s
CI Shared Jobs / build-test (push) Successful in 2m40s
Tag Release / ci (push) Successful in 2m44s
Tag Release / build-push (push) Successful in 2m18s
Reviewed-on: #27
2026-10-08 16:54:00 -04:00
OpenCode Cabillot 155178c665 ci: smoke test = compileall (server.py raises on import without CALDAV_DATA_PATH)
CI Shared Jobs / hadolint (pull_request) Successful in 41s
CI Shared Jobs / build-test (pull_request) Successful in 3m38s
PR Checks / ci (pull_request) Successful in 4m40s
2026-10-08 20:40:10 +00:00
OpenCode Cabillot b71e470511 ci: align pipeline on web/mydl pattern
CI Shared Jobs / hadolint (pull_request) Successful in 3m43s
CI Shared Jobs / build-test (pull_request) Failing after 4m10s
PR Checks / ci (pull_request) Failing after 4m20s
Split the monolithic docker-build/release/test workflows into the shared
_ci-common.yaml + trigger-specific files used on web/mydl:

- pr.yaml       -> PR checks (hadolint + build smoke test)
- main.yaml     -> CI + local build + git semver tag (PAT, triggers tag.yaml)
- tag.yaml      -> CI + build/push :vX.Y.Z and :vX.Y.Z-latest (sole Docker push)
- cron.yaml     -> nightly rebuild of :vX.Y.Z-latest
- _ci-common.yaml -> hadolint + build-test with docker smoke and GHA cache

Docker pushes to :latest on every merge are replaced by versioned,
tested tags. The tag job uses SA_TOKEN_ACTION_PUSH_TAGS (a PAT) so the
tag push actually triggers tag.yaml - GITHUB_TOKEN would not.
2026-10-08 20:29:23 +00:00
opencodecabilloteu e2a8cd7e90 Merge pull request 'chore(deps): update docker/setup-buildx-action digest to f87e599' (#26) from renovate/docker-setup-buildx-action-digest into main
Release / tag (push) Failing after 11s
Renovate / renovate (push) Successful in 47s
Docker Build and Push / build (push) Successful in 1m31s
2026-09-18 04:32:21 -04:00
renovate b49502bad9 chore(deps): update docker/setup-buildx-action digest to f87e599
renovate/stability-days Updates have met minimum release age requirement
Test / build (pull_request) Successful in 1m5s
2026-09-18 08:09:56 +00:00
opencodecabilloteu 9177d4a3f5 Merge pull request 'chore(deps): update docker/build-push-action action to v7.4.0' (#25) from renovate/docker-build-push-action-7.x into main
Release / tag (push) Failing after 32s
Docker Build and Push / build (push) Successful in 1m31s
Renovate / renovate (push) Successful in 53s
2026-09-17 05:32:33 -04:00
renovate b18b5ebecf chore(deps): update docker/build-push-action action to v7.4.0
renovate/stability-days Updates have met minimum release age requirement
Test / build (pull_request) Successful in 1m28s
2026-09-17 09:10:57 +00:00
opencodecabilloteu b95244ffbb Merge pull request 'chore(deps): update hadolint/hadolint-action action to v3.5.0' (#23) from renovate/hadolint-hadolint-action-3.x into main
Release / tag (push) Failing after 19s
Renovate / renovate (push) Successful in 1m23s
Docker Build and Push / build (push) Successful in 2m57s
2026-08-26 11:31:37 -04:00
renovate 3347787857 chore(deps): update hadolint/hadolint-action action to v3.5.0
renovate/stability-days Updates have met minimum release age requirement
Test / build (pull_request) Successful in 1m56s
2026-08-26 15:13:49 +00:00
opencodecabilloteu 50c3a7ea24 Merge pull request 'chore(deps): update docker/setup-buildx-action digest to 37fe631' (#22) from renovate/docker-setup-buildx-action-digest into main
Renovate / renovate (push) Successful in 1m34s
Docker Build and Push / build (push) Successful in 2m40s
Release / tag (push) Failing after 16s
2026-08-21 06:41:18 -04:00
renovate 03f423a858 chore(deps): update docker/setup-buildx-action digest to 37fe631
renovate/stability-days Updates have met minimum release age requirement
Test / build (pull_request) Successful in 1m41s
2026-08-21 10:17:49 +00:00
jcabillot 85dcd47168 Merge pull request 'ci: add Renovate workflow' (#21) from add-renovate-workflow into main
Release / tag (push) Failing after 1m26s
Docker Build and Push / build (push) Successful in 9m5s
Renovate / renovate (push) Successful in 4m3s
Reviewed-on: #21
2026-08-03 16:17:43 -04:00
8 changed files with 154 additions and 66 deletions

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
name: CI Shared Jobs
on:
workflow_call:
jobs:
hadolint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: hadolint/hadolint-action@06be81baf89a55ffd0e24b8f04a4185738dd3387 # v3.5.0
with:
dockerfile: pkg/Dockerfile
failure-threshold: warning
build-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- name: Build (cached)
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
with:
context: .
file: pkg/Dockerfile
push: false
load: true
tags: ci-image:${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Smoke test (compile sanity)
run: docker run --rm --name mcp-ics-smoke-$(hostname) ci-image:${{ github.sha }} python -m compileall -q src/
+46
View File
@@ -0,0 +1,46 @@
name: Nightly Rebuild
on:
schedule:
- cron: '0 0 * * *'
jobs:
ci:
uses: ./.gitea/workflows/_ci-common.yaml
secrets: inherit
build-push:
needs: [ci]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
fetch-depth: 0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- name: Login to Docker Hub
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- id: get-latest-tag
name: Get latest tag
run: |
TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
echo "tag=$TAG" >> $GITHUB_OUTPUT
- id: meta
name: Docker metadata
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6
with:
images: jcabillot/mcp-ics
tags: |
type=raw,value=${{ steps.get-latest-tag.outputs.tag }}-latest,enable=${{ steps.get-latest-tag.outputs.tag != '' }}
- name: Build and push
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
with:
context: .
file: pkg/Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
pull: true
cache-from: type=gha
cache-to: type=gha,mode=max
+1 -1
View File
@@ -17,6 +17,6 @@ jobs:
fetch-depth: 0
- name: Run hadolint
uses: hadolint/hadolint-action@2a66e89f53d0771bb131a7fa31f3136336094aa6 # v3.4.0
uses: hadolint/hadolint-action@06be81baf89a55ffd0e24b8f04a4185738dd3387 # v3.5.0
with:
dockerfile: pkg/Dockerfile
+46
View File
@@ -0,0 +1,46 @@
name: Main Release
on:
workflow_dispatch:
push:
branches: [main]
jobs:
ci:
uses: ./.gitea/workflows/_ci-common.yaml
secrets: inherit
build:
needs: [ci]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- name: Build (cached)
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
with:
context: .
file: pkg/Dockerfile
push: false
load: true
tags: jcabillot/mcp-ics:${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max
tag:
needs: [build]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
fetch-depth: 0
- name: Configure git auth
run: |
git remote set-url origin "https://x-access-token:${{ secrets.SA_TOKEN_ACTION_PUSH_TAGS }}@scm.cabillot.eu/perso/mcp-ics.git"
- name: Bump version and push tag
uses: anothrNick/github-tag-action@4ed44965e0db8dab2b466a16da04aec3cc312fd8 # v1.75.0
env:
GITHUB_TOKEN: ${{ secrets.SA_TOKEN_ACTION_PUSH_TAGS }}
DEFAULT_BUMP: patch
RELEASE_BRANCHES: main
WITH_V: true
GIT_API_TAGGING: false
+12
View File
@@ -0,0 +1,12 @@
name: PR Checks
on:
workflow_dispatch:
pull_request:
branches: [main]
concurrency:
group: pr-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
uses: ./.gitea/workflows/_ci-common.yaml
secrets: inherit
-23
View File
@@ -1,23 +0,0 @@
name: Release
on:
push:
branches: [main]
jobs:
tag:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
fetch-depth: 0
- name: Bump version and push tag
uses: anothrNick/github-tag-action@4ed44965e0db8dab2b466a16da04aec3cc312fd8 # v1.75.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BUMP: patch
RELEASE_BRANCHES: main
WITH_V: true
GIT_API_TAGGING: false
@@ -1,40 +1,34 @@
name: Docker Build and Push
name: Tag Release
on:
push:
branches: [main]
schedule:
- cron: '0 0 * * *'
tags: ['*']
jobs:
build:
ci:
uses: ./.gitea/workflows/_ci-common.yaml
secrets: inherit
build-push:
needs: [ci]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
fetch-depth: 0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- name: Login to Docker Hub
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker metadata
id: meta
- id: meta
name: Docker metadata
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6
with:
images: jcabillot/mcp-ics
tags: |
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
type=sha
type=ref,event=tag
type=ref,event=tag,suffix=-latest
- name: Build and push
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
with:
context: .
file: pkg/Dockerfile
@@ -42,3 +36,5 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
pull: true
cache-from: type=gha
cache-to: type=gha,mode=max
-23
View File
@@ -1,23 +0,0 @@
name: Test
on:
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4
- name: Build
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
with:
context: .
file: pkg/Dockerfile
push: false
pull: true