Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Unified Diff: scripts/slave/recipe_modules/skia/resources/trigger_wait_ct_task.py

Issue 1373863002: Fixes to CT's trybot recipe (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build@master
Patch Set: Initial upload Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/skia/resources/trigger_wait_ct_task.py
diff --git a/scripts/slave/recipe_modules/skia/resources/trigger_wait_ct_task.py b/scripts/slave/recipe_modules/skia/resources/trigger_wait_ct_task.py
index fec4e2249d742ebbf0fbe04e36ce4843d69b5012..0b7b003c6cf482d46f6c3632798509ee48565f58 100644
--- a/scripts/slave/recipe_modules/skia/resources/trigger_wait_ct_task.py
+++ b/scripts/slave/recipe_modules/skia/resources/trigger_wait_ct_task.py
@@ -14,7 +14,7 @@ import sys
import time
-CTFE_HOST = "http://ct.skia.org"
+CTFE_HOST = "https://ct.skia.org"
CTFE_QUEUE = CTFE_HOST + '/queue/'
CHROMIUM_PERF_TASK_POST_URI = CTFE_HOST + "/_/webhook_add_chromium_perf_task"
GET_CHROMIUM_PERF_RUN_STATUS_URI = CTFE_HOST + "/get_chromium_perf_run_status"
@@ -63,7 +63,7 @@ def _GetWebhookSaltFromMetadata():
raise CtTrybotException(
'Return code from %s was %s' % (GCE_WEBHOOK_SALT_METADATA_URI,
resp.status_code))
- return resp.text
+ return base64.standard_b64decode(resp.text)
def _TriggerTask(options):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698