Skip to content

Commit

Permalink
Merge pull request #155 from HBPMedical/dev/portal_backend_refactoring
Browse files Browse the repository at this point in the history
PortalBackend new version. Exareme1 and Galaxy also removed.
  • Loading branch information
nicedexter authored Sep 7, 2023
2 parents e2796df + dd93fd2 commit d15f20a
Show file tree
Hide file tree
Showing 65 changed files with 437 additions and 2,991 deletions.
39 changes: 4 additions & 35 deletions .github/workflows/portalbackend-integration-tests.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
name: CI


on:
push:
branches: [ master ]
pull_request:
branches: [ master ]



jobs:

portal-backend-integration-tests:
runs-on: ubuntu-latest
steps:
Expand All @@ -22,40 +18,13 @@ jobs:
with:
python-version: 3.8

- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.3.2
virtualenvs-create: true
virtualenvs-in-project: true

- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: ./tests/backend_components/.venv
key: venv-${{ runner.os }}-${{ hashFiles('./tests/backend_components/pyproject.toml') }}

- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
working-directory: ./tests/backend_components/
run: poetry install --no-interaction

- name: Deploy portalbackend, exareme and exareme2
- name: Deploy portalbackend and exareme2
working-directory: ./tests/
run: bash start.sh

- name: Get deployment status
run: docker ps

- name: Run the success tests
working-directory: ./tests/backend_components/test_integration/
run: poetry run pytest test_success_cases

- name: Run the failure tests
working-directory: ./tests/backend_components/test_integration/
run: poetry run pytest test_fail_cases

- name: Run the federation info tests
working-directory: ./tests/backend_components/test_integration/
run: poetry run pytest test_federation_info.py
- name: Run the tests
working-directory: ./tests/
run: bash test.sh
4 changes: 1 addition & 3 deletions .versions_env
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
EXAREME2=0.18.1
EXAREME=24.5.1
PORTALBACKEND=7.9.0
PORTALBACKEND=8.0.0
GATEWAY=1.5.0
FRONTEND=9.3.1
GALAXY=1.3.4
MIP=7.1.0
4 changes: 0 additions & 4 deletions Federation/README.md

This file was deleted.

1 change: 0 additions & 1 deletion Federation/config/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion Federation/config/disabledAlgorithms.json

This file was deleted.

Binary file removed Federation/doc/MIP_Federated_Configuration.png
Binary file not shown.
Binary file removed Federation/doc/MIP_Federated_Configuration.vsdx
Binary file not shown.
Binary file removed Federation/doc/MIP_Federated_Deployment.png
Binary file not shown.
Binary file removed Federation/doc/MIP_Federated_Deployment.vsdx
Binary file not shown.
Binary file removed Federation/doc/MIP_Federated_Deployment_II.png
Binary file not shown.
Binary file removed Federation/doc/MIP_Federated_Deployment_II.vsdx
Binary file not shown.
51 changes: 0 additions & 51 deletions Federation/doc/MonitoringMIPFederation.md

This file was deleted.

186 changes: 0 additions & 186 deletions Federation/doc/OperatingMIPFederation.md

This file was deleted.

Loading

0 comments on commit d15f20a

Please sign in to comment.