Skip to content

Commit aa51ecc

Browse files
authored
Merge pull request #268 from mozilla/enterprise-fix_instr_build
FxCI: Grant some scopes for build tasks on enterprise-firefox
2 parents f357bad + 5f6b9f8 commit aa51ecc

File tree

1 file changed

+1
-2
lines changed
  • taskcluster/gecko_taskgraph/transforms

1 file changed

+1
-2
lines changed

taskcluster/gecko_taskgraph/transforms/build.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,8 +312,7 @@ def add_enterprise_secret_scopes(config, jobs):
312312
"""Enterprise builds re-use some secrets from the Gecko trust domain."""
313313
level = config.params["level"]
314314
for job in jobs:
315-
attributes = job.get("attributes")
316-
if "enterprise" in job["name"] or ("update-channel" in attributes.keys() and "enterprise" in attributes["update-channel"]):
315+
if config.params["project"] == "enterprise-firefox":
317316
job.setdefault("scopes", []).extend(
318317
[
319318
f"secrets:get:project/releng/gecko/build/level-{level}/gls-gapi.data",

0 commit comments

Comments
 (0)