chore(deps): bump org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-bom from 3.3.2 to 3.3.3 #405
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: arq-liberty-remote | |
on: | |
push: | |
paths-ignore: | |
- "docs/**" | |
branches: | |
- master | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
cache: "maven" | |
- name: Run OpenLiberty server | |
run: | | |
export OL_VERSION="23.0.0.11" | |
export INSTALL_DIR="/opt/appsvr" | |
mkdir ${INSTALL_DIR} | |
curl -o /tmp/ol.zip -L https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/release/${OL_VERSION}/openliberty-${OL_VERSION}.zip \ | |
&& unzip /tmp/ol.zip -d ${INSTALL_DIR} \ | |
&& rm /tmp/ol.zip \ | |
&& true | |
chmod -R a+rw ${INSTALL_DIR} | |
chmod -R a+x ${INSTALL_DIR}/wlp/bin/* | |
export DB_VERSION="10.14.2.0" | |
mkdir -p ${INSTALL_DIR}/wlp/usr/shared/resources | |
chmod -R a+rxw ${INSTALL_DIR}/wlp/usr/shared/resources | |
curl -o ${INSTALL_DIR}/wlp/usr/shared/resources/derby-${DB_VERSION}.jar -L https://repo1.maven.org/maven2/org/apache/derby/derby/${DB_VERSION}/derby-${DB_VERSION}.jar | |
echo "downloaded derby database:" | |
ls -al ${INSTALL_DIR}/wlp/usr/shared/resources | |
chmod a+rx ${INSTALL_DIR}/wlp/usr/shared/resources/*.jar | |
${INSTALL_DIR}/wlp/bin/server create testServer | |
cp ./src/test/arq-liberty-remote/server.xml ${INSTALL_DIR}/wlp/usr/servers/testServer/ | |
${INSTALL_DIR}/wlp/bin/server start testServer | |
sleep 10 | |
echo password|keytool -export -alias default -file testwlp.crt -keystore ${INSTALL_DIR}/wlp/usr/servers/testServer/resources/security/key.jks | |
if [ -z "${JAVA_HOME}" ]; then | |
JAVA_CMD = `which java` | |
JAVA_HOME = `dirname $JAVA_CMD`/.. | |
fi | |
echo "JAVA_HOME: $JAVA_HOME" | |
keytool -import -trustcacerts -keystore ${JAVA_HOME}/lib/security/cacerts -storepass changeit -alias testwlp -file testwlp.crt -noprompt | |
- name: Build with Maven | |
run: mvn clean verify -Parq-liberty-remote | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: server-log | |
path: /opt/appsvr/wlp/**/logs/ | |