31 Commits

Author SHA1 Message Date
jcabillot 3d3186430d Merge pull request 'fix: convert from artifact pattern to standard htpasswd 4-workflow' (#15) from fix/workflow-standard into master
Main Release / hadolint (push) Successful in 6s
Main Release / test (push) Successful in 13s
Main Release / build (push) Successful in 14s
Main Release / tag (push) Successful in 10s
Tag Release / hadolint (push) Successful in 6s
Tag Release / test (push) Successful in 12s
Tag Release / build-push (push) Successful in 53s
Reviewed-on: #15
2026-06-13 18:54:36 -04:00
cloudix_mcp_server c93b4efac1 fix: rewrite pr.yaml - correct SHAs, standard structure
PR Checks / hadolint (pull_request) Successful in 7s
PR Checks / build-test (pull_request) Successful in 12s
2026-06-13 18:14:16 -04:00
cloudix_mcp_server d7154d5786 fix: rewrite tag.yaml - correct SHAs, standard structure
PR / lint (pull_request) Failing after 3s
PR / test (pull_request) Has been skipped
2026-06-13 18:14:13 -04:00
cloudix_mcp_server 4a7155abdb fix: rewrite cron.yaml - correct SHAs, remove :latest tag
PR / lint (pull_request) Failing after 2s
PR / test (pull_request) Has been skipped
2026-06-13 18:14:10 -04:00
cloudix_mcp_server 0ae99c896d fix: rewrite main.yaml - correct SHAs, no Docker push on master
PR / lint (pull_request) Failing after 3s
PR / test (pull_request) Has been skipped
2026-06-13 18:13:49 -04:00
Sagent 02a3583d7f fix: convert all workflows to standard htpasswd pattern (no artifacts)
PR / lint (pull_request) Failing after 3s
PR / test (pull_request) Has been skipped
- Removed artifact upload/download steps from all workflows
- Merged build+test into single 'test' job, eliminating artifact dependency
- Removed ChristopherHX/gitea-upload-artifact and download-artifact actions
- Builds image directly with docker build and runs tests in same job
- Push job rebuilds independently with docker/build-push-action
- pr.yaml: lint → test only (no push/version bump)
- tag.yaml: lint → test → push with semver tags
- cron.yaml: keeps original '0 0 * * *' schedule
- All pinned SHAs preserved
2026-06-13 21:43:20 +00:00
jcabillot b9d50bfb53 Merge pull request 'Update docker/metadata-action action to v6' (#13) from renovate/docker-metadata-action-6.x into master
Main / lint (push) Successful in 7s
Main / build (push) Successful in 35s
Main / test (push) Successful in 14s
Main / push (push) Failing after 49s
Reviewed-on: #13
2026-06-12 18:29:21 -04:00
jcabillot 2a8b478cd8 Merge pull request 'Update docker/setup-buildx-action action to v4' (#14) from renovate/docker-setup-buildx-action-4.x into master
Main / lint (push) Successful in 9s
Main / build (push) Successful in 34s
Main / test (push) Successful in 18s
Main / push (push) Failing after 1m18s
Reviewed-on: #14
2026-06-12 18:11:36 -04:00
renovate 6046452f96 Update docker/setup-buildx-action action to v4
PR / lint (pull_request) Successful in 5s
PR / build (pull_request) Successful in 33s
PR / test (pull_request) Successful in 14s
2026-06-12 22:03:50 +00:00
renovate a836e03d2c Update docker/metadata-action action to v6
PR / lint (pull_request) Successful in 7s
PR / build (pull_request) Successful in 33s
PR / test (pull_request) Successful in 11s
2026-06-12 22:03:37 +00:00
jcabillot ea50d32b83 Merge pull request 'Update docker/metadata-action digest to c299e40' (#10) from renovate/docker-metadata-action-digest into master
Main / lint (push) Successful in 6s
Main / build (push) Successful in 31s
Main / test (push) Successful in 13s
Main / push (push) Failing after 1m25s
Reviewed-on: #10
2026-06-12 17:59:11 -04:00
jcabillot 9785c9b062 Merge pull request 'Update docker/build-push-action action to v7' (#12) from renovate/docker-build-push-action-7.x into master
Main / lint (push) Successful in 6s
Main / build (push) Successful in 31s
Main / test (push) Successful in 11s
Main / push (push) Failing after 55s
Reviewed-on: #12
2026-06-12 17:58:12 -04:00
renovate 2746d86661 Update docker/build-push-action action to v7
PR / lint (pull_request) Successful in 6s
PR / build (pull_request) Successful in 50s
PR / test (pull_request) Successful in 12s
2026-06-12 21:02:57 +00:00
renovate 415e9bda72 Update docker/metadata-action digest to c299e40
PR / lint (pull_request) Successful in 6s
PR / build (pull_request) Successful in 49s
PR / test (pull_request) Successful in 11s
2026-06-12 20:50:15 +00:00
jcabillot 57cdcdc4fe Merge pull request 'Refactor CI pipelines into separate workflows' (#8) from fix/refactor-ci-pipelines into master
Main / lint (push) Successful in 9s
Main / build (push) Successful in 43s
Main / test (push) Successful in 12s
Main / push (push) Failing after 59s
Reviewed-on: #8
2026-06-12 16:44:25 -04:00
cloudix_mcp_server 72a728aea7 Remove old monolithic docker-build workflow
PR / lint (pull_request) Successful in 9s
PR / build (pull_request) Successful in 35s
PR / test (pull_request) Successful in 12s
2026-06-12 16:29:53 -04:00
cloudix_mcp_server 0f4215b5a7 Add Cron workflow 2026-06-12 16:29:39 -04:00
cloudix_mcp_server 6ac18d354b Add Tag workflow 2026-06-12 16:29:36 -04:00
cloudix_mcp_server ed4159b4dd Add Main branch workflow 2026-06-12 16:29:32 -04:00
cloudix_mcp_server f98c929b76 Add PR workflow 2026-06-12 16:29:27 -04:00
jcabillot 896cb9be3c Merge pull request 'ci: add automatic semver tagging on merge to master' (#7) from feat/semver-tag-action into master
Docker Build and Push / lint (push) Successful in 11s
Docker Build and Push / build (push) Successful in 46s
Docker Build and Push / test (push) Successful in 12s
Docker Build and Push / push (push) Failing after 29s
Reviewed-on: #7
2026-06-12 13:44:08 -04:00
cloudix_mcp_server 0817d16cbb ci: add automatic semver tagging on merge to master
Docker Build and Push / lint (pull_request) Successful in 5s
Docker Build and Push / build (pull_request) Successful in 45s
Docker Build and Push / test (pull_request) Successful in 13s
Docker Build and Push / push (pull_request) Has been skipped
2026-06-12 13:17:47 -04:00
jcabillot 3ecc3e305e Merge pull request 'Update ubuntu Docker tag to v26' (#4) from renovate/ubuntu-26.x into master
Docker Build and Push / lint (push) Successful in 6s
Docker Build and Push / build (push) Successful in 28s
Docker Build and Push / test (push) Successful in 11s
Docker Build and Push / push (push) Successful in 17s
Reviewed-on: #4
2026-06-11 07:49:42 -04:00
cloudix_mcp_server f5437d0a44 fix: add branches: [master] filter on push trigger
Docker Build and Push / lint (push) Failing after 11m36s
Docker Build and Push / build (push) Has been skipped
Docker Build and Push / test (push) Has been skipped
Docker Build and Push / push (push) Has been skipped
2026-06-09 10:48:32 -04:00
renovate bc6820790e Update ubuntu Docker tag to v26
Docker Build and Push / lint (push) Successful in 6s
Docker Build and Push / lint (pull_request) Successful in 5s
Docker Build and Push / build (push) Successful in 48s
Docker Build and Push / build (pull_request) Successful in 49s
Docker Build and Push / test (pull_request) Successful in 14s
Docker Build and Push / test (push) Successful in 15s
Docker Build and Push / push (pull_request) Has been skipped
Docker Build and Push / push (push) Successful in 18s
2026-06-09 00:47:21 +00:00
jcabillot 45ffde4a1d Merge pull request 'feat: migrate to 4-job CI pipeline v2' (#3) from feat/gitea-actions-v2 into master
Docker Build and Push / lint (push) Successful in 6s
Docker Build and Push / build (push) Successful in 40s
Docker Build and Push / test (push) Successful in 11s
Docker Build and Push / push (push) Successful in 24s
Reviewed-on: #3
2026-06-08 20:35:01 -04:00
cloudix_mcp_server f3732192ba fix: add hadolint ignores DL3008,SC3009
Docker Build and Push / lint (push) Successful in 8s
Docker Build and Push / lint (pull_request) Successful in 5s
Docker Build and Push / build (push) Successful in 1m3s
Docker Build and Push / build (pull_request) Successful in 1m3s
Docker Build and Push / test (push) Successful in 10s
Docker Build and Push / test (pull_request) Successful in 15s
Docker Build and Push / push (pull_request) Has been skipped
Docker Build and Push / push (push) Successful in 21s
2026-06-08 20:26:42 -04:00
cloudix_mcp_server 9ce8dfec61 feat: migrate to 4-job CI pipeline (lint+build+test+push)
Docker Build and Push / lint (push) Failing after 5s
Docker Build and Push / build (push) Has been skipped
Docker Build and Push / test (push) Has been skipped
Docker Build and Push / push (push) Has been skipped
Docker Build and Push / lint (pull_request) Failing after 5s
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-08 20:23:33 -04:00
cloudix_mcp_server ed8fb1df9c feat: add test.sh for CI 2026-06-08 20:21:56 -04:00
cloudix_mcp_server b7c6ad7c58 fix: remove quoted strings (hadolint) 2026-06-08 20:21:35 -04:00
jcabillot 2286f57e8b feat: add Gitea Actions workflow
Docker Build and Push / build (push) Successful in 55s
feat: add Gitea Actions workflow
2026-05-29 16:21:39 -04:00
7 changed files with 177 additions and 56 deletions
+49
View File
@@ -0,0 +1,49 @@
name: Nightly Rebuild
on:
schedule:
- cron: '0 0 * * *'
jobs:
hadolint:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: Dockerfile
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- run: docker build -t ci-image:${{ github.sha }} .
- run: bash tests/test.sh ci-image:${{ github.sha }}
build-push:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
fetch-depth: 0
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- id: get-latest-tag
run: |
TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
echo "tag=$TAG" >> $GITHUB_OUTPUT
- id: meta
uses: docker/metadata-action@80c7e94dd9b9319bd5eb7a0e0fe9291e23a2a2e9 # v6
with:
images: jcabillot/siege
tags: |
type=raw,value=${{ steps.get-latest-tag.outputs.tag }}-latest,enable=${{ steps.get-latest-tag.outputs.tag != '' }}
- uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
pull: true
-46
View File
@@ -1,46 +0,0 @@
name: Docker Build and Push
on:
pull_request:
branches: [master]
push:
branches: [master]
schedule:
- cron: '0 0 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
- name: Login to Docker Hub
if: github.event_name != 'pull_request'
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker metadata
id: meta
uses: docker/metadata-action@v6
with:
images: jcabillot/siege
tags: |
#type=ref,event=branch
#type=ref,event=pr
#type=sha
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/master' }}
- name: Build and push
uses: docker/build-push-action@v7
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
pull: true
+44
View File
@@ -0,0 +1,44 @@
name: Main Release
on:
push:
branches: [master]
jobs:
hadolint:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: Dockerfile
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # 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@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- run: docker build -t jcabillot/siege:${{ github.sha }} .
tag:
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
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/siege.git"
- uses: anothrNick/github-tag-action@4ed44965e0db8dab2b466a16da04aec3cc312fd8 # v1.75.0
env:
GITHUB_TOKEN: ${{ secrets.SA_TOKEN_ACTION_PUSH_TAGS }}
DEFAULT_BUMP: patch
RELEASE_BRANCHES: master
WITH_V: true
GIT_API_TAGGING: false
+20
View File
@@ -0,0 +1,20 @@
name: PR Checks
on:
pull_request:
branches: [master]
jobs:
hadolint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
continue-on-error: true
with:
dockerfile: Dockerfile
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- run: docker build -t ci-image:${{ github.sha }} .
- run: bash tests/test.sh ci-image:${{ github.sha }}
+44
View File
@@ -0,0 +1,44 @@
name: Tag Release
on:
push:
tags: ['*']
jobs:
hadolint:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: Dockerfile
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- run: docker build -t ci-image:${{ github.sha }} .
- run: bash tests/test.sh ci-image:${{ github.sha }}
build-push:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- id: meta
uses: docker/metadata-action@80c7e94dd9b9319bd5eb7a0e0fe9291e23a2a2e9 # v6
with:
images: jcabillot/siege
tags: |
type=ref,event=tag
type=ref,event=tag,suffix=-latest
- uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
pull: true
+12 -10
View File
@@ -1,18 +1,20 @@
FROM "ubuntu:18.04" FROM ubuntu:26.04
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>" LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
ENV DEBIAN_FRONTEND="noninteractive" ENV DEBIAN_FRONTEND=noninteractive
# hadolint ignore=DL3008,SC3009
RUN apt-get -qq update && \ RUN apt-get -qq update && \
apt-get --no-install-recommends -qqy install siege && \ apt-get --no-install-recommends -qqy install siege && \
apt-get -qqy autoremove --purge && \ apt-get -qqy autoremove --purge && \
apt-get -qq clean && \ apt-get -qq clean && \
rm -rf "/usr/share/doc/*" \ rm -rf /usr/share/doc/* \
"/var/cache/*" \ /var/cache/* \
"/var/lib/apt/lists/*" \ /var/lib/apt/lists/* \
"/usr/src/*" \ /usr/src/* \
"/var/log/"{apt/*,dpkg.log} \ /var/log/apt \
"/tmp/*" /var/log/dpkg.log \
/tmp/*
ENTRYPOINT [ "/usr/bin/siege" ] ENTRYPOINT [ "/usr/bin/siege" ]
CMD [ "--help" ] CMD [ "--help" ]
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
set -euo pipefail
IMAGE="${1:-}"
if [ -z "$IMAGE" ]; then
echo "Usage: $0 <image>"
exit 1
fi
docker run --rm "$IMAGE" --version