# HG changeset patch # User smith@nwoca.org # Date 1514317406 0 # Node ID 773ec9cc88a99db1fda63edda2a2e03b2fe2d3a4 # Parent 195d46a689d407b7fa97af42c5a480b39a2b848c add ability to specify usasimport override file diff -r 195d46a689d4 -r 773ec9cc88a9 pilot/import-usas.sh --- a/pilot/import-usas.sh Mon Oct 09 21:35:35 2017 +0100 +++ b/pilot/import-usas.sh Tue Dec 26 19:43:26 2017 +0000 @@ -11,10 +11,11 @@ export IMP_PATH=${IMP_PATH} [ -f "docker-compose.override.yml" ] && export OVERRIDE=" -f docker-compose.override.yml" +[ -f "docker-compose.usasimport.override.yml" ] && export OVERRIDE2=" -f docker-compose.usasimport.override.yml" # docker-compose -f docker-compose.yml -f ${SSDT_HOME}/pilot/import-usas.yml $OVERRIDE rm -f usasimport # start import and wait for completion -docker-compose -f docker-compose.yml -f ${SSDT_HOME}/pilot/import-usas.yml $OVERRIDE up usasimport | tee usasimport.log +docker-compose -f docker-compose.yml -f ${SSDT_HOME}/pilot/import-usas.yml $OVERRIDE $OVERRIDE2 up usasimport | tee usasimport.log # remove temporary container docker-compose -f docker-compose.yml -f ${SSDT_HOME}/pilot/import-usas.yml $OVERRIDE rm -f usasimport # start application