1
0
Fork 0

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.
master
Justin Wood 2020-01-21 22:57:26 -05:00 committed by Sebastian Kaspari
parent 0a6881d470
commit e33704426a
1 changed files with 3 additions and 8 deletions

View File

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