[fenix] 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.
pull/600/head
Justin Wood 5 years ago committed by Sebastian Kaspari
parent 3b1e967029
commit 31c5947a85

@ -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"'

Loading…
Cancel
Save