-
Notifications
You must be signed in to change notification settings - Fork 94
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
Allow Symlinking for log/job #6168
Conversation
acb924a
to
b4b99c5
Compare
b4b99c5
to
a2f4335
Compare
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.
cylc clean
needs to be updated to reflect this change.
Try this config:
[install]
[[symlink dirs]]
[[[localhost]]]
log = $SCRATCH
log/job = $DATADIR
$ cylc vip x
$ sleep 10
$ cylc stop x
$ cylc clean x -y
$ tree $HOME/cylc-run/x $SCRATCH/cylc-run/x $DATADIR/cylc-run/x
I get the log/job
directory left behind on $DATADIR
with this configuration.
Also worth trying this out with remote platforms to make sure clean works in that context too.
a2f4335
to
b09005a
Compare
Mildly irked that there isn't a single source of truth about the symlink dirs, but I ended up with circular import issues trying to do that.
Yes - have done. |
There was before! Try moving your new dict in with the previous one. Circular import issues can be solved. |
5aa9b5a
to
4ab40c2
Compare
4ab40c2
to
eb945d5
Compare
Worth looking at testing I would have thought tests/functional/cylc-clean/00-basic.t would have noticed the dirs left behind by |
response to review: ensure cylc clean works.
babe657
to
63ddcab
Compare
Ensure that test actually creates symlinks to be cleaned.
63ddcab
to
44e846a
Compare
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.
LGTM
Co-authored-by: Oliver Sanders <[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.
Nice.
closes #6145
Check List
CONTRIBUTING.md
and added my name as a Code Contributor.setup.cfg
(andconda-environment.yml
if present).CHANGES.md
entry included if this is a change that can affect users?.?.x
branch.