Compare commits

..

39 Commits

Author SHA1 Message Date
renovate d3e8ae956e chore(deps): update actions/checkout action to v7
PR Checks / hadolint (pull_request) Successful in 6s
2026-06-18 14:29:47 +00:00
jcabillot a8f4863328 Merge pull request 'Convert to standard htpasswd 4-workflow pattern (no artifacts)' (#8) from fix/workflow-standard into master
Main Release / hadolint (push) Successful in 9s
Tag Release / tag (push) Failing after 8s
Main Release / build-push (push) Successful in 52s
Reviewed-on: #8
2026-06-13 19:49:02 -04:00
cloudix_mcp_server 2352d6eece fix: correct SHA in tag.yaml
PR Checks / hadolint (pull_request) Successful in 6s
2026-06-13 19:21:00 -04:00
cloudix_mcp_server 8ffe2a6e39 fix: correct SHAs in pr.yaml (no test.sh)
PR Checks / hadolint (pull_request) Failing after 3s
PR Checks / build-test (pull_request) Successful in 19s
2026-06-13 19:20:55 -04:00
cloudix_mcp_server 4fc99af800 fix: correct SHAs in main.yaml (no test.sh)
PR Checks / hadolint (pull_request) Failing after 9s
PR Checks / build-test (pull_request) Successful in 20s
2026-06-13 19:20:49 -04:00
cloudix_mcp_server 5da944e08c fix: correct SHAs in cron.yaml (no test.sh) 2026-06-13 19:20:46 -04:00
cloudix_mcp_server c66d6d1346 Convert tag.yaml to standard htpasswd pattern (no artifacts)
PR Checks / hadolint (pull_request) Failing after 3s
PR Checks / build-test (pull_request) Successful in 17s
2026-06-13 17:57:56 -04:00
cloudix_mcp_server 0a6bde66e7 Convert pr.yaml to standard htpasswd pattern (no artifacts) 2026-06-13 17:57:49 -04:00
cloudix_mcp_server 1cf9d0363d Convert main.yaml to standard htpasswd pattern (no artifacts) 2026-06-13 17:57:44 -04:00
cloudix_mcp_server 146b702254 Convert cron.yaml to standard htpasswd pattern (no artifacts) 2026-06-13 17:57:29 -04:00
jcabillot 7935988731 Merge pull request 'ci: refactor CI pipelines into separate trigger-based workflows' (#7) from fix/refactor-ci-pipelines into master
Main CI / lint (push) Failing after 4s
Tag Release / tag (push) Failing after 3s
Main CI / build (push) Successful in 1m3s
Main CI / test (push) Has been skipped
Main CI / push (push) Has been skipped
Reviewed-on: #7
2026-06-12 20:23:25 -04:00
cloudix_mcp_server e755a5d773 fix(ci): rewrite pr.yaml with parallel pattern
PR Checks / hadolint (pull_request) Successful in 5s
PR Checks / build-test (pull_request) Successful in 14s
2026-06-12 19:38:21 -04:00
cloudix_mcp_server 2a241b25bc ci: split workflows - add tag.yaml for version tagging
PR Checks / lint (pull_request) Failing after 3s
PR Checks / build (pull_request) Successful in 53s
PR Checks / test (pull_request) Has been skipped
2026-06-12 17:04:59 -04:00
cloudix_mcp_server 92bd4ac4f9 ci: split workflows - add pr.yaml for PR checks 2026-06-12 17:04:51 -04:00
cloudix_mcp_server 801b0525d2 ci: split workflows - add cron.yaml for nightly rebuild 2026-06-12 17:04:47 -04:00
cloudix_mcp_server d78afcf106 ci: split workflows - add main.yaml for push-on-master 2026-06-12 17:04:45 -04:00
cloudix_mcp_server 84fb1468cc fix: remove incorrectly encoded tag.yaml 2026-06-12 17:04:24 -04:00
cloudix_mcp_server ba308ab09e fix: remove incorrectly encoded pr.yaml 2026-06-12 17:04:18 -04:00
cloudix_mcp_server 3238927eea fix: remove incorrectly encoded cron.yaml 2026-06-12 17:04:13 -04:00
cloudix_mcp_server e88640b7fd fix: remove incorrectly encoded main.yaml 2026-06-12 17:03:53 -04:00
cloudix_mcp_server 1d2f71b54d ci: split workflows - add tag.yaml for version tagging 2026-06-12 17:00:09 -04:00
cloudix_mcp_server 33b077e248 ci: split workflows - add pr.yaml for PR checks 2026-06-12 17:00:04 -04:00
cloudix_mcp_server a9bd5bb34d ci: split workflows - add cron.yaml for nightly rebuild 2026-06-12 17:00:00 -04:00
cloudix_mcp_server 032716ca1f ci: split workflows - add main.yaml for push-on-master 2026-06-12 16:59:53 -04:00
cloudix_mcp_server 38c9297f3b ci: refactor CI pipelines into separate trigger-based workflows 2026-06-12 16:59:10 -04:00
opencodecabilloteu 3bb1803ffa Merge pull request 'Migrate Renovate config' (#6) from renovate/migrate-config into master
Docker Build and Push / lint (push) Successful in 6s
Docker Build and Push / build (push) Successful in 1m1s
Docker Build and Push / test (push) Successful in 27s
Docker Build and Push / push (push) Successful in 44s
Reviewed-on: #6
2026-06-10 12:46:12 -04:00
renovate c89a1ff2e7 Migrate config renovate.json
Docker Build and Push / build (pull_request) Successful in 58s
Docker Build and Push / lint (pull_request) Failing after 13m3s
Docker Build and Push / test (pull_request) Has been skipped
Docker Build and Push / push (pull_request) Has been skipped
2026-06-09 17:54:31 +00:00
jcabillot ea0a0e4337 Merge pull request 'chore: improve renovate dependency detection' (#5) from chore/renovate into master
Docker Build and Push / lint (push) Successful in 7s
Docker Build and Push / build (push) Successful in 1m5s
Docker Build and Push / test (push) Successful in 25s
Docker Build and Push / push (push) Successful in 38s
Reviewed-on: #5
2026-06-09 13:46:59 -04:00
Sagent 902a797f96 chore: remove redundant configs now handled globally
Docker Build and Push / lint (pull_request) Successful in 6s
Docker Build and Push / build (pull_request) Successful in 1m11s
Docker Build and Push / test (pull_request) Successful in 22s
Docker Build and Push / push (pull_request) Has been skipped
2026-06-09 13:40:55 +00:00
Sagent 2c957b0c57 chore: improve renovate dependency detection
Docker Build and Push / lint (pull_request) Successful in 6s
Docker Build and Push / build (pull_request) Failing after 2m21s
Docker Build and Push / test (pull_request) Has been skipped
Docker Build and Push / push (pull_request) Has been skipped
- Disable gitlabci manager (legacy CI, migrated to Gitea Actions)
- Add custom regexManager to detect jcabillot/phpapache base image version from ARG VERSION
2026-06-09 02:20:05 +00:00
jcabillot 930f5a288a Merge pull request 'Update hadolint/hadolint-action action to v3.3.0' (#4) from renovate/hadolint-hadolint-action-3.x into master
Docker Build and Push / lint (push) Successful in 6s
Docker Build and Push / build (push) Successful in 1m39s
Docker Build and Push / test (push) Successful in 39s
Docker Build and Push / push (push) Successful in 32s
Reviewed-on: #4
2026-06-08 18:16:35 -04:00
renovate 25d5bc5ca9 Update hadolint/hadolint-action action to v3.3.0
Docker Build and Push / lint (pull_request) Successful in 6s
Docker Build and Push / build (pull_request) Successful in 1m6s
Docker Build and Push / test (pull_request) Successful in 21s
Docker Build and Push / push (pull_request) Has been skipped
2026-06-08 21:30:49 +00:00
jcabillot c6de0b6016 Merge pull request 'feat: add lint, build, test, push pipeline with SHA-pinned actions' (#3) from feat/gitea-actions-v2 into master
Docker Build and Push / lint (push) Successful in 7s
Docker Build and Push / build (push) Successful in 58s
Docker Build and Push / test (push) Successful in 48s
Docker Build and Push / push (push) Successful in 31s
Reviewed-on: #3
2026-06-08 17:18:47 -04:00
Sagent dc774d6cb7 fix: use grep on file directly instead of echo piping for body test
Docker Build and Push / lint (pull_request) Successful in 5s
Docker Build and Push / build (pull_request) Successful in 55s
Docker Build and Push / test (pull_request) Successful in 24s
Docker Build and Push / push (pull_request) Has been skipped
2026-06-08 21:10:45 +00:00
Sagent 2c28c53bcc fix: avoid pipefail/SIGPIPE by using temp files for HTTP tests
Docker Build and Push / lint (pull_request) Successful in 11s
Docker Build and Push / build (pull_request) Successful in 1m2s
Docker Build and Push / test (pull_request) Failing after 44s
Docker Build and Push / push (pull_request) Has been skipped
2026-06-08 20:45:01 +00:00
Sagent a552e414cc fix: chown /var/www/html to www-data so FileCache can write
Docker Build and Push / lint (pull_request) Successful in 6s
Docker Build and Push / build (pull_request) Successful in 1m39s
Docker Build and Push / test (pull_request) Failing after 41s
Docker Build and Push / push (pull_request) Has been skipped
2026-06-08 19:53:12 +00:00
Sagent c148d9480d fix: add SHELL pipefail for hadolint DL4006
Docker Build and Push / lint (pull_request) Successful in 15s
Docker Build and Push / build (pull_request) Successful in 1m28s
Docker Build and Push / test (pull_request) Failing after 1m57s
Docker Build and Push / push (pull_request) Has been skipped
2026-06-08 19:17:29 +00:00
Sagent 99d3e4a781 feat: add lint, build, test, push pipeline with SHA-pinned actions
Docker Build and Push / lint (pull_request) Failing after 7s
Docker Build and Push / build (pull_request) Successful in 2m6s
Docker Build and Push / test (pull_request) Has been skipped
Docker Build and Push / push (pull_request) Has been skipped
- Split single build job into 4 jobs: lint, build, test, push
- SHA-pin all actions for supply chain security
- Use ChristopherHX artifact actions (Gitea-compatible)
- Add tests/test.sh with Docker bridge gateway networking
- Test GET / returns RSS-Bridge HTML
2026-06-08 19:11:38 +00:00
jcabillot 9464333ec3 feat: add Gitea Actions workflow
Docker Build and Push / build (push) Successful in 54s
feat: add Gitea Actions workflow
2026-05-29 16:23:16 -04:00
8 changed files with 218 additions and 47 deletions
+38
View File
@@ -0,0 +1,38 @@
name: Nightly Rebuild
on:
schedule:
- cron: '0 0 * * *'
jobs:
hadolint:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: Dockerfile
build-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- 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/rssbridge
tags: |
type=raw,value=nightly
type=sha
- uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
-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/rssbridge
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
+38
View File
@@ -0,0 +1,38 @@
name: Main Release
on:
push:
branches: [master]
jobs:
hadolint:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: Dockerfile
build-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- 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/rssbridge
tags: |
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/master' }}
type=sha
- uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
+15
View File
@@ -0,0 +1,15 @@
name: PR Checks
on:
pull_request:
branches: [master]
jobs:
hadolint:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: Dockerfile
+21
View File
@@ -0,0 +1,21 @@
name: Tag Release
on:
push:
branches: [master]
jobs:
tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
- name: Bump version and push tag
uses: anothrNick/github-tag-action@4ed44965e0db8dab2b466a16da04aec3cc312fd8 # v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BUMP: patch
RELEASE_BRANCHES: master
WITH_V: true
GIT_API_TAGGING: false
+4 -1
View File
@@ -2,6 +2,9 @@ ARG VERSION="latest"
FROM "jcabillot/phpapache:${VERSION}"
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN curl -s -L "https://github.com/RSS-Bridge/rss-bridge/tarball/master/" | tar -zx --strip=1
RUN echo "*" > "/var/www/html/whitelist.txt"
RUN echo "*" > "/var/www/html/whitelist.txt" && \
mkdir -p /var/www/html/cache && \
chown -R www-data:www-data /var/www/html
+17
View File
@@ -0,0 +1,17 @@
{
"$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"
}
]
}
+85
View File
@@ -0,0 +1,85 @@
#!/usr/bin/env bash
set -euo pipefail
IMAGE="${1:?Usage: test.sh <image>}"
CONTAINER_NAME="test-$(echo "$IMAGE" | tr ':/' '-')-$$"
PASSED=0
FAILED=0
TOTAL=0
cleanup() {
docker rm -f "$CONTAINER_NAME" >/dev/null 2>&1 || true
}
trap cleanup EXIT
assert() {
local name="$1" expected="$2" actual="$3"
TOTAL=$((TOTAL + 1))
if [ "$expected" = "$actual" ]; then
echo " PASS: $name"
PASSED=$((PASSED + 1))
else
echo " FAIL: $name (expected: '$expected', got: '$actual')"
FAILED=$((FAILED + 1))
fi
}
assert_match() {
local name="$1" pattern="$2" actual="$3"
TOTAL=$((TOTAL + 1))
if echo "$actual" | grep -qE "$pattern"; then
echo " PASS: $name"
PASSED=$((PASSED + 1))
else
echo " FAIL: $name (pattern: '$pattern', got: '$actual')"
FAILED=$((FAILED + 1))
fi
}
echo "Running container: $IMAGE"
docker run -d --name "$CONTAINER_NAME" -p 8080:8080 "$IMAGE" >/dev/null
DOCKER_GW=$(docker network inspect bridge --format '{{range .IPAM.Config}}{{.Gateway}}{{end}}')
BASE_URL="http://${DOCKER_GW}:8080"
echo "Waiting for container on ${DOCKER_GW}:8080..."
for i in $(seq 1 30); do
if curl -sf "$BASE_URL/" >/dev/null 2>&1; then
echo "Container ready after ${i}s"
break
fi
if [ "$i" -eq 30 ]; then
echo "FAIL: Container did not become ready within 30s"
docker logs "$CONTAINER_NAME"
exit 1
fi
sleep 1
done
echo ""
echo "Test: GET /"
TMPDIR=$(mktemp -d)
cleanup() {
docker rm -f "$CONTAINER_NAME" >/dev/null 2>&1 || true
rm -rf "$TMPDIR"
}
curl -sf -o "$TMPDIR/body" -D "$TMPDIR/headers" "$BASE_URL/"
STATUS=$(head -1 "$TMPDIR/headers" | grep -oP '\d{3}')
CONTENT_TYPE=$(grep -i 'content-type' "$TMPDIR/headers" | tr -d '\r' | cut -d: -f2- | xargs)
trap cleanup EXIT
assert "HTTP status is 200" "200" "$STATUS"
assert_match "Content-Type is text/html" "text/html" "$CONTENT_TYPE"
TOTAL=$((TOTAL + 1))
if grep -qEi "[Rr][Ss][Ss].*[Bb]ridge" "$TMPDIR/body"; then
echo " PASS: Body contains RSS-Bridge"
PASSED=$((PASSED + 1))
else
echo " FAIL: Body contains RSS-Bridge (pattern not found)"
FAILED=$((FAILED + 1))
fi
echo ""
echo "Results: $PASSED/$TOTAL passed, $FAILED failed"
[ "$FAILED" -eq 0 ]