# HG changeset patch # User smith@nwoca.org # Date 1514317654 0 # Node ID 3133ce0016039e72561eab24be5a253996733e4b # Parent 83f3340fe2a1a2fbd1b4b9f9c6a66f348348f349 add ability to specify usasimport override file diff -r 83f3340fe2a1 -r 3133ce001603 pilot/import-usas.sh --- a/pilot/import-usas.sh Mon Nov 06 10:34:54 2017 -0500 +++ b/pilot/import-usas.sh Tue Dec 26 19:47:34 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