-
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
Add hash to CI experiment paths to avoid collisions #1735
Add hash to CI experiment paths to avoid collisions #1735
Conversation
no op change for test
no op change for test
…orkflow into develop
…orkflow into develop
…orkflow into develop
…orkflow into develop
…orkflow into develop
…orkflow into develop
…orkflow into develop
…orkflow into develop
…orkflow into develop
…nness-NOAA/global-workflow into feature_1732_add-pslot-tag
…nness-NOAA/global-workflow into feature_1732_add-pslot-tag
…nness-NOAA/global-workflow into feature_1732_add-pslot-tag
…till there (bug fix)
# since all successfull ones where previously removed | ||
if [[ "${num_cases}" -eq 0 ]] && [[ -d "${pr_dir}/RUNTESTS" ]]; then | ||
if [[ -z $(ls -A "${pr_dir}/RUNTESTS/EXPDIR") ]] ; then |
Check notice
Code scanning / shellcheck
Consider invoking this command separately to avoid masking its return value (or use '|| true' to ignore).
…nness-NOAA/global-workflow into feature_1732_add-pslot-tag
updated edate
can not use || ture because needs to be false when dir is empty
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 have tried to clear up the confusion between a case
and pslot
.
A case
is not a pslot
as the pslot
now contains a git SHA.
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]>
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]>
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.
Looks good. Though I have a few more suggestions for clean up that uses the variables defined rather than creating paths from variables that need to be known.
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]>
Co-authored-by: Rahul Mahajan <[email protected]>
Co-authored-by: Rahul Mahajan <[email protected]>
|
With final updates debugged all cases pass. |
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.
Description
When creating experiments we add a HASH tag onto the pslot name so that we can get unique behavior when moving archive information around.
Also, the "extra" pslot name is removed down from the
../RUNTESTS/
pathType of change
Please delete options that are not relevant.
How Has This Been Tested?
Checklist