diff --git a/ci/run_ci.sh b/ci/run_ci.sh index 9e67b1e12..cc39dcc63 100755 --- a/ci/run_ci.sh +++ b/ci/run_ci.sh @@ -91,6 +91,18 @@ if [[ $TEST_WORKFLOW == 1 ]]; then fi # ============================================================================== # run ctests + +# PATCH START +# MSU role-da can not use /work/noaa/stmp at present. The logic below +# modifies the stmp path used by g-w so that role-da can run g-w based +# ctests. This logic will be removed after MSU role-da is added to the +# stmp group. +if [[ "${TARGET}" = "orion" || "${TARGET}" = "hercules" ]]; then + echo "***WARNING*** apply MSU stmp patch to $workflow_dir/workflow/hosts/${TARGET}.yaml" + sed -i "s|/noaa/stmp|/noaa/da|g" $workflow_dir/workflow/hosts/${TARGET}.yaml +fi +# PATCH END + cd $gdasapp_dir/build module use $gdasapp_dir/modulefiles module load GDAS/$TARGET