-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BASH GitHub CLI version of High Resolution cases used for CI weekly tests #1869
BASH GitHub CLI version of High Resolution cases used for CI weekly tests #1869
Conversation
… high resolution C384 cases
…orkflow into develop
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one minor syntax issue, plus fixing the comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great.
Some minor updates to clarify the branch name and cleaning up after the script finishes.
Co-authored-by: Walter Kolczynski - NOAA <[email protected]>
Co-authored-by: Walter Kolczynski - NOAA <[email protected]>
Co-authored-by: Walter Kolczynski - NOAA <[email protected]>
Co-authored-by: Walter Kolczynski - NOAA <[email protected]>
Co-authored-by: Walter Kolczynski - NOAA <[email protected]>
Co-authored-by: Walter Kolczynski - NOAA <[email protected]>
Co-authored-by: Rahul Mahajan <[email protected]>
Co-authored-by: Rahul Mahajan <[email protected]>
Co-authored-by: Rahul Mahajan <[email protected]>
Co-authored-by: Rahul Mahajan <[email protected]>
… remove temp files for the git push
Co-authored-by: Rahul Mahajan <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost ready, left comment about sourcing platform env for the temp space GFS_CI_ROOT.
ci/scripts/driver_weekly.sh
Outdated
|
||
rm -Rf "${HOMEgfs_PR}/ci/cases/pr" | ||
mv "${HOMEgfs_PR}/ci/cases/weekly" "${HOMEgfs_PR}/ci/cases/pr" | ||
cd "${HOMEgfs_PR}" || exit 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we are already in ${HOMEgfs_PR}
. There is no need to cd into it again.
…ness-NOAA/global-workflow into feature/bash_weekly_pr_CI
do | ||
"${GH}" pr edit --add-label "${label}" | ||
done | ||
rm -Rf "${develop_dir}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The script may have trouble removing this directory as it is presently in that CWD/global-workflow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh right, it should work because the shell quits on return, but yeah it's not a good idea.
move off of directory that is being removed at the end of the driver_weekly bash script
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated code for suggestion about deleting dir the shell is in
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Lets get this to run weekly.
Description
A BASH script using GitHub CLI is added to create a branch from develop named weekly_tests and moves the cases from
$HOMEgfs/ci/cases/weekly
to$HOMEgfs/ci/cases/pr
and then opens a PR and labels it with CI-Hera-Ready and CI-Orion-Ready thus creating a weekly high resolution test run that can easily be launched by a cron job.Resolves #1663
Type of change
Tests Ran
weekly_tests.sh
and successfully create PR with labels and new cases in pr directoryChecklist