Hi,
We are running HAPI FHIR in a kubernetes cluster, connected to a postgres database that is hosted externally on another machine, not in kubernetes.
FHIR HAPI is forked into our Gitlab and Gitlab CI/CD pipelines are used to deploy the application (using Helm).
To migrate the database on every update, flyway was enabled in the application.yaml.
Since flyway is no longer used, there is no database migration - Spring Boot seems to use Hibernate DDL to update the schema, but we disabled it because it was causing problems.
When updating to version 7.0.2, the application now fails because of this change:
https://github.com/hapifhir/hapi-fhir/pull/5555According to the documentation, the tool to use to migrate the database is hapi-fhir-cli, but I cannot get it to work in our environment/pipeline.
My idea was to create a step in our gitlab ci pipeline that runs the hapi-fhir-cli, but our infrastructure does not allow the gitlab runner to connect to the database.
What would be the best migration strategy for this scenario? Am I missing something?
Thanks!