Skip to content

Commit 21c6455

Browse files
committed
[OPENJDK-4025] Revert "Merge pull request #559 from jmtd/ubi10-test-artifacts"
This reverts commit f127de2, reversing changes made to df45466.
1 parent e16249b commit 21c6455

File tree

43 files changed

+144
-44
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+144
-44
lines changed

modules/jdk/21/configure.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22
# Configure module
33
set -e
44

5+
SCRIPT_DIR=$(dirname $0)
6+
ARTIFACTS_DIR=${SCRIPT_DIR}/artifacts
7+
8+
chown -R $USER:root $SCRIPT_DIR
9+
chmod -R ug+rwX $SCRIPT_DIR
10+
chmod ug+x ${ARTIFACTS_DIR}/opt/jboss/container/openjdk/jdk/*
11+
12+
pushd ${ARTIFACTS_DIR}
13+
cp -pr * /
14+
popd
15+
516
# Update securerandom.source for quicker starts (must be done after removing jdk 8, or it will hit the wrong files)
617
JAVA_SECURITY_FILE=/usr/lib/jvm/java/conf/security/java.security
718
SECURERANDOM=securerandom.source

modules/jdk/21/module.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,3 @@ modules:
3333

3434
execute:
3535
- script: configure.sh
36-
37-
artifacts:
38-
- path: artifacts/jvm-options
39-
dest: /opt/jboss/container/openjdk/jdk

modules/jre/21/configure.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/sh
2+
# Configure module
3+
set -e
4+
5+
SCRIPT_DIR=$(dirname $0)
6+
echo $SCRIPT_DIR
7+
ARTIFACTS_DIR=${SCRIPT_DIR}/artifacts
8+
echo $ARTIFACTS_DIR
9+
10+
chown -R $USER:root $SCRIPT_DIR
11+
chmod -R ug+rwX $SCRIPT_DIR
12+
chmod ug+x ${ARTIFACTS_DIR}/opt/jboss/container/openjdk/jre/*
13+
14+
pushd ${ARTIFACTS_DIR}
15+
cp -pr * /
16+
popd

modules/jre/21/module.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,3 @@ modules:
3333

3434
execute:
3535
- script: configure.sh
36-
37-
artifacts:
38-
- path: artifacts/jvm-options
39-
dest: /opt/jboss/container/openjdk/jre

modules/jvm/configure.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/sh
2+
# Configure module
3+
set -e
4+
5+
SCRIPT_DIR=$(dirname $0)
6+
ARTIFACTS_DIR=${SCRIPT_DIR}/artifacts
7+
8+
chown -R $USER:root $SCRIPT_DIR
9+
chmod -R ug+rwX $SCRIPT_DIR
10+
chmod ug+x ${ARTIFACTS_DIR}/opt/jboss/container/java/jvm/*
11+
12+
pushd ${ARTIFACTS_DIR}
13+
cp -pr * /
14+
popd

modules/jvm/module.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ description: ^
55
Provides support for configuring Java JVM, e.g. GC settings, etc. Basic usage
66
is opts=$($JBOSS_CONTAINER_JAVA_JVM_MODULE/java-default-options)
77

8-
artifacts:
9-
- path: artifacts/jvm
10-
dest: /opt/jboss/container/java/jvm
8+
execute:
9+
- script: configure.sh
1110

1211
modules:
1312
install:

0 commit comments

Comments
 (0)