Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Maya: Use of multiple deadline servers #1483

Merged
merged 3 commits into from
May 12, 2021

Conversation

antirotor
Copy link
Member

@antirotor antirotor commented May 6, 2021

Feature

This feature allows to use multiple deadline webservice instance in Maya and allow user to choose from. When preset exists in pype-config/presets/plugins/maya/create.json:

{
  "CreateRender": {
    "deadline_servers": {
      "default": "DEADLINE_REST_URL",
      "aws": "http://foo:2135"
    }
  }
}

Then when render instance is created in Maya, it will add Deadline Servers combo box to its attributes:

image

It uses key as alias and values as its url. DEADLINE_REST_URL will be replaced by the one set with the same named environment variable. When user select different server, pools are queried from it.
Collector will then "bake" this value to deadlineUrl in published instance and rest of the plugins will use that.

Note: when this preset is not set, it will work as usual with DEADLINE_REST_URL env var set.

Closes pypeclub/client#60
🎫 Freshdesk: #642

@antirotor antirotor added host: Maya sponsored Client endorsed or requested MEDIUM labels May 6, 2021
@antirotor antirotor self-assigned this May 6, 2021
@antirotor antirotor requested a review from mkolar May 7, 2021 14:03
@antirotor antirotor marked this pull request as ready for review May 7, 2021 14:03
@mkolar mkolar merged commit 8c1aaa5 into 2.x/develop May 12, 2021
@mkolar mkolar added this to the 2.18.0 milestone May 12, 2021
@mkolar mkolar added the type: enhancement Enhancements to existing functionality label May 12, 2021
@mkolar mkolar deleted the 2.x/feature/maya-multiple-deadline-servers branch June 3, 2021 08:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
host: Maya sponsored Client endorsed or requested type: enhancement Enhancements to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants