This repository has been archived by the owner on Oct 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from ldsec/dev
MedCo v0.3.0
- Loading branch information
Showing
60 changed files
with
2,145 additions
and
1,358 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,3 +1,5 @@ | ||
.DS_Store | ||
configuration-profiles/dev/ | ||
resources/data/ | ||
resources/data/ | ||
compose-profiles/test-network-* | ||
configuration-profiles/test-network-* |
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,30 @@ | ||
sudo: required | ||
language: minimal | ||
services: | ||
- docker | ||
- postgresql | ||
|
||
notifications: | ||
email: false | ||
|
||
env: | ||
#MEDCO_DB_NUMBER is the number of databases used in the profile that will be tested | ||
- MEDCO_DB_NUMBER=9 MEDCO_DB_HOST=localhost MEDCO_DB_PORT=5432 MEDCO_DB_USER=postgres MEDCO_DB_PASSWORD=postgres MEDCO_DB_NAME=postgres MEDCO_USER_USERNAME=test MEDCO_USER_PASSWORD=test | ||
|
||
|
||
before_install: | ||
- cd ~/build/ldsec/medco-deployment/resources/data | ||
- bash download.sh | ||
- cd ~/build/ldsec/medco-deployment/compose-profiles/dev-local-3nodes | ||
- docker-compose build | ||
- docker-compose -f docker-compose.tools.yml pull medco-cli-client medco-loader-srv0 medco-loader-srv1 medco-loader-srv2 | ||
|
||
install: | ||
- docker-compose up -d | ||
- bash ~/build/ldsec/medco-deployment/resources/utility-scripts/wait_for_startup.sh $MEDCO_DB_NUMBER $MEDCO_DB_HOST $MEDCO_DB_PORT $MEDCO_DB_USER $MEDCO_DB_PASSWORD $MEDCO_DB_NAME | ||
- docker-compose -f docker-compose.tools.yml run medco-loader-srv0 v0 --ont_clinical /data/genomic/tcga_cbio/8_clinical_data.csv --sen /data/genomic/sensitive.txt --ont_genomic /data/genomic/tcga_cbio/8_mutation_data.csv --clinical /data/genomic/tcga_cbio/8_clinical_data.csv --genomic /data/genomic/tcga_cbio/8_mutation_data.csv --output /data/ | ||
- docker-compose -f docker-compose.tools.yml run medco-loader-srv1 v0 --ont_clinical /data/genomic/tcga_cbio/8_clinical_data.csv --sen /data/genomic/sensitive.txt --ont_genomic /data/genomic/tcga_cbio/8_mutation_data.csv --clinical /data/genomic/tcga_cbio/8_clinical_data.csv --genomic /data/genomic/tcga_cbio/8_mutation_data.csv --output /data/ | ||
- docker-compose -f docker-compose.tools.yml run medco-loader-srv2 v0 --ont_clinical /data/genomic/tcga_cbio/8_clinical_data.csv --sen /data/genomic/sensitive.txt --ont_genomic /data/genomic/tcga_cbio/8_mutation_data.csv --clinical /data/genomic/tcga_cbio/8_clinical_data.csv --genomic /data/genomic/tcga_cbio/8_mutation_data.csv --output /data/ | ||
|
||
script: | ||
- bash ~/build/ldsec/medco-deployment/resources/utility-scripts/test_e2e.sh $MEDCO_USER_USERNAME $MEDCO_USER_PASSWORD |
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,7 +1,35 @@ | ||
## Documentation | ||
MedCo documentation is centralized on the following website: | ||
[MedCo Deployment](https://medco.epfl.ch/documentation/developer/components/medco-deployment.html). | ||
## medco-deployment | ||
*medco-deployment* contains the scripts to deploy MedCo in different scenarios. | ||
|
||
A description of the available deployment profiles, along with a detailed guide on how to use them, is available [here](https://ldsec.gitbook.io/medco-documentation/system-administrator-guide/deployment). | ||
|
||
## Source code organization | ||
- *compose-profiles*: docker-compose files and parameters for different deployment profiles | ||
- *[dev-local-3nodes](https://ldsec.gitbook.io/medco-documentation/system-administrator-guide/deployment/local-development-deployment)*: profile that deploys 3 MedCo nodes on a single machine for development purposes | ||
- *[test-local-3nodes](https://ldsec.gitbook.io/medco-documentation/system-administrator-guide/deployment/local-test-deployment)*: profile that deploys 3 MedCo nodes on a single machine for test purposes | ||
- *configuration-profiles*: configuration files for the different deployment profiles (cryptographic keys, certificates, etc.) | ||
- *dev-local-3nodes*: configuration files for the *dev-local-3nodes* profile | ||
- *test-local-3nodes*: configuration files for the *test-local-3nodes* profile | ||
- *docker-images*: configuration files for the docker images that are used in the different deployment profiles | ||
- *i2b2*: configuration files for 12b2 | ||
- *keycloak*: configuration files for keycloak | ||
- *nginx*: configuration files for nginx | ||
- *pgadmin*: configuration files for pgadmin | ||
- *postgresql*: configuration files for postgresql | ||
- *resources*: additional configuration and utility files | ||
- *configuration*: keycloak configuration files | ||
- *data*: script to download the test datasets | ||
- *profile-generation-scripts*: scripts to generate various deployment profiles files | ||
- *test-network*: scripts to generate the deployment profiles files for the [Network Test Deployment](https://ldsec.gitbook.io/medco-documentation/system-administrator-guide/deployment/network-test-deployment) profile | ||
- *utility-scripts*: additional utility scripts | ||
|
||
## Useful information | ||
*medco-deployment* is part of the MedCo system. | ||
|
||
You can find more information about the MedCo project [here](https://medco.epfl.ch/). | ||
|
||
For further details, support, and contacts, you can check the [MedCo Technical Documentation](https://ldsec.gitbook.io/medco-documentation/). | ||
|
||
## License | ||
*medco-deployment* is licensed under a End User Software License Agreement ('EULA') for non-commercial use. | ||
*medco-deployment* is licensed under a End User Software License Agreement ('EULA') for non-commercial use. | ||
If you need more information, please contact us. |
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,9 +1,7 @@ | ||
I2B2_VERSION=dev | ||
MEDCO_UNLYNX_VERSION=dev | ||
NGINX_VERSION=dev | ||
PHP_FPM_VERSION=dev | ||
PGADMIN_VERSION=dev | ||
KEYCLOAK_VERSION=dev | ||
PICSURE_VERSION=dev | ||
MEDCO_CONNECTOR_VERSION=dev | ||
MEDCO_LOADER_VERSION=dev | ||
MEDCO_LOADER_VERSION=dev |
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.