Skip to content

Commit

Permalink
Use gradle_build_type for querying for secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
jonalmeida authored and mergify[bot] committed Dec 1, 2021
1 parent c7a3e67 commit a4404c1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions taskcluster/focus_android_taskgraph/transforms/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ def add_shippable_secrets(config, tasks):
dummy_secrets = task["run"].setdefault("dummy-secrets", [])

if task.pop("include-shippable-secrets", False) and config.params["level"] == "3":
build_type = task["attributes"]["build-type"]
gradle_build_type = task["run"]["gradle-build-type"]
secret_index = f'project/mobile/focus-android/{build_type}'
secret_index = f'project/mobile/focus-android/{gradle_build_type}'
secrets.extend([{
"key": key,
"name": secret_index,
Expand Down

0 comments on commit a4404c1

Please sign in to comment.