-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into clover-viewer
- Loading branch information
Showing
176 changed files
with
4,605 additions
and
3,197 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 |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
ports: | ||
- 46380:6379 | ||
fedora: | ||
image: fcrepo/fcrepo:5.1.1 | ||
image: fcrepo/fcrepo:5.1.1-multiplatform | ||
ports: | ||
- 48085:8080 | ||
volumes: | ||
|
@@ -38,7 +38,7 @@ jobs: | |
- name: Get Container ID of fedora service | ||
id: get_container_id | ||
run: | | ||
CONTAINER_ID=$(docker ps --format "{{.ID}}" -f "ancestor=fcrepo/fcrepo:5.1.1") | ||
CONTAINER_ID=$(docker ps --format "{{.ID}}" -f "ancestor=fcrepo/fcrepo:5.1.1-multiplatform") | ||
echo "CONTAINER_ID=$CONTAINER_ID" >> $GITHUB_ENV | ||
- name: Restart fedora now that the repository has been checked out so config files are available | ||
run: docker restart ${{ env.CONTAINER_ID }} | ||
|
@@ -47,6 +47,17 @@ jobs: | |
run: | | ||
docker run -d --rm -p 43030:3030 atomgraph/fuseki --mem /test | ||
- name: Make directory for solr config | ||
run: mkdir -p /tmp/solr-config | ||
|
||
# Need to copy the config is outside of the source path, otherwise it produces permission conflicts | ||
- name: Copy Solr Config into container | ||
run: sudo cp -r ${{ github.workspace }}/etc/solr-config/* /tmp/solr-config/ | ||
|
||
- name: Run solr container as command to trigger core creation | ||
run: | | ||
docker run -v /tmp/solr-config:/solr_config -d --rm -p 48983:8983 solr:9 solr-precreate access /solr_config/access | ||
- name: Checkout submodules | ||
run: git submodule update --init --recursive | ||
|
||
|
@@ -75,11 +86,11 @@ jobs: | |
restore-keys: v1-npm-deps- | ||
|
||
- run: npm --prefix static/js/vue-cdr-access install | ||
- run: npm --prefix static/js/admin/vue-permissions-editor install | ||
- run: npm --prefix static/js/admin/vue-cdr-admin install | ||
|
||
- run: npm install -g [email protected] | ||
- run: npm --prefix static/js/vue-cdr-access run test | ||
- run: npm --prefix static/js/admin/vue-permissions-editor run test | ||
- run: npm --prefix static/js/admin/vue-cdr-admin run test | ||
|
||
- name: Report to CodeClimate | ||
uses: paambaati/[email protected] | ||
|
@@ -92,7 +103,7 @@ jobs: | |
${{github.workspace}}/**/target/site/jacoco/jacoco.xml:jacoco | ||
${{github.workspace}}/**/target/site/jacoco-it/jacoco.xml:jacoco | ||
${{github.workspace}}/static/js/vue-cdr-access/coverage/lcov.info:lcov | ||
${{github.workspace}}/static/js/admin/vue-permissions-editor/coverage/lcov.info:lcov | ||
${{github.workspace}}/static/js/admin/vue-cdr-admin/coverage/lcov.info:lcov | ||
- name: View fedora service logs | ||
if: always() | ||
|
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
Oops, something went wrong.