Skip to content

Commit

Permalink
testing bintray secret stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
thomcc committed Aug 14, 2018
1 parent 565bbf1 commit 4d2b533
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .taskcluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ tasks:
scopes:
- "queue:create-task:aws-provisioner-v1/github-worker"
- "queue:scheduler-id:taskcluster-github"
- "secrets:get:garbage/tcsc/bintray-test"
payload:
maxRunTime: 3600
deadline: "{{ '2 hours' | $fromNow }}"
Expand Down
4 changes: 3 additions & 1 deletion automation/taskcluster/release/fetch-bintray-api-key.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import os
import taskcluster

SECRET_NAME = 'project/mentat/publish'
SECRET_NAME = 'garbage/tcsc/bintray-test'
TASKCLUSTER_BASE_URL = 'http://taskcluster/secrets/v1'


Expand All @@ -20,6 +20,8 @@ def main():
and save it to local.properties in the project root directory.
"""
data = fetch_publish_secrets(SECRET_NAME)
print("Printing secrets: ")
print(data)

properties_file_path = os.path.join(os.path.dirname(__file__), '../../../logins-api/android/local.properties')
with open(properties_file_path, 'w') as properties_file:
Expand Down

0 comments on commit 4d2b533

Please sign in to comment.