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

FISH-5701 fix automated deployment, put command to the right file #5397

Merged
merged 1 commit into from Sep 1, 2021

Conversation

aubi
Copy link
Contributor

@aubi aubi commented Sep 1, 2021

Description

Fix for #5391, application added to $DEPLOY_DIR in docker image is not deployed.
Actually, the fixed file is exactly the same as the related file Payara/appserver/extras/docker-images/server-web/src/main/docker/bin/init_1_generate_deploy_commands.sh, which was OK.

Testing

Testing Performed

In Payara/appserver/extras/docker-images, build docker image:
mvn -pl :server-full-docker-image -am -PBuildExtras -PBuildDockerImages install

Then create directory with clusterjsp.war (or any war), Dockerfile:
FROM payara/server-full
COPY clusterjsp.war $DEPLOY_DIR

Run the docker:
docker run -i --rm --name bwbportal -p 54848:4848 -p 58080:8080 -p 58181:8181 bwbportal

Correct output:
In log:
clusterjsp was successfully deployed in ...
Accessible app:
http://localhost:58080/clusterjsp/

@aubi aubi requested a review from kalinchan September 1, 2021 11:31
@aubi
Copy link
Contributor Author

aubi commented Sep 1, 2021

jenkins test

@aubi aubi merged commit 2008b5e into payara:master Sep 1, 2021
@aubi aubi deleted the FISH-5701 branch September 1, 2021 14:20
JamesHillyard pushed a commit to JamesHillyard/Payara that referenced this pull request Oct 28, 2021
FISH-5701 fix automated deployment, put command to the right file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants