-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix / Git filesystem permissions on Windows (#154)
* Add scratch dir options to the runtime CLI * Set scratch dir in the job mgmt service when launching jobs * Fix sandbox directory permissions in local executor * Work around Windows issues in Git checkout * Add utility function for cleaning up temp directories * Use new utility functions in repos module * Make model loader use the global scratch dir, and create a sub-dir for each loader scope * Handle create/destroy of scratch dir in the top level runtime class * Update CLI arg name for scratch dir persist * Use new model loader in dev mode for scanning models * Update model loader test * Fix file mode for temp dirs created by models/repos modules * Limit path length to 259 before using UNC paths, to allow for the fact Python string length does not include a nul terminator * Update repos API and model loader to handle conflicted checkouts - Where identical model components are loaded, the model class is cached - Where models are loaded from the same checkout, the model code is cached - Checkout keys vary by repo type, to allow for different packaging schemes * Include E2E tests using models from a Git repo when running in CI * Do not clean up model scope scratch dirs if --scratch-dir-persist is set * Config options for local batch executor - batch dir, location and persist flag
- Loading branch information
1 parent
ef06176
commit 14e705c
Showing
16 changed files
with
519 additions
and
131 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
Oops, something went wrong.