Sanity check using description
-
Gather required variables.
export ODM_URL=https://odm.localhost
export ODM_TOKEN=yourTokenFromRootUser
-
Run check over ODM instance before the upgrade.
docker run \
--env ODM_URL=${ODM_URL} \
--env ODM_TOKEN=${ODM_TOKEN} \
091468197733.dkr.ecr.us-east-1.amazonaws.com/genestack/clickhouse-helper \
odm sanity > sanity-result-before.jsonl
-
Proceed with upgrading ODM instance
-
Run check over ODM instance after the upgrade
docker run \
--env ODM_URL=${ODM_URL} \
--env ODM_TOKEN=${ODM_TOKEN} \
091468197733.dkr.ecr.us-east-1.amazonaws.com/genestack/clickhouse-helper \
odm sanity > sanity-result-after.jsonl
-
Run a diff:
diff sanity-result-before.jsonl sanity-result-after.jsonl
Basically there should be no changes, except studies with already uploaded VCF files, they should be started to reimport.