Closed Bug 2009019 Opened 3 months ago Closed 2 months ago

Support actions in Github based Gecko Decision tasks

Categories

(Release Engineering :: Firefox-CI Administration, enhancement)

enhancement

Tracking

(firefox149 fixed)

RESOLVED FIXED
Tracking Status
firefox149 --- fixed

People

(Reporter: ahal, Assigned: ahal)

References

(Blocks 2 open bugs)

Details

Attachments

(8 files)

The Git version of the Gecko decision task doesn't support actions yet.

Keywords: leave-open
Attached file GitHub Pull Request
Attached file GitHub Pull Request

Actions are now working, though we still need to create a group to grant a scope so enterprise devs can trigger them.

Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED

Actually, I still need to port the patches over to firefox-main.. I'll keep using this bug for that.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

In order to support actions, the .taskcluster.yml must be structured
as a single task. This is because when fxci-config generates the
hooks, it uses tcyml.tasks[0] as the hook task definition.

When we were defining separate tasks for hg and git, then the git
implementation of the Decision task was being discarded.

This refactors the .tc.yml a bit such that there is only a single
top-level task. This is a bit cleaner anyway as it guarantees it will
always be one or the other, with no possibility of accidentally
scheduling two Decision tasks.

This adds 'branch' and 'base_branch' to the push context, as well as
starts passing certain params via the 'parameters' context (just
'repository_type' for now).

Pushed by ahalberstadt@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/f5c7979bb036 https://hg.mozilla.org/integration/autoland/rev/1baedd9c1f40 Structure .taskcluster.yml to be a single task, r=taskgraph-reviewers,releng-reviewers,bhearsum https://github.com/mozilla-firefox/firefox/commit/47782ef28abc https://hg.mozilla.org/integration/autoland/rev/96a09ef78e9d Remove assertion that we're using hgmo in actions logic, r=taskgraph-reviewers,releng-reviewers,bhearsum https://github.com/mozilla-firefox/firefox/commit/c51574939a44 https://hg.mozilla.org/integration/autoland/rev/598979668139 Add additional context needed to render action tasks, r=taskgraph-reviewers,releng-reviewers,bhearsum https://github.com/mozilla-firefox/firefox/commit/65a2caf33312 https://hg.mozilla.org/integration/autoland/rev/76ae3ec46d55 Support Taskcluster actions in Github based Decision tasks, r=taskgraph-reviewers,releng-reviewers,jcristau
Status: REOPENED → RESOLVED
Closed: 3 months ago2 months ago
Resolution: --- → FIXED

Re-opening for a follow-up fix for pr-actions

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Pushed by ahalberstadt@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/f1e76783b081 https://hg.mozilla.org/integration/autoland/rev/ab9c842f982d Assume proper role for pr-actions in Github based Decision tasks, r=releng-reviewers,bhearsum
Pushed by smolnar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/7700fb28c1f1 https://hg.mozilla.org/integration/autoland/rev/52b4d588b8bd Revert "Bug 2009019 - Assume proper role for pr-actions in Github based Decision tasks, r=releng-reviewers,bhearsum" for causing CoT verification failures
Flags: needinfo?(ahal)
Flags: needinfo?(ahal)
Pushed by ahalberstadt@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/099f0a496a1f https://hg.mozilla.org/integration/autoland/rev/6128fe737002 Assume proper role for pr-actions in Github based Decision tasks, r=releng-reviewers,bhearsum
Status: REOPENED → RESOLVED
Closed: 2 months ago2 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: