-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '9714-files-api-extension-filters' of github.com:IQSS/da…
…taverse into 9785-files-api-extension-search
- Loading branch information
Showing
91 changed files
with
1,656 additions
and
2,503 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
APP_IMAGE=gdcc/dataverse:unstable | ||
POSTGRES_VERSION=13 | ||
DATAVERSE_DB_USER=dataverse | ||
SOLR_VERSION=8.11.1 | ||
SOLR_VERSION=9.3.0 |
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 |
---|---|---|
|
@@ -8,7 +8,6 @@ on: | |
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
environment: beta-testing | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
@@ -38,7 +37,6 @@ jobs: | |
deploy-to-payara: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
environment: beta-testing | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
@@ -55,29 +53,29 @@ jobs: | |
- name: Copy war file to remote instance | ||
uses: appleboy/scp-action@master | ||
with: | ||
host: ${{ secrets.PAYARA_INSTANCE_HOST }} | ||
username: ${{ secrets.PAYARA_INSTANCE_USERNAME }} | ||
key: ${{ secrets.PAYARA_INSTANCE_SSH_PRIVATE_KEY }} | ||
host: ${{ secrets.BETA_PAYARA_INSTANCE_HOST }} | ||
username: ${{ secrets.BETA_PAYARA_INSTANCE_USERNAME }} | ||
key: ${{ secrets.BETA_PAYARA_INSTANCE_SSH_PRIVATE_KEY }} | ||
source: './${{ env.war_file }}' | ||
target: '/home/${{ secrets.PAYARA_INSTANCE_USERNAME }}' | ||
target: '/home/${{ secrets.BETA_PAYARA_INSTANCE_USERNAME }}' | ||
overwrite: true | ||
|
||
- name: Execute payara war deployment remotely | ||
uses: appleboy/[email protected] | ||
env: | ||
INPUT_WAR_FILE: ${{ env.war_file }} | ||
with: | ||
host: ${{ secrets.PAYARA_INSTANCE_HOST }} | ||
username: ${{ secrets.PAYARA_INSTANCE_USERNAME }} | ||
key: ${{ secrets.PAYARA_INSTANCE_SSH_PRIVATE_KEY }} | ||
host: ${{ secrets.BETA_PAYARA_INSTANCE_HOST }} | ||
username: ${{ secrets.BETA_PAYARA_INSTANCE_USERNAME }} | ||
key: ${{ secrets.BETA_PAYARA_INSTANCE_SSH_PRIVATE_KEY }} | ||
envs: INPUT_WAR_FILE | ||
script: | | ||
APPLICATION_NAME=dataverse-backend | ||
ASADMIN='/usr/local/payara5/bin/asadmin --user admin' | ||
ASADMIN='/usr/local/payara6/bin/asadmin --user admin' | ||
$ASADMIN undeploy $APPLICATION_NAME | ||
$ASADMIN stop-domain | ||
rm -rf /usr/local/payara5/glassfish/domains/domain1/generated | ||
rm -rf /usr/local/payara5/glassfish/domains/domain1/osgi-cache | ||
rm -rf /usr/local/payara6/glassfish/domains/domain1/generated | ||
rm -rf /usr/local/payara6/glassfish/domains/domain1/osgi-cache | ||
$ASADMIN start-domain | ||
$ASADMIN deploy --name $APPLICATION_NAME $INPUT_WAR_FILE | ||
$ASADMIN stop-domain | ||
|
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 |
---|---|---|
|
@@ -42,5 +42,4 @@ jobs: | |
scripts/issues/* | ||
scripts/r/* | ||
scripts/tests/* | ||
scripts/vagrant/* | ||
tests/* |
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 |
---|---|---|
|
@@ -18,7 +18,6 @@ GRTAGS | |
.Trashes | ||
ehthumbs.db | ||
Thumbs.db | ||
.vagrant | ||
*.pyc | ||
*.swp | ||
scripts/api/py_api_wrapper/demo-data/* | ||
|
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
Oops, something went wrong.