forked from eclipse-ee4j/cargotracker
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: initial commit of ee10 migration
- Loading branch information
Showing
155 changed files
with
1,763 additions
and
1,797 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | ||
|
||
name: arq-glassfish-managed | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- "docs/**" | ||
branches: | ||
- master | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '21' | ||
distribution: 'zulu' | ||
cache: maven | ||
- name: Build with Maven | ||
run: | | ||
mvn -B -q clean verify -Parq-glassfish-managed | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | ||
|
||
name: arq-glassfish-remote | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- "docs/**" | ||
branches: | ||
- master | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '21' | ||
distribution: 'zulu' | ||
cache: maven | ||
- name: Run Glassfish Server | ||
run: | | ||
export GLASSFISH_ARCHIVE=glassfish7 | ||
export GLASSFISH_VERSION=7.0.9 | ||
export INSTALL_DIR="/opt/appsvr" | ||
mkdir ${INSTALL_DIR} | ||
curl -o /tmp/${GLASSFISH_ARCHIVE}.zip -L https://github.com/eclipse-ee4j/glassfish/releases/download/${GLASSFISH_VERSION}/glassfish-${GLASSFISH_VERSION}.zip \ | ||
&& unzip /tmp/${GLASSFISH_ARCHIVE}.zip -d ${INSTALL_DIR} \ | ||
&& rm /tmp/${GLASSFISH_ARCHIVE}.zip \ | ||
&& true | ||
chmod -R a+rw ${INSTALL_DIR} | ||
chmod -R a+x ${INSTALL_DIR}/${GLASSFISH_ARCHIVE}/bin/* | ||
export PATH=$PATH:${INSTALL_DIR}/${GLASSFISH_ARCHIVE}/bin/ | ||
asadmin start-database \ | ||
&& asadmin start-domain domain1 \ | ||
&& true | ||
# echo "set AS_ADMIN_PASSWORD=adminadmin" \ | ||
# && echo "AS_ADMIN_PASSWORD=\nAS_ADMIN_NEWPASSWORD=adminadmin" > /tmp/new_passwordfile \ | ||
# && echo "AS_ADMIN_PASSWORD=adminadmin" > /tmp/passwordfile \ | ||
# && cat /tmp/new_passwordfile && cat /tmp/passwordfile \ | ||
# && asadmin --passwordfile /tmp/new_passwordfile change-admin-password --domain_name domain1 \ | ||
# && asadmin --passwordfile /tmp/passwordfile start-domain domain1 \ | ||
# && true | ||
# | ||
- name: Build with Maven | ||
run: | | ||
mvn -B -q clean verify -Parq-glassfish-remote | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: arq-wildfly-managed | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- "docs/**" | ||
branches: | ||
- master | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '21' | ||
cache: "maven" | ||
- name: Run integration test with -Parq-wildfly-managed | ||
run: mvn clean verify -Parq-wildfly-managed |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: arq-wildfly-remote | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- "docs/**" | ||
branches: | ||
- master | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up JDKs | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '21' | ||
cache: "maven" | ||
- name: Run WildFly server | ||
run: | | ||
export WF_ARCHIVE=wildfly | ||
export WF_VERSION=30.0.0.Final | ||
export INSTALL_DIR="/opt/appsvr" | ||
mkdir ${INSTALL_DIR} | ||
curl -o /tmp/${WF_ARCHIVE}.zip -L https://github.com/wildfly/wildfly/releases/download/${WF_VERSION}/wildfly-${WF_VERSION}.zip \ | ||
&& unzip /tmp/${WF_ARCHIVE}.zip -d ${INSTALL_DIR} \ | ||
&& rm /tmp/${WF_ARCHIVE}.zip \ | ||
&& true | ||
chmod -R a+rw ${INSTALL_DIR} | ||
chmod -R a+x ${INSTALL_DIR}/${WF_ARCHIVE}-${WF_VERSION}/bin/* | ||
export WF_HOME=${INSTALL_DIR}/${WF_ARCHIVE}-${WF_VERSION} | ||
${WF_HOME}/bin/add-user.sh admin Admin@123 --silent | ||
${WF_HOME}/bin/standalone.sh -c standalone-full.xml & | ||
sleep 10 | ||
- name: Build with Maven | ||
run: mvn clean verify -Parq-wildfly-remote |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ nb* | |
data | ||
cargo-tracker-data/ | ||
.factorypath | ||
installs/ |
Oops, something went wrong.