Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Page Properties


Submitted Date2023-10-10

 

Approved Date

 

StatusDRAFTAPPROVED
ImpactLOW


 

Stakeholders

Florian Gleixner 

...

The TESTCONTAINERS_POSTGRES_IMAGE code and GitHut 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.

...