Skip to content

BeforeUp 0.4.2 preview 1

Pre-release
Pre-release

Choose a tag to compare

@BreezeDelegate BreezeDelegate released this 29 Oct 23:05
· 5 commits to main since this release

BeforeUp 0.4.2 preview adds a focused preflight check validated against representative Docker Compose projects.

New diagnostic:

  • BUILD_CONTEXT_MISSING warns when a local Compose build directory does not exist, even when docker compose config -q accepts the YAML. It never prints the path and does not mistake remote Git contexts for local directories. Missing directories are warnings, not guaranteed deployment failures.

Real-world QA:

  • Checked six published docker/awesome-compose configurations: WordPress/MariaDB, PostgreSQL/pgAdmin, NGINX/Node.js/Redis, Prometheus/Grafana, Gitea/PostgreSQL and Nextcloud/Redis/MariaDB. All six passed native Compose validation and completed BeforeUp host checks. These were tested without their sibling directories or starting the applications; missing local build/mount directories in those isolated copies are expected.
  • Started one disposable Alpine Docker Compose service with no network or published ports and a read-only root filesystem. BeforeUp first reported RUNNING_MATCH, then correctly identified ENV_CHANGED and MOUNT_SOURCE_CHANGED after editing its proposed Compose file. It did not print private host paths. The temporary container was removed.
  • Validated a denied non-root application bind-mount write and a permitted root write in an isolated test directory using conventional Docker Engine.
  • Tried a separate rootless Docker Engine. Engine metadata checks worked, but rootless application containers could not start because this VPS session lacks the necessary AppArmor and cgroup access. Rootless write behavior remains unverified; no host policy was changed.

Gates: 54 Go tests, Go race and vet, real Docker Compose integration, 14 synthetic Compose cases, Debian AMD64 install/remove on Debian 13 and Ubuntu 24.04/26.04. Linux amd64/arm64 archives and Debian packages include SHA256SUMS. Downloaded release files are checked separately after publication.

This remains an early preview. Docker Desktop for Linux and SELinux-enforcing runtime testing, full rootless container writes and real ARM64 device installation are still outside the verified scope.