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

allow war files to be deployed by the base image #9548

Merged
merged 1 commit into from
Apr 24, 2023

Conversation

pdurbin
Copy link
Member

@pdurbin pdurbin commented Apr 22, 2023

What this PR does / why we need it:

https://guides.dataverse.org/en/5.13/container/base-image.html#locations says, "Any EAR or WAR file, exploded WAR directory etc are autodeployed on start" but only exploded WAR directories are currently supported. This PR allows WAR fles to be deployed.

Screenshot 2023-04-22 at 6 34 56 PM

Which issue(s) this PR closes:

Closes NONE

Special notes for your reviewer:

I tested this with a WAR file I built from https://github.com/IQSS/dataverse-people

Suggestions on how to test this:

I build the base image locally with a custom tag and used the following line in a Dockerfile to copy the war into place.

COPY ./target/dataverse-people.war ${DEPLOY_DIR}/

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?:

No.

Additional documentation:

None.

...not just exploded war files.

In the container guide, we say both work.
@pdurbin pdurbin added this to Ready for Review ⏩ in IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) via automation Apr 22, 2023
Copy link
Contributor

@poikilotherm poikilotherm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

I believe this is not even a size 3 and can go through the pipeline without much QA. The missing parenthesis have been thoroughly tested for being the correct fix.

IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) automation moved this from Ready for Review ⏩ to Ready for QA ⏩ Apr 24, 2023
@pdurbin pdurbin merged commit 820f67c into IQSS:develop Apr 24, 2023
4 checks passed
IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) automation moved this from Ready for QA ⏩ to Done 🚀 Apr 24, 2023
@pdurbin pdurbin added this to the 5.14 milestone Apr 24, 2023
pdurbin added a commit to IQSS/dataverse-people that referenced this pull request Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants