Skip to content

ci: harden runtime image contract - #137

Merged
Serph91P merged 3 commits into
developfrom
fix/dv-ci-runtime-contract
Jul 10, 2026
Merged

ci: harden runtime image contract#137
Serph91P merged 3 commits into
developfrom
fix/dv-ci-runtime-contract

Conversation

@Serph91P

Copy link
Copy Markdown
Owner

Summary

  • add a precise Docker build-context contract and pinned Node, npm, and Python toolchains
  • install checksum-verified Rclone v1.72.1 for amd64 and arm64
  • make nginx-backed health, proxied API, and advertised runtime binary checks block CI
  • restore the release build to both advertised architectures with QEMU support

Verification

  • Node 24.11.1 and npm 11.6.2: npm ci, 60 frontend tests, ESLint, TypeScript, production build
  • Python 3.14.6: 103 backend tests, Ruff check, Ruff format check
  • docker build -t dockervault:ci-contract .
  • live nginx /health, direct backend /health, proxied /api/v1/auth/status, Docker health status
  • runtime checks for rclone, rsync, ssh, sftp, sshpass, age, and curl
  • actionlint for changed workflows
  • git diff --check and Unicode dash scan

Notes

  • Existing mypy errors remain explicitly non-blocking.
  • Existing vulnerability scans remain non-blocking via step policy, without shell fallbacks.
  • Restic is not included.

Fixes #135

Pin build toolchains, install checksum-verified rclone, and make
container health and advertised binary checks block CI.
Comment thread Dockerfile Fixed
Use a literal npm version in the Dockerfile so Hadolint can verify the pin.
Add a regression test that keeps it aligned with packageManager.
@Serph91P
Serph91P merged commit 589ff4e into develop Jul 10, 2026
14 checks passed
@Serph91P
Serph91P deleted the fix/dv-ci-runtime-contract branch July 10, 2026 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants