diff --git a/java/buildconf/manager-developer-build.properties.example b/java/buildconf/manager-developer-build.properties.example index d915951ae66..a5782b96d86 100644 --- a/java/buildconf/manager-developer-build.properties.example +++ b/java/buildconf/manager-developer-build.properties.example @@ -10,15 +10,3 @@ deploy.host = d52.suse.de # Uncomment to get javascript sourcemaps in Reactjs pages #javascript.devel = true -# Define the way to deploy. Possible values: -# -# local : deploy to local instance of uyuni -# remote (default) : deploy to remote instance of uyuni defined in deploy.host through ssh connection. -# container : use mgrctl to deploy to a containerized server. The deploy.host will be ignored. -# remote-container : use SSH to connect to deploy.host, then run mgrctl on the remote system and deploy to -# a containerized server -#deploy.mode = remote - -# Backend to be used by mgrctl when deploying in container and remote-container mode. By default, mgrctl tries to -# autodetect the correct backend. Possible values can be looked up by checking mgrctl documentation. -#container.backend = podman diff --git a/java/manager-build.xml b/java/manager-build.xml index 81cca5e4ec9..ab4e4f9184b 100644 --- a/java/manager-build.xml +++ b/java/manager-build.xml @@ -19,7 +19,6 @@ - @@ -45,108 +44,19 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -278,31 +188,32 @@ - - - - - - - - - - - - - + + + + + - - + + + + + + + - - - + + + + + + + + + + @@ -322,8 +233,8 @@ - + @@ -333,90 +244,195 @@ - - + + + + - + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - + + + - + - + + + - + - + + - - - - + + mgrctl is not in the PATH. Please install mgrctl first. + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + - + + + - - - + + + + + + + + + + + + + + + + - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -426,7 +442,11 @@ - + @@ -447,7 +467,7 @@ - + @@ -477,26 +497,25 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + @@ -591,17 +610,47 @@ - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/testsuite/podman_runner/09_build_server_code.sh b/testsuite/podman_runner/09_build_server_code.sh index 2c0c5e5464d..2417388405f 100755 --- a/testsuite/podman_runner/09_build_server_code.sh +++ b/testsuite/podman_runner/09_build_server_code.sh @@ -30,7 +30,7 @@ sudo -i podman exec server bash -c "[ -d /usr/share/susemanager/www/tomcat/webap # to try again and hope it succeeds. sudo -i podman exec server bash -c "cd /java && ant -f manager-build.xml ivy || ant -f manager-build.xml ivy || ant -f manager-build.xml ivy" -sudo -i podman exec server bash -c "cd /java && ant -f manager-build.xml -Ddeploy.mode=local refresh-branding-jar deploy" +sudo -i podman exec server bash -c "cd /java && ant -f manager-build.xml refresh-branding-jar deploy-local" sudo -i podman exec server bash -c "set -xe;cd /web/html/src;[ -d dist ] || mkdir dist;yarn install --force --ignore-optional --production=true --frozen-lockfile;yarn autoclean --force;yarn build:novalidate; rsync -a dist/ /usr/share/susemanager/www/htdocs/" sudo -i podman exec server bash -c "rctomcat restart" sudo -i podman exec server bash -c "rctaskomatic restart"