mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Always construct TC API URLs from $TASKCLUSTER_PROXY_URL or $TASKCLUSTER_ROOT_URL
This commit is contained in:
parent
2aca5c82e4
commit
08705345d6
5 changed files with 15 additions and 11 deletions
|
@ -591,7 +591,7 @@ class PackageCommands(CommandBase):
|
|||
def get_taskcluster_secret(name):
|
||||
url = (
|
||||
os.environ.get("TASKCLUSTER_PROXY_URL", "http://taskcluster") +
|
||||
"/secrets/v1/secret/project/servo/" +
|
||||
"/api/secrets/v1/secret/project/servo/" +
|
||||
name
|
||||
)
|
||||
return json.load(urllib.request.urlopen(url))["secret"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue