Skip to content

Commit

Permalink
Hot fix for bash CI on WCOSS2 (NOAA-EMC#2536)
Browse files Browse the repository at this point in the history
A couple of minor hotfixes need for bash CI to work on WCOSS2.
PR tested in bash on WCOSS with these changes

Co-authored-by: tmcguinness <terry.mcguinness@noaa.gov>
  • Loading branch information
TerrenceMcGuinness-NOAA and tmcguinness authored Apr 25, 2024
1 parent f11bf3d commit 11bf141
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion ci/scripts/clone-build_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ git clone "${REPO_URL}"
cd global-workflow || exit 1

# checkout pull request
"${GH}" pr checkout "${PR}" --repo "${REPO_URL}" --recurse-submodules -j 4
"${GH}" pr checkout "${PR}" --repo "${REPO_URL}" --recurse-submodules
HOMEgfs="${PWD}"
source "${HOMEgfs}/ush/detect_machine.sh"

Expand Down
2 changes: 0 additions & 2 deletions ci/scripts/utils/rocotostat.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ def rocoto_statcount():
rocoto_status = rocoto_statcount()

if rocoto_status['CYCLES_TOTAL'] == rocoto_status['CYCLES_DONE']:
if not args.export:
print(f"All {rocoto_status['CYCLES_TOTAL']} Cycles are Done")
rocoto_state = 'DONE'
elif rocoto_status['DEAD'] > 0:
error_return = rocoto_status['FAIL'] + rocoto_status['DEAD']
Expand Down

0 comments on commit 11bf141

Please sign in to comment.