Skip to content

Commit

Permalink
add patch to allow MSU role account to run CI (#1433)
Browse files Browse the repository at this point in the history
  • Loading branch information
RussTreadon-NOAA committed Jan 10, 2025
1 parent d1ff5d5 commit 943d87b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ci/run_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 943d87b

Please sign in to comment.