Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5292 mvn container #7245

Closed
wants to merge 38 commits into from
Closed

Conversation

poikilotherm
Copy link
Contributor

@poikilotherm poikilotherm commented Aug 31, 2020

What this PR does / why we need it:
This pull request will add official images to the upstream repository.

  1. There is no way around this, as any modern container building tools reusing the Maven environment have to reside in the projects pom.xml.
  2. Adding the necessary bits here allows to reuse pom.xml as the source of truth by reusing its dependency versions written down in properties.
  3. Providing this here allows for using any version/commit of Dataverse in a container right away. Building is fast, reusing layers and local Maven cache.
  4. Images from this will be reusable with Testcontainers and Docker-Compose.

Which issue(s) this PR closes:
Closes #5292

Special notes for your reviewer:

  • Build with mvn -P container package docker:build
  • Building the Solr image is still TBD.
  • Fun fact: is Dataverse 5 in general much faster to deploy or is it the new layer arch providing deployment times of about 45 secs?

Suggestions on how to test this:
Nothing yet.

Does this PR introduce a user interface change? If mockups are available, please link/include them here:
No.

Is there a release notes update needed for this change?:
Later on.

Additional documentation:
We should debate if @IQSS is willing to provide testing and QA for this type of stuff. Adding a label for good distinction.

@poikilotherm poikilotherm added the Component: Containers Anything related to cloudy Dataverse, shipped in containers. label Aug 31, 2020
@poikilotherm poikilotherm self-assigned this Aug 31, 2020
@coveralls
Copy link

coveralls commented Aug 31, 2020

Coverage Status

Coverage remained the same at 19.324% when pulling d78e463 on poikilotherm:5292-mvn-container into b61b572 on IQSS:develop.

pdurbin and others added 21 commits March 22, 2021 14:06
Instead of using the upstream Payara image we build on the OpenJDK
image which is also used by Solr. That way we reduce image pulls.
We also optimize the domain1 configuration to be more production ready.

Relates to IQSS#5292
1. Moving some specifics from the startup script to the build time config,
   saving time during startup.
2. Enlarging thread pools, setting better options for memory management
   and many other optimizations for using in production.

See also gdcc/dataverse-kubernetes#218
Relates to IQSS#5292
@poikilotherm
Copy link
Contributor Author

I'll close this for now.
At some time in the future we might decide upon merging an evolved version of https://github.com/gdcc/dataverse/tree/develop+ct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Containers Anything related to cloudy Dataverse, shipped in containers.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Epic: small footprint container usable for development, testing and production purposes
3 participants