forked from payu-org/payu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend sync command and refactor existing changes
- Update storage path check to look for sync path in config.yaml - Add options for local delete of files/dirs after syncing - Add protected paths in get_archive_paths_to_sync. This is protect the last output, and last saved restart (needed for date-based restart pruning) from delete local options - remove_local_files config flag for removing local files once synced - remove_local_dirs config flag for removing local restart/output dirs onced synced. This will remove any empty dirs after rsync operation and any files that were excluded from rsync. - Add excludes options - Add single or list options to extra paths to sync and exclude - Add documention for sync configuration options and usage - Add runlog option to sync which defaults to True - Remove hyperthreading in sync command, and explicitly add a default walltime - Raise error when sync path is not defined - Remove sync ssh keys - Add flag for syncing uncollated files which defaults to True when collation is enabled.
- Loading branch information
Jo Basevi
committed
Nov 2, 2023
1 parent
1849c26
commit 9ac075a
Showing
7 changed files
with
567 additions
and
217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.