Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions ci/run_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,15 @@ fi
# HERA role.jedipara can not use /scratch1/NCEPDEV/global. MSU role-da
# can not use /work2/noaa/global. The logic below modifies the paths so
# role.jedipara and role-da can run g-w based ctests.
if [[ "${TARGET}" = "hera" ]]; then
if [[ $TEST_WORKFLOW == 1 ]]; then
Comment thread
CoryMartin-NOAA marked this conversation as resolved.
if [[ "${TARGET}" = "hera" ]]; then
echo "***WARNING*** apply ${TARGET} global-->da patch to $workflow_dir/workflow/hosts/${TARGET}.yaml"
sed -i "s|/scratch1/NCEPDEV/global/\${USER}|/scratch1/NCEPDEV/da/\${USER}|g" $workflow_dir/workflow/hosts/${TARGET}.yaml
fi
if [[ "${TARGET}" = "orion" || "${TARGET}" = "hercules" ]]; then
fi
if [[ "${TARGET}" = "orion" || "${TARGET}" = "hercules" ]]; then
echo "***WARNING*** apply MSU stmp patch to $workflow_dir/workflow/hosts/${TARGET}.yaml"
sed -i "s|/work2/noaa/global/\${USER}|/work2/noaa/da/\${USER}|g" $workflow_dir/workflow/hosts/${TARGET}.yaml
fi
fi
# PATCH END

Expand Down