Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 4 additions & 62 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,39 +150,10 @@ jobs:
docker exec $DNAME /bin/bash -c "cd /dspace/bin && ./dspace healthcheck -v"

playwright-after-deploy8:
runs-on: dspace-test-1
needs: deploy-8
timeout-minutes: 45
if: '!inputs.IMPORT'
steps:
- name: Checkout Playwright tests
uses: actions/checkout@v4
with:
repository: dataquest-dev/dspace-ui-tests
path: dspace-ui-tests
token: ${{ secrets.DEPLOY_DEV5_GH_ACTION_DISPATCH }}

- name: Checkout main repository
uses: actions/checkout@v4
with:
path: this-repository

- name: Copy customer config to UI tests repository for merging
run: |
cp this-repository/config/config.lindat.ui.tests.json dspace-ui-tests/customer-constants/

- name: test
working-directory: dspace-ui-tests/scripts
env:
HOME_URL: https://dev-5.pc:8443/repository/
NAME: LINDAT
run: |
./test.sh

- uses: mazoea/ga-maz/end@master
with:
CHOWN_DIR: ./
if: ${{ always() }}
uses: ./.github/workflows/playwright-tests.yml
secrets: inherit

rest-tests-after-deploy8:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -219,39 +190,10 @@ jobs:


playwright-after-import8:
runs-on: dspace-test-1
needs: import-8
if: inputs.IMPORT
timeout-minutes: 45
steps:
- name: Checkout Playwright tests
uses: actions/checkout@v4
with:
repository: dataquest-dev/dspace-ui-tests
path: dspace-ui-tests
token: ${{ secrets.DEPLOY_DEV5_GH_ACTION_DISPATCH }}

- name: Checkout main repository
uses: actions/checkout@v4
with:
path: this-repository

- name: Copy customer config to UI tests repository for merging
run: |
cp this-repository/config/config.lindat.ui.tests.json dspace-ui-tests/customer-constants/

- name: test
working-directory: dspace-ui-tests/scripts
env:
HOME_URL: https://dev-5.pc:8443/repository/
NAME: LINDAT
run: |
./test.sh

- uses: mazoea/ga-maz/end@master
with:
CHOWN_DIR: ./
if: ${{ always() }}
uses: ./.github/workflows/playwright-tests.yml
secrets: inherit

rest-tests-after-import8:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trigger-ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

git fetch --prune origin
BRANCHES=$(git ls-remote --heads origin | awk -F'/' '{print $3"/"$4}' | grep '^customer/')
SKIP_BRANCHES=("customer/sav" "customer/vsb-tuo")
SKIP_BRANCHES=("customer/sav")

for branch in $(echo "$BRANCHES" | sed -e 's/[\[\]"]//g' -e 's/,/\n/g'); do
if [[ " ${SKIP_BRANCHES[@]} " =~ " ${branch} " ]]; then
Expand Down
Loading