This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from pypeclub/fix/deadline_cleanup
Deadline - cleanup, add documentation
- Loading branch information
Showing
16 changed files
with
62 additions
and
77 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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,32 @@ | ||
## OpenPype Deadline repository overlay | ||
|
||
This directory is overlay for Deadline repository. It means that you can copy whole hierarchy to Deadline repository and it should work. | ||
This directory is overlay for Deadline repository. | ||
It means that you can copy whole hierarchy to Deadline repository and it should work. | ||
|
||
Logic: | ||
----- | ||
Event | ||
----- | ||
For each rendering job OpenPype event is triggered, it stores path to OpenPype | ||
executable (needs to be configured on `Deadline's Configure Events > OpenPype`) | ||
job's extra key 'openpype_executables'. | ||
|
||
This value is used by `GlobalJobPreLoad` to call that executable to pull | ||
environment's variables which are needed to add to ALL plugins process environments. | ||
These env. vars are injected into rendering process. | ||
|
||
Event is necessary here as a middle man to allow configuring location of executable | ||
which is ONLY then used by `GlobalJobPreLoad` (which doesnt have any user facing | ||
configuration at all). | ||
|
||
`GlobalJobPreLoad` is triggered before each job, it contains backward compatible | ||
logic to not modify old Pype2 or not OpenPype triggered jobs. | ||
|
||
Plugin | ||
------ | ||
For each publishing job `OpenPypeDeadlinePlugin` is called, which calls | ||
configured location of OpenPype executable (needs to be configured in | ||
`Deadline's Configure Plugins > OpenPype`) | ||
and triggers command. | ||
|
||
|