Skip to content

Bug 2006684 - add builddecisionscript#1412

Draft
jcristau wants to merge 14 commits into
mozilla-releng:masterfrom
jcristau:builddecisionscript
Draft

Bug 2006684 - add builddecisionscript#1412
jcristau wants to merge 14 commits into
mozilla-releng:masterfrom
jcristau:builddecisionscript

Conversation

@jcristau
Copy link
Copy Markdown
Contributor

@jcristau jcristau commented Mar 26, 2026

Port the build-decision code to run as a scriptworker task.

The following changes have been made:

  • use taskgraph.util.keyed_by instead of a local copy
  • input is taken from fields in the task payload instead of either command-line arguments or the environment
  • we don't have a taskcluster proxy; instead we use temporary credentials obtained/maintained by scriptworker to create tasks / trigger hooks, and we use the github oauth token from the scriptworker config instead of from a taskcluster secret
  • the CLI is modified to match other scriptworkers

Unlike other scriptworkers, we skip chain of trust verification.

@jcristau jcristau force-pushed the builddecisionscript branch 3 times, most recently from cd74711 to 3e75319 Compare March 26, 2026 18:06
@jcristau jcristau changed the title Add builddecisionscript Bug 2006684 - add builddecisionscript May 19, 2026
jcristau added 13 commits May 19, 2026 17:04
Port the build-decision code to run as a scriptworker task.
There's no proxy in scriptworker, we talk to tc directly.
Port the git-push command and as_slugid context fix from build-decision
in fxci-config. Adapts the original env-var-based hook payload to be
passed through the scriptworker task payload instead.
…nd trigger hooks

This relies on a change in scriptworker to write temp credentials to
disk so we can pick them up and use the task's scopes.
@jcristau jcristau force-pushed the builddecisionscript branch from a5a19fb to cbecacb Compare May 19, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant