Skip to content

test(images): add runtime acceptance gate for app image - #65

Merged
vitormattos merged 6 commits into
mainfrom
test/app-image-runtime-acceptance
Oct 7, 2026
Merged

vitormattos merged 6 commits into
mainfrom
test/app-image-runtime-acceptance

Conversation

@vitormattos

Copy link
Copy Markdown
Member

Closes #49.

This implements the rewritten image-focused acceptance test for the app image.

What it validates:

  • the exact locally built image can start with an ephemeral PostgreSQL dependency;
  • Nextcloud autoinstall completes;
  • occ status --output=json reports installed: true;
  • occ check passes;
  • the FPM runtime accepts a real FastCGI request to status.php;
  • diagnostics are printed on failure;
  • all test-created containers, network, and client image tag are cleaned up.

The test is independent from GitHub Actions and accepts an already-built image reference. The existing build action now runs the same test against both scan/app:amd64 and scan/app:arm64 after Trivy. Publication therefore remains gated by build -> scan -> runtime acceptance.

No deployment Compose stack, Redis/web integration, Playwright, LibreSign-specific behavior, or image architecture refactor is introduced here.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos
vitormattos merged commit 745a43c into main Oct 7, 2026
4 checks passed
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.

Add runtime acceptance tests for the Nextcloud app image

1 participant