Add CI/CD pipeline, Renovate config and unit tests #2

Merged
Djeex merged 2 commits from ci-cd into main 2026-11-21 17:38:49 +01:00
Owner

Summary

  • Gitea CI (.gitea/workflows/ci.yml): gitleaks, hadolint, build, smoke test, pytest (cov >= 75%), ruff, Trivy, auto VERSION bump, publish to git.djeex.fr and ghcr.io, Gitea + GitHub releases (vX.Y.Z).
  • renovate.json, ruff.toml, pytest.ini.
  • Dockerfile split into base/test/lint/final stages.
  • 90 unit tests; fixes an IndexError in _tiff_max_boost with an all-black SDR.

Test plan

  • docker build --target lint passes
  • docker build --target test: 90 passed, 88% coverage
  • Final image builds, compileall + ultrahdr_app/exiftool smoke test pass
  • CI green on the runner
  • Secrets CI_PUSH_TOKEN, REGISTRY_TOKEN, GH_TOKEN set on the repo
  • After merge: image on git.djeex.fr and ghcr.io, release v1.1.1 created
## Summary - Gitea CI (`.gitea/workflows/ci.yml`): gitleaks, hadolint, build, smoke test, pytest (cov >= 75%), ruff, Trivy, auto VERSION bump, publish to git.djeex.fr and ghcr.io, Gitea + GitHub releases (`vX.Y.Z`). - `renovate.json`, `ruff.toml`, `pytest.ini`. - Dockerfile split into base/test/lint/final stages. - 90 unit tests; fixes an `IndexError` in `_tiff_max_boost` with an all-black SDR. ## Test plan - [x] `docker build --target lint` passes - [x] `docker build --target test`: 90 passed, 88% coverage - [x] Final image builds, `compileall` + `ultrahdr_app`/`exiftool` smoke test pass - [x] CI green on the runner - [x] Secrets `CI_PUSH_TOKEN`, `REGISTRY_TOKEN`, `GH_TOKEN` set on the repo - [x] After merge: image on git.djeex.fr and ghcr.io, release `v1.1.1` created
Djeex added 1 commit 2026-11-21 17:16:20 +01:00
Add CI/CD pipeline, Renovate config and unit tests
CI / build-and-scan (pull_request) Failing after 2m9s
4e7b51c334
Djeex added 1 commit 2026-11-21 17:28:31 +01:00
Bump Pillow to 13.0.0 to fix CVEs
CI / build-and-scan (pull_request) Successful in 1m6s
527e8129ba
Djeex merged commit 529eef3e7e into main 2026-11-21 17:38:49 +01:00
Sign in to join this conversation.