-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
693 changed files
with
75,359 additions
and
56,201 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
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 |
---|---|---|
|
@@ -48,20 +48,26 @@ jobs: | |
restore-keys: | | ||
${{ runner.os }}-ivy- | ||
- name: Read .nvmrc | ||
run: echo ::set-output name=NVMRC::$(cat .nvmrc) | ||
id: nvm | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "${{ steps.nvm.outputs.NVMRC }}" | ||
node-version-file: '.nvmrc' | ||
|
||
- name: Set up JDK 1.8 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: adopt | ||
java-version: 8 | ||
java-version: 11 | ||
|
||
- name: Install node dependencies (oeq-rest-api) | ||
working-directory: oeq-ts-rest-api | ||
run: | | ||
npm ci | ||
- name: Build oEQ REST module (oeq-rest-api) | ||
working-directory: oeq-ts-rest-api | ||
run: | | ||
npm run build | ||
- name: Install node dependencies (core) | ||
working-directory: react-front-end | ||
|
@@ -117,7 +123,7 @@ jobs: | |
target/*.zip | ||
- name: Save primary artefacts | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
name: Artefacts | ||
path: artefacts.tar | ||
|
@@ -137,14 +143,20 @@ jobs: | |
restore-keys: | | ||
${{ runner.os }}-npm.storybook- | ||
- name: Read .nvmrc | ||
run: echo ::set-output name=NVMRC::$(cat .nvmrc) | ||
id: nvm | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "${{ steps.nvm.outputs.NVMRC }}" | ||
node-version-file: '.nvmrc' | ||
|
||
- name: Install node dependencies (oeq-rest-api) | ||
working-directory: oeq-ts-rest-api | ||
run: | | ||
npm ci | ||
- name: Build oEQ REST module (oeq-rest-api) | ||
working-directory: oeq-ts-rest-api | ||
run: | | ||
npm run build | ||
- name: Install node dependencies (core) | ||
working-directory: react-front-end | ||
|
@@ -162,7 +174,7 @@ jobs: | |
tar cvf storybook.tar storybook-static | ||
- name: Save Static Storybook instance | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
name: Storybook | ||
path: react-front-end/storybook.tar | ||
|
@@ -172,19 +184,19 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up JDK 1.8 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: adopt | ||
java-version: 8 | ||
java-version: 11 | ||
|
||
- name: Build | ||
working-directory: import-export-tool | ||
run: | | ||
./gradlew build | ||
- name: Save primary artefacts | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
name: ImportExportTools | ||
path: import-export-tool/build/libs/ | ||
|
@@ -197,7 +209,7 @@ jobs: | |
strategy: | ||
matrix: | ||
newui: [true, false] | ||
pgsql-image: [latest, 10] | ||
pgsql-image: [latest, 12] | ||
exclude: | ||
- newui: false | ||
pgsql-image: latest | ||
|
@@ -232,22 +244,18 @@ jobs: | |
ffmpeg \ | ||
libimage-exiftool-perl | ||
- name: Set up JDK 1.8 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: adopt | ||
java-version: 8 | ||
java-version: 11 | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- name: Read .nvmrc | ||
run: echo ::set-output name=NVMRC::$(cat .nvmrc) | ||
id: nvm | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "${{ steps.nvm.outputs.NVMRC }}" | ||
node-version-file: '.nvmrc' | ||
|
||
- name: Download Artefacts | ||
uses: actions/download-artifact@v3 | ||
|
@@ -278,7 +286,7 @@ jobs: | |
- name: Save Scalacheck results | ||
if: matrix.newui && failure() | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
name: ScalacheckReports | ||
path: autotest/Tests/target/test-reports | ||
|
@@ -290,21 +298,21 @@ jobs: | |
- name: Save TestNG Reports | ||
if: failure() | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
name: TestNGReports-new-${{ matrix.newui }} | ||
path: autotest/OldTests/target/testng | ||
|
||
- name: Save oEQ Logs | ||
if: failure() | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
name: oEQLogs-new-${{ matrix.newui }} | ||
path: autotest/equella-install/logs | ||
|
||
- name: Save Screenshots | ||
if: failure() | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
name: Screenshots-new-${{ matrix.newui }} | ||
path: autotest/Tests/target/test-reports/screenshots | ||
|
@@ -322,7 +330,7 @@ jobs: | |
tar cvf coverage_report.tar autotest/target/coverage-report/ | ||
- name: Save Coverage Report | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
name: CoverageReport-newui-${{ matrix.newui }} | ||
path: coverage_report.tar | ||
|
@@ -361,20 +369,16 @@ jobs: | |
ffmpeg \ | ||
libimage-exiftool-perl | ||
- name: Set up JDK 1.8 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: adopt | ||
java-version: 8 | ||
|
||
- name: Read .nvmrc | ||
run: echo ::set-output name=NVMRC::$(cat .nvmrc) | ||
id: nvm | ||
java-version: 11 | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "${{ steps.nvm.outputs.NVMRC }}" | ||
node-version-file: '.nvmrc' | ||
|
||
- name: Download installer | ||
uses: actions/download-artifact@v3 | ||
|
@@ -409,9 +413,7 @@ jobs: | |
- name: Save oEQ logs for REST Module | ||
if: failure() | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
name: oEQ-logs-rest-module | ||
path: autotest/equella-install/logs | ||
|
||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
include: | ||
project: edalex-group/development/oeq/openequella-ci | ||
file: build/main.yml | ||
ref: bf787e4b64dbdd175556d1944d7acd6ca69ec053 | ||
ref: 16db45894f11b9ba9780d720486f37d485e13239 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 |
---|---|---|
@@ -1 +1 @@ | ||
16.17.1 | ||
16.20.1 |
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
node_modules/ | ||
storybook-static/ | ||
Source/Plugins/Core/com.equella.core/resources/web/reactjs/tinymce/skins/ |
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 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 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 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 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 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,29 @@ | ||
# Background about JSVC and oEQ | ||
|
||
JSVC is a binary required to support running oEQ and the Upgrade Manager as a Daemon process in | ||
Unix alike systems. It had not been updated until 2022 when we started adding the support | ||
for Java 11. And the previous version of JSVC used in oEQ does not support Java 11. As a result, | ||
we tried to build the JSVC binary again. | ||
|
||
## How to build the JSVC binary | ||
* Install required dependencies | ||
* GNU AutoConf (at least version 2.53) | ||
* An ANSI-C compliant compiler (e.g GCC) | ||
* GNU Make | ||
* Download the source code from this [page](https://commons.apache.org/proper/commons-daemon/download_daemon.cgi) | ||
* Unzip the file and go to directory `src/native/unix ` | ||
* Execute the provided scripts to generate the binary | ||
``` | ||
./support/buildconf.sh | ||
./configure | ||
``` | ||
* You will notice some files are created after above step. And now you can run `make` to generate the executable file. | ||
For more details, please check this [page](https://commons.apache.org/proper/commons-daemon/jsvc.html) | ||
## How to get the Windows executables | ||
The JSVC equivalent on Windows is called `Procrun` which typically has two executables: `prunmgr.exe` and `prunsrv.exe`. | ||
These two files can be downloaded from this [page](https://archive.apache.org/dist/commons/daemon/binaries/windows/). | ||
For details about how to use the executables, please check this [page](https://commons.apache.org/proper/commons-daemon/procrun.html). |
7 changes: 7 additions & 0 deletions
7
Installer/data/server/manager/linux/config/equellaserver-config.sh.unresolved
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,7 @@ | ||
#export RUN_USER=equella | ||
export JAVA_HOME="${java/jdk#t\/}" | ||
#export JMX_CONFIG="-Dcom.sun.management.jmxremote.port=8855 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false" | ||
#export HEAP_CONFIG="-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=../" | ||
export CLASSPATH="../learningedge-config:../server/equella-server.jar" | ||
export JAVA_OPTS="${webserver/javaopts} -Xrs -Xms${memory/min} -Xmx${memory/max} -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false -Djava.awt.headless=true -Djava.io.tmpdir=../server/temp -XX:MaxGCPauseMillis=500 -XX:NewRatio=3 -XX:GCTimeRatio=16 -XX:+DisableExplicitGC -XX:+UseG1GC -XX:CMSInitiatingOccupancyFraction=70 -Dcom.sun.jndi.ldap.connect.pool.timeout=3000000 -Dcom.sun.jndi.ldap.connect.pool.maxsize=200 -Dcom.sun.jndi.ldap.connect.pool.prefsize=20" | ||
|
File renamed without changes.
Binary file not shown.
Oops, something went wrong.