24 Commits

Author SHA1 Message Date
jcabillot 529ce4bb9d Merge pull request 'chore(deps): update docker/metadata-action digest to dc80280' (#14) from renovate/docker-metadata-action-digest into master
Main Release / hadolint (push) Successful in 13s
Main Release / test (push) Successful in 20s
Main Release / build (push) Successful in 19s
Main Release / tag (push) Failing after 4s
Reviewed-on: #14
2026-07-02 09:28:15 -04:00
jcabillot 1b48915243 Merge pull request 'chore(deps): update docker/login-action digest to c99871d' (#13) from renovate/docker-login-action-digest into master
Main Release / hadolint (push) Successful in 11s
Main Release / test (push) Successful in 21s
Main Release / build (push) Successful in 20s
Main Release / tag (push) Failing after 3s
Reviewed-on: #13
2026-07-02 09:28:11 -04:00
renovate 06d940536c 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 10s
PR Checks / build-test (pull_request) Successful in 30s
2026-07-02 12:44:58 +00:00
renovate e9c4aee5fb 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 10s
PR Checks / build-test (pull_request) Successful in 40s
2026-07-02 12:44:49 +00:00
opencodecabilloteu 12026977bd chore(deps): update docker/setup-buildx-action digest to bb05f3f
Main Release / hadolint (push) Successful in 11s
Main Release / test (push) Successful in 38s
Main Release / build (push) Successful in 28s
Main Release / tag (push) Failing after 4s
chore(deps): update docker/setup-buildx-action digest to bb05f3f
2026-07-02 08:36:49 -04:00
renovate 052ef85801 chore(deps): update docker/setup-buildx-action digest to bb05f3f
PR Checks / hadolint (pull_request) Successful in 6s
PR Checks / build-test (pull_request) Successful in 16s
2026-07-02 09:56:03 +00:00
jcabillot b68f93af3b Merge pull request 'chore(deps): update docker/build-push-action action to v7.3.0' (#12) from renovate/docker-build-push-action-7.x into master
Main Release / hadolint (push) Successful in 8s
Main Release / test (push) Successful in 16s
Main Release / build (push) Successful in 30s
Main Release / tag (push) Failing after 3s
Reviewed-on: #12
2026-07-01 16:23:24 -04:00
renovate f3c88694ff chore(deps): update docker/build-push-action action to v7.3.0
PR Checks / hadolint (pull_request) Successful in 10s
PR Checks / build-test (pull_request) Successful in 17s
2026-07-01 14:52:59 +00:00
jcabillot 9221f89495 Merge pull request 'chore(deps): update actions/checkout action to v7' (#11) from renovate/actions-checkout-7.x into master
Main Release / hadolint (push) Successful in 8s
Main Release / test (push) Successful in 16s
Main Release / build (push) Successful in 13s
Main Release / tag (push) Failing after 4s
Reviewed-on: #11
2026-06-18 16:22:46 -04:00
renovate d7eff1f5e9 chore(deps): update actions/checkout action to v7
PR Checks / hadolint (pull_request) Successful in 7s
PR Checks / build-test (pull_request) Successful in 16s
2026-06-18 15:28:08 +00:00
jcabillot 511adab890 Merge pull request 'fix: convert workflows from artifact pattern to htpasswd 4-workflow standard' (#10) from fix/workflow-standard into master
Main Release / hadolint (push) Successful in 8s
Main Release / test (push) Successful in 12s
Main Release / build (push) Successful in 17s
Main Release / tag (push) Failing after 4s
Reviewed-on: #10
2026-06-13 18:01:01 -04:00
cloudix_mcp_server fe8235d32b fix pr.yaml - write raw content
PR Checks / hadolint (pull_request) Successful in 11s
PR Checks / build-test (pull_request) Successful in 17s
2026-06-13 17:50:49 -04:00
cloudix_mcp_server 5e1827bbc6 fix main.yaml - write raw content, fix WITH_V typo 2026-06-13 17:50:40 -04:00
cloudix_mcp_server 88afaa1a9e Convert pr.yaml to htpasswd pattern: build directly, no artifacts 2026-06-13 17:48:35 -04:00
cloudix_mcp_server 8b583cc276 Convert main.yaml to htpasswd pattern: build directly, no artifacts 2026-06-13 17:48:22 -04:00
jcabillot 7358031c06 Merge pull request 'feat(ci): refactor pipelines — hadolint, PR checks, tag releases, nightly rebuild' (#9) from fix/refactor-ci-pipelines into master
Main / lint (push) Successful in 6s
Main / build (push) Successful in 22s
Main / push (push) Failing after 18s
Main / test (push) Has been skipped
Reviewed-on: #9
2026-06-12 16:17:30 -04:00
cloudix_mcp_server d67e6972b1 feat(ci): remove old monolithic docker-build.yaml
PR Check / lint (pull_request) Successful in 7s
PR Check / build (pull_request) Successful in 19s
PR Check / test (pull_request) Successful in 10s
2026-06-12 16:08:27 -04:00
cloudix_mcp_server feddfee701 feat(ci): add cron.yaml — nightly rebuild with latest+sha tags 2026-06-12 16:08:22 -04:00
cloudix_mcp_server 285d778ceb feat(ci): add tag.yaml — hadolint + build-push on version tags 2026-06-12 16:08:19 -04:00
cloudix_mcp_server 4e4c866986 feat(ci): add main.yaml — hadolint + build-push + test + tag 2026-06-12 16:08:16 -04:00
cloudix_mcp_server d5fadd7705 feat(ci): add pr.yaml — hadolint with continue-on-error + build + test 2026-06-12 16:08:11 -04:00
jcabillot 7fc620df21 Merge pull request 'ci: add automatic semver tagging on merge to master' (#8) from feat/semver-tag-action into master
Docker Build and Push / lint (push) Successful in 8s
Docker Build and Push / build (push) Successful in 50s
Docker Build and Push / test (push) Successful in 13s
Docker Build and Push / push (push) Failing after 23s
Reviewed-on: #8
2026-06-12 13:53:08 -04:00
cloudix_mcp_server 3f18daeac9 fix: correct hadolint SHA (was broken with space)
Docker Build and Push / lint (pull_request) Successful in 8s
Docker Build and Push / build (pull_request) Successful in 28s
Docker Build and Push / test (pull_request) Successful in 13s
Docker Build and Push / push (pull_request) Has been skipped
2026-06-12 13:49:03 -04:00
cloudix_mcp_server b18fb1387e ci: add automatic semver tagging on merge to master
Docker Build and Push / lint (pull_request) Failing after 3s
Docker Build and Push / build (pull_request) Has been skipped
Docker Build and Push / test (pull_request) Has been skipped
Docker Build and Push / push (pull_request) Has been skipped
2026-06-12 13:18:52 -04:00
5 changed files with 161 additions and 71 deletions
+44
View File
@@ -0,0 +1,44 @@
name: Nightly Rebuild
on:
schedule:
- cron: '0 0 * * *'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- name: Hadolint
uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
continue-on-error: true
build:
runs-on: ubuntu-latest
needs: lint
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- name: Login to Docker Hub
uses: docker/login-action@c99871dec2022cc055c062a10cc1a1310835ceb4 # v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6
with:
images: jcabillot/mysql-client
tags: |
type=raw,value=latest,enable=true
type=sha,format=long
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4
- name: Build and push
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
-71
View File
@@ -1,71 +0,0 @@
name: Docker Build and Push
on:
pull_request:
push:
branches: [master]
schedule:
- cron: '30 3 * * 3'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
- name: Hadolint
uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf
build:
runs-on: ubuntu-latest
needs: lint
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
- name: Build image
run: docker build -t ci-image:${{ github.sha }} .
- name: Save image
run: docker save ci-image:${{ github.sha }} > image.tar
- name: Upload artifact
uses: ChristopherHX/gitea-upload-artifact@62ac910c5d3dfa85c7cb2df15afe2e342b2407c2
with:
name: docker-image
path: image.tar
test:
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
- name: Download artifact
uses: ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7
with:
name: docker-image
- name: Load image
run: docker load < image.tar
- name: Run tests
run: bash tests/test.sh ci-image:${{ github.sha }}
push:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
needs: test
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
- name: Download artifact
uses: ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7
with:
name: docker-image
- name: Load image
run: docker load < image.tar
- name: Login to Docker Hub
uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Tag and push
run: |
docker tag ci-image:${{ github.sha }} jcabillot/mysql-client:latest
docker push jcabillot/mysql-client:latest
+49
View File
@@ -0,0 +1,49 @@
name: Main Release
on:
push:
branches: [master]
jobs:
hadolint:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: Dockerfile
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4
- run: docker build -t ci-image:${{ github.sha }} .
- run: bash tests/test.sh ci-image:${{ github.sha }}
build:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4
- run: docker build -t jcabillot/mysql-client:${{ github.sha }} .
tag:
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
with:
fetch-depth: 0
- name: Configure git auth
run: |
git remote set-url origin "https://x-access-token:${{ secrets.GITHUB_TOKEN }}@scm.cabillot.eu/perso/mysql-client.git"
- uses: anothrNick/github-tag-action@4ed44965e0db2c5b5e8b8c7c7c8c9c9c9c9c9c9c9 # v1.75.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BUMP: patch
RELEASE_BRANCHES: master
WITH_V: true
GIT_API_TAGGING: false
+22
View File
@@ -0,0 +1,22 @@
name: PR Checks
on:
pull_request:
branches: [master]
jobs:
hadolint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: Dockerfile
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4
- run: docker build -t ci-image:${{ github.sha }} .
- run: bash tests/test.sh ci-image:${{ github.sha }}
+46
View File
@@ -0,0 +1,46 @@
name: Tag
on:
push:
tags:
- 'v*'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- name: Hadolint
uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
continue-on-error: true
build:
runs-on: ubuntu-latest
needs: lint
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- name: Login to Docker Hub
uses: docker/login-action@c99871dec2022cc055c062a10cc1a1310835ceb4 # v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6
with:
images: jcabillot/mysql-client
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4
- name: Build and push
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}