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

Commit

Permalink
Merge pull request #1539 from pypeclub/2.x/hotfix/celaction-deadline-…
Browse files Browse the repository at this point in the history
…submission
  • Loading branch information
mkolar authored May 24, 2021
2 parents 3758779 + b2e2313 commit f54cbb8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pype/hosts/celaction/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def _prepare_publish_environments():
env["AVALON_WORKDIR"] = os.getenv("AVALON_WORKDIR")
env["AVALON_HIERARCHY"] = hierarchy
env["AVALON_PROJECTCODE"] = project_doc["data"].get("code", "")
env["AVALON_APP"] = f"hosts.{publish_host}"
env["AVALON_APP"] = publish_host
env["AVALON_APP_NAME"] = "celaction_local"

env["PYBLISH_HOSTS"] = publish_host
Expand Down
10 changes: 6 additions & 4 deletions pype/plugins/celaction/publish/collect_celaction_instances.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,14 @@ def process(self, context):
subset = family + task.capitalize()
# Create instance
instance = context.create_instance(subset)
families = [family, "ftrack"]

# creating instance data
instance.data.update({
"subset": subset,
"subset": "{} {}".format(subset, families),
"label": scene_file,
"family": family,
"families": [family, "ftrack"],
"families": families,
"representations": list()
})

Expand All @@ -77,12 +78,13 @@ def process(self, context):
instance = context.create_instance(name=subset)
# getting instance state
instance.data["publish"] = True
families = [family]

# add assetEntity data into instance
instance.data.update({
"label": "{} - farm".format(subset),
"label": "{} {}".format(subset, families),
"family": family,
"families": [family],
"families": families,
"subset": subset
})

Expand Down

0 comments on commit f54cbb8

Please sign in to comment.