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
Submit AYON_SERVER_URL to jobs #42
Submit AYON_SERVER_URL to jobs #42
Changes from 5 commits
c5e67f3
e0009e8
d718648
cffab6b
4ce6250
b17af4b
5737d4a
d1cf912
4a57ffd
86b4900
65d82a1
08fa08f
4b21b44
47d8512
bc36531
67667b6
741209c
9c6ab87
bc5c8d2
02982d5
7816fce
91e6f92
a10e7a3
4bd2db0
8642e66
cedf5d6
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.
Do we want send AYON_SERVER_URL always? If thats the case, server url in AYON Deadline plugin doesn't make sense, neither code for it in
GlobalJobPreload
.(Just note, API keys for all DL servers would need to be same as they would be still set via AYON DL plugin.)
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.
No - I think we'd want to make this plug-in disabled by default, and configurable via settings to enable it.
Sir - that's a very valid point. We may need to submit that along too. @tweak-wtf, thoughts?
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.
oh sheet, true! thanks for catching!
i really like what's described in ynput/ayon-documentation#285
seems like minimal impact on the existing addon codebase and on the additional AYON instances settings.
if we want to expand on that and the n:n idea between AYON and DL, i could imagine the AYON Deadline Plugin Settings getting either a new section
Additional AYON Servers
or a general list of dicts kinda like the current AYON server settings for the DL servers.then submitting the current AYON URL could become enabled by default. whether that's desirable, i can't really say.
for me using
AYON_API_KEY
inayon+settings://core/environments
as an override in that instance's settings really does the trick.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.
How does that work, with the
AYON_API_KEY
in settings? WhenGlobalJobPreLoad
triggers the connection with the AYON server - it already needs a valid API key to make the connection? Seems like for you it may just happen to work because it maybe found some matching 'login' using your local cached login?This file was deleted.
This file was deleted.