[WIP] Build viable Docker images for Polaris using Quarkus #610
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Requires #469, #604 and #628.
This PR redesigns how Docker images are built, to make them fully compatible with Quarkus.
quarkus/server/src/main/docker/Dockerfile.jvm
(default location for dockerfiles for Quarkus)./gradlew :polaris-quarkus-server:assemble -Dquarkus.container-image.build=true
docker
build provider.This PR modifies the eclipse-link module and includes 2 JDBC drivers in the resulting artifacts: H2 and Postgres. This is absolutely required to be able to run Polaris with Postgres as the JDBC drivers must be present at build time.
Test changes:
regtests/docker-compose.override.yml
file is created with that tag. Then the tests are executed.This PR also fixes the issues described in #537:
regtests
folder where it naturally belongs.docker-compose.yaml
isapache/polaris:latest
, meaning that by default, the regression tests execute against the latest released version of Polaris.This PR does not address the specific needs of release builds. For such builds, we need:
Again, this PR also defers all documentation changes to a follow-up task.
And last but not least: this PR changes the Helm chart slightly, only to make the Helm tests pass in CI. But another PR will introduce a bigger revamp of the Helm chart in order to fully to adapt it to Quarkus.