From def262c3083aac44ac2055c6d76c305b374553e7 Mon Sep 17 00:00:00 2001 From: Gaofei <15748980+dippindots@users.noreply.github.com> Date: Wed, 12 Apr 2023 14:09:04 -0400 Subject: [PATCH] Reorganize docs and add available parameters for buildproductionjars.sh script --- ...Database-Migration.md => MSK-Maintenance.md} | 17 ++++++++++++++++- docs/SUMMARY.md | 3 +-- 2 files changed, 17 insertions(+), 3 deletions(-) rename docs/{Database-Migration.md => MSK-Maintenance.md} (82%) diff --git a/docs/Database-Migration.md b/docs/MSK-Maintenance.md similarity index 82% rename from docs/Database-Migration.md rename to docs/MSK-Maintenance.md index 08cefa1f7f2..159200f199c 100644 --- a/docs/Database-Migration.md +++ b/docs/MSK-Maintenance.md @@ -37,8 +37,23 @@ In the database migration process, we are going to have two main steps: building - `cd /data/portal-cron/git-repo/pipelines-configuration/build-importer-jars` - (Optional) Remove existing jars - `rm *.jar` - - Build all importers at once + - Build all importers at once (build all importers except cmo-pipelines) - `sh buildproductionjars.sh -sd=true -sgp=true -b=importers` + - Available parameters: + - [--cbioportal-git-hash|-cgh=] + - [--skip-deployment|-sd=] + - [--skip-git-pull|-sgp=] + - [--build|-b=], build_specifier should be one of the following + - all (build for all artifacts) + - importers (all importers except cmo-pipelines) + - cmo-pipelines (cmo-pipelines artifacts only) + - triage-cmo-importer + - msk-dmp-importer + - msk-cmo-importer + - public-importer + - genie-aws-importer + - genie-archive-importer + - hgnc-importer ### Updating Database Scheme Database needs to be updated one by one, we have four main databases: triage, private, genie, and public. Take triage database as an example. diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md index f79dca90b63..da0cf6cc1bc 100644 --- a/docs/SUMMARY.md +++ b/docs/SUMMARY.md @@ -56,11 +56,10 @@ * [Importing Gene Panels](Import-Gene-Panels.md) * [Study View Customization with Priority Data](deployment/customization/Studyview.md) * [cBioPortal Maintenance](deployment/cbioportal-maintenance/README.md) - * [MSK Maintenance]() - * [Database Migration / Importer Update](Database-Migration.md) * [Updating your cBioPortal Database Scheme](Updating-your-cBioPortal-installation.md) * [Update genes and gene aliases](Updating-gene-and-gene_alias-tables.md) * [Migration Guide](Migration-Guide.md) + * [MSK Maintenance](MSK-Maintenance.md) * [Development](documentation/docs/README.md) * [Feature Development Guide](feature-development-guide.md) * [cBioPortal Entity-relationship Diagram](cBioPortal-ER-Diagram.md)