Bug 2006684 - add builddecisionscript#1412
Open
jcristau wants to merge 8 commits into
Open
Conversation
cd74711 to
3e75319
Compare
a5a19fb to
cbecacb
Compare
Copy the build-decision code from fxci-config as-is, at revision 6b1ea576b59f8436b28778d5ef2bdd09c80ec348, before adapting it to run as a scriptworker task.
Port the build-decision code to run as a scriptworker task. - rename the project from build-decision to builddecisionscript - adapt the original env-var and cmdline based input to be passed through the scriptworker task payload instead - add the usual scriptworker boilerplate
We'll have a single worker pool here so override the default scriptworker worker type/group/id.
We can use taskgraph directly, no need to keep a copy of these functions.
47b9491 to
25f35d3
Compare
Contributor
Author
|
This depends on mozilla-releng/scriptworker#798 to get temporary tc credentials with the task's scopes. |
… (bug 2006684) There's no proxy in scriptworker, we talk to tc directly. Use the credentials fd passed by scriptworker for all taskcluster operations (fetching secrets, triggering hooks, creating tasks).
016d35f to
d35e8a4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Port the build-decision code to run as a scriptworker task.
The following changes have been made:
taskgraph.util.keyed_byinstead of a local copyUnlike other scriptworkers, we skip chain of trust verification.