Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Remove pslot dir from local archive folder on CI case completion #2961
Remove pslot dir from local archive folder on CI case completion #2961
Changes from 6 commits
1c159d8
e7aa3ba
463655a
b511367
40c96b2
54ce216
cacde8c
c8a10a9
7c93f4b
bb92a39
bfcbba5
69fc51b
49b4489
b776a59
d8af194
d54bd8d
85f6369
6a09b36
32b8cd0
e01d9d3
3d5e851
162474a
7da3721
c6ad4ec
bef32e7
02642fc
62ec3f6
7e5b4fb
bf3b80f
cd4e27b
5ea8d3d
99b9322
f56be33
9a381b4
788dd8f
7d3b8bf
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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 this should be reading in
$ARCDIR
fromconfig.base
, similar to how you are reading in$HOMEDIR
. Note that the default ARCDIR is${NOSCRUB}/archive
, not${HOMEDIR}/archive
.$ARCDIR
already includes the pslot, so it won't need to be added to the next line.@WalterKolczynski-NOAA On the other hand
export NOSCRUB="$HOMEDIR"
is also inconfg.base
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.
Yeah, we should have lead with that.
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.
Ok updated using ARCDIR.
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.
Test failed because ARCDIR has an unresolved sub-string
${NOSCRUB}
derived from${HOMEDIR}
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.
@WalterKolczynski-NOAA David Huber came up with idea of scraping the archive log files in COMROOT:
I'll get that in tomorrow as another proposed solution.
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.
Instead of that, why not just feed the value of
$NOSCRUB
in?Or if we want to be more rigorous
Or we could just cut to the chase and source
config.base
and get everything.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.
IMHO "reconstructing" paths from hidden knowledge of their specificity such as interim archive placements is a non-systematic and haphazard approach resulting in a one-off paradigm. If we really want to be rigorous I would propose a transformation from logs to a systematic and intent-full pedigree framework that could be leveraged for a requirement such as this.