Skip to content

feat(dx): querya-testdb-<db> images (#1487, part 3b) - #1620

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/1487-testdb-images
Oct 16, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
devfrom
issue/1487-testdb-images

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Part of #1487, step 3: test database images for extension authors, seeds included, no bind mounts.

  • docker/<db>/Dockerfile.testdb for postgres, mysql, mongo, clickhouse, redis. MySQL is 8.0 with mysql_native_password, like CI. Redis has no init directory, so a small entrypoint starts the server, runs seed.sh and keeps serving.
  • Workflow testdb-images.yml: the matrix is the list of docker/*/Dockerfile.testdb, so a new database appears by adding that file. Pull requests build and smoke-test (healthy, seeded table or key present). After a Release, or by hand, it pushes ghcr.io/queryahub/querya-testdb-<db>:<version> and :latest.
  • sqlite and headless are not databases to serve, so they have no Dockerfile.testdb.

The seeds run on the first start of an empty data directory (the database images' own init mechanism), not at build time. Docker is not running here, so nothing was built locally; the PR run is the first build.

…art 3b)

Dockerfile.testdb per database (postgres, mysql 8.0 native password, mongo,
clickhouse, redis), built and smoke-tested on pull requests, pushed with the
release version and latest after a Release.
@github-actions github-actions Bot added bug Something isn't working enhancement New feature or request tests Theme parser epic P3 Low priority / Polish & Enhancements labels Oct 16, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 55d2af9 into dev Oct 16, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request P3 Low priority / Polish & Enhancements tests Theme parser epic

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant