Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mac nightly WPT sync #23338

Merged
merged 7 commits into from May 7, 2019
Next

Fallback to docker-worker’s URL when $TASKCLUSTER_PROXY_URL is missing

  • Loading branch information
SimonSapin committed May 6, 2019
commit 599c015b23680d6e9ab986594c71f80d4d8ba226
@@ -546,7 +546,11 @@ def upload_nightly(self, platform, secret_from_taskcluster):
import boto3

def get_taskcluster_secret(name):
url = os.environ["TASKCLUSTER_PROXY_URL"] + "/secrets/v1/secret/project/servo/" + name
url = (
os.environ.get("TASKCLUSTER_PROXY_URL", "http://taskcluster") +
"/secrets/v1/secret/project/servo/" +
name
)
return json.load(urllib.urlopen(url))["secret"]

def get_s3_secret():
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.