From e33704426a1cf4eef1f7e07553731b0a6907b028 Mon Sep 17 00:00:00 2001 From: Justin Wood Date: Tue, 21 Jan 2020 22:57:26 -0500 Subject: [PATCH] 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. --- .taskcluster.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.taskcluster.yml b/.taskcluster.yml index 36a957241..262721ea9 100644 --- a/.taskcluster.yml +++ b/.taskcluster.yml @@ -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"'