Skip to content

Commit

Permalink
add todo about taskid
Browse files Browse the repository at this point in the history
  • Loading branch information
bhearsum committed Dec 3, 2024
1 parent d5ac2a1 commit 264d1bd
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ def create_action_task(action: dict):
name = action.pop("name")
perm = action.pop("perm")
action_input = action.pop("input")
# TODO: we need a fake decision task, and for this to point at that
# because we need to pull parameters.yml and probably other things
taskid = slugid.v4()

r = requests.get(f"{repo}/raw/{branch}/.taskcluster.yml")
Expand Down Expand Up @@ -208,7 +210,7 @@ def create_action_task(action: dict):
# representation that later transforms need...not sure what to do about this.
# Maybe we can move _this_ form out to a different kind and skip the `task`
# transform altogether?
return jsone.render(tcyml, context)["tasks"]
taskdef = jsone.render(tcyml, context)["tasks"]


@transforms.add
Expand Down

0 comments on commit 264d1bd

Please sign in to comment.