7 Commits
Author SHA1 Message Date
lumeex-ci edd39febd1 Bump build version to 2.1.4 [skip ci] 2026-08-24 09:03:52 +00:00
Djeex 33766f0b0b Merge pull request 'Update python Docker tag to v3.14.7' (#32) from renovate/python-3.x into main
CI / build-and-scan (push) Successful in 1m39s
Reviewed-on: #32
2026-08-24 11:02:16 +02:00
Djeex f954ace53b Update python Docker tag to v3.14.7
CI / build-and-scan (pull_request) Successful in 1m7s
2026-08-24 11:00:55 +02:00
Djeex 6df2d561d9 Update dependency pytest-cov to v7.1.0
CI / build-and-scan (pull_request) Successful in 1m31s
CI / build-and-scan (push) Successful in 1m36s
2026-08-24 03:03:26 +00:00
Djeex 18c894f780 Merge pull request 'New release template' (#30) from dev-ci into main
CI / build-and-scan (push) Successful in 1m1s
Reviewed-on: #30
2026-08-23 23:35:50 +02:00
Djeex ca4240c84a Link each commit in the release changelog to its own commit page
CI / build-and-scan (pull_request) Successful in 1m13s
COMMIT_LIST only rendered the bare subject line per commit, with no
way to jump to that specific commit — only the triggering commit
(Source:) had a link. Each line now reads
"- [<short-sha>](<repo>/commit/<sha>) <subject>", matching the same
link style already used for Source.
2026-08-23 23:20:39 +02:00
Djeex 83d2dc7ee6 Match adguard-cidre's current template exactly (post 2026-08-23 update)
adguard-cidre switched its release changelog from a changed-files list
to a commits list (with --- dividers) after the previous commit here
was written from an already-stale read of that file. Also drops the
glob-based smoke test (never actually part of the real template, only
of nvidia-stock-bot's own drift) for an explicit per-file check
matching the canonical error-handling shape, and aligns the remaining
step names/commit message wording.
2026-08-23 23:09:35 +02:00
4 changed files with 16 additions and 14 deletions
+12 -10
View File
@@ -18,23 +18,23 @@ jobs:
fetch-depth: 0 fetch-depth: 0
persist-credentials: false persist-credentials: false
- name: Build prod image - name: Build Docker image
run: | run: |
docker build -t lumeex:ci . 2>&1 | tee build.log docker build -t lumeex:ci . 2>&1 | tee build.log
if grep -q "Building wheel for" build.log; then if grep -q "Building wheel for" build.log; then
echo "::warning::A dependency was built from source — check Python/Alpine compatibility" echo "::warning::A dependency was built from source — check Python/Alpine compatibility"
fi fi
- name: Smoke test - name: Smoke test (syntax check)
run: | run: |
docker run --rm --entrypoint python lumeex:ci -c " docker run --rm --entrypoint python lumeex:ci -c "
import ast, glob import ast
ok = True ok = True
for f in glob.glob('/app/*.py'): for f in ('build.py', 'gallery.py'):
with open(f) as fh: with open(f) as fh:
source = fh.read() source = fh.read()
try: try:
ast.parse(source, filename=f) ast.parse(source)
except SyntaxError as e: except SyntaxError as e:
print(f'::error::Syntax error in {f}: {e}') print(f'::error::Syntax error in {f}: {e}')
ok = False ok = False
@@ -99,7 +99,7 @@ jobs:
git config user.name "lumeex-ci" git config user.name "lumeex-ci"
git config user.email "[email protected]" git config user.email "[email protected]"
git add VERSION git add VERSION
git commit -m "chore: bump version to $NEW_VERSION [skip ci]" git commit -m "Bump build version to $NEW_VERSION [skip ci]"
# Belt and suspenders: actions/checkout can leave its own ephemeral # Belt and suspenders: actions/checkout can leave its own ephemeral
# credential injected as an extraheader, which would silently override # credential injected as an extraheader, which would silently override
@@ -151,9 +151,9 @@ jobs:
fi fi
fi fi
CHANGED_LIST=$(echo "$CHANGED" | sed 's/^/- /')
REPO_URL="https://git.djeex.fr/Djeex/lumeex" REPO_URL="https://git.djeex.fr/Djeex/lumeex"
COMMIT_LIST=$(git log --no-merges --format="- [%h](${REPO_URL}/commit/%H) %s" "$BASE_REF".."${{ github.sha }}")
SHORT_SHA=$(echo "${{ github.sha }}" | cut -c1-7) SHORT_SHA=$(echo "${{ github.sha }}" | cut -c1-7)
SOURCE_LINE="[${SHORT_SHA}](${REPO_URL}/commit/${{ github.sha }})" SOURCE_LINE="[${SHORT_SHA}](${REPO_URL}/commit/${{ github.sha }})"
if [ -n "$PR_NUM" ]; then if [ -n "$PR_NUM" ]; then
@@ -162,15 +162,17 @@ jobs:
BODY=$(cat <<EOF BODY=$(cat <<EOF
## Changelog ## Changelog
---
### ${CATEGORY} ### ${CATEGORY}
---
${CHANGE_TITLE} ${CHANGE_TITLE}
**Source:** ${SOURCE_LINE} **Source:** ${SOURCE_LINE}
**Image:** \`${IMAGE}:${VERSION}\` **Image:** \`${IMAGE}:${VERSION}\`
**Changed files:** **Commits:**
${CHANGED_LIST} ${COMMIT_LIST}
EOF EOF
) )
+2 -2
View File
@@ -1,4 +1,4 @@
FROM python:3.13.15-alpine AS builder FROM python:3.14.7-alpine AS builder
WORKDIR /app WORKDIR /app
@@ -7,7 +7,7 @@ RUN apk add --no-cache gcc musl-dev jpeg-dev zlib-dev
COPY requirements.txt . COPY requirements.txt .
RUN pip wheel --no-cache-dir --wheel-dir=/wheels -r requirements.txt RUN pip wheel --no-cache-dir --wheel-dir=/wheels -r requirements.txt
FROM python:3.13.15-alpine AS base FROM python:3.14.7-alpine AS base
WORKDIR /app WORKDIR /app
+1 -1
View File
@@ -1 +1 @@
2.1.3 2.1.4
+1 -1
View File
@@ -1,3 +1,3 @@
-r requirements.txt -r requirements.txt
pytest==8.4.2 pytest==8.4.2
pytest-cov==7.0.0 pytest-cov==7.1.0