Commit e3370442 authored by Justin Wood's avatar Justin Wood Committed by Sebastian Kaspari
Browse files

Bug 1610725 - Support Action Tasks in CoT for Fenix. r=jlorenzo

I think this should be all we need to support CoT for Fenix actions.

This patch removes `parameters` from the yml in favor of `push` based
on the taskgraph changes that need to happen.
parent 0a6881d4
Loading
Loading
Loading
Loading
+3 −8
Original line number Diff line number Diff line
@@ -63,11 +63,8 @@ tasks:
                          $if: 'tasks_for == "github-release"'
                          then: '${event.release.target_commitish}'
                          else:
                              $if: 'tasks_for == "cron"'
                              $if: 'tasks_for in ["action", "cron"]'
                              then: '${push.branch}'
                              else:
                                $if: 'tasks_for == "action"'
                                then: ${parameters.head_ref}
              head_sha:
                  $if: 'tasks_for == "github-push"'
                  then: '${event.after}'
@@ -78,11 +75,9 @@ tasks:
                          $if: 'tasks_for == "github-release"'
                          then: '${event.release.tag_name}'
                          else:
                              $if: 'tasks_for == "cron"'
                              $if: 'tasks_for in ["action", "cron"]'
                              then: '${push.revision}'
                              else:
                                $if: 'tasks_for == "action"'
                                then: ${parameters.head_rev}


              head_tag:
                  $if: 'tasks_for == "github-release"'