Skip to content

Commit

Permalink
Fix permissions for java-default-options and debug-options + set
Browse files Browse the repository at this point in the history
JBOSS_CONTAINER_JAVA_JVM_MODULE
  • Loading branch information
fantonangeli committed Jan 29, 2024
1 parent 706304e commit f9ea0b8
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,18 @@ setup_file() {
mkdir -p ${HOME}/.m2/
cp $BATS_TEST_DIRNAME/../../../../../kogito-maven/common/maven/settings.xml ${HOME}/.m2/
export MAVEN_SETTINGS_PATH="${HOME}/.m2/settings.xml"
export JBOSS_CONTAINER_JAVA_JVM_MODULE=${KOGITO_HOME}/launch

mkdir -p "${KOGITO_HOME}"/launch

cp $BATS_TEST_DIRNAME/../../added/configure-jvm-mvn.sh "${KOGITO_HOME}"/launch/
cp $BATS_TEST_DIRNAME/../../../../../kogito-maven/common/added/configure-maven.sh "${KOGITO_HOME}"/launch/
cp $BATS_TEST_DIRNAME/../../../../../kogito-dynamic-resources/added/debug-options "${KOGITO_HOME}"/launch/
chmod +x "${KOGITO_HOME}"/launch/debug-options
cp $BATS_TEST_DIRNAME/../../../../../kogito-dynamic-resources/added/java-default-options "${KOGITO_HOME}"/launch/
chmod +x "${KOGITO_HOME}"/launch/java-default-options
cp $BATS_TEST_DIRNAME/../../../../../kogito-dynamic-resources/added/container-limits "${KOGITO_HOME}"/launch/
chmod +x "${KOGITO_HOME}"/launch/container-limits
cp $BATS_TEST_DIRNAME/../../added/jvm-settings.sh "${KOGITO_HOME}"/launch/
cp $BATS_TEST_DIRNAME/../../../../../kogito-logging/added/logging.sh "${KOGITO_HOME}"/launch/
cp $BATS_TEST_DIRNAME/../../added/create-app.sh "${KOGITO_HOME}"/launch/
Expand Down

0 comments on commit f9ea0b8

Please sign in to comment.