...
Page Properties | ||||||||
---|---|---|---|---|---|---|---|---|
|
Stakeholders
...
The TESTCONTAINERS_POSTGRES_IMAGE code and GitHut GitHub Action workflow should be merged to the main/master branch of the each module repository that uses a PostgreSQL container for testing so it can be reused in the following years.
Decision (draft)
At build time FOLIO modules use TESTCONTAINERS_POSTGRES_IMAGE environment variable to change the default PostgreSQL container used for module unit tests (eg. maven-surefire-plugin) and module integration tests (eg. maven-failsafe-plugin).
FOLIO uses a GitHub Actions workflow in each repository that manually runs the module unit tests and module integration tests, and takes one or multiple PostgreSQL container names as input to set TESTCONTAINERS_POSTGRES_IMAGE.
This applies to modules that use a PostgreSQL container for module tests.
...