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

Unified Diff: recipe_engine/run.py

Issue 2426013002: Add Swarming magic environment variables to ENV_WHITELIST (Closed)
Patch Set: Created 4 years, 2 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: recipe_engine/run.py
diff --git a/recipe_engine/run.py b/recipe_engine/run.py
index d87694619e1c1e335d236fd1b9677e84aa548b77..a6d202bf0153c3f6a4390755e5d1e231f10eed8f 100644
--- a/recipe_engine/run.py
+++ b/recipe_engine/run.py
@@ -101,7 +101,13 @@ ENV_WHITELIST_PYTHON = set([
'PYTHONUNBUFFERED',
])
-ENV_WHITELIST_INFRA = ENV_WHITELIST_PYTHON | set([
+ENV_WHITELIST_SWARMING = set([
+ 'SWARMING_BOT_ID',
+ 'SWARMING_HEADLESS',
+ 'SWARMING_TASK_ID',
+])
+
+ENV_WHITELIST_INFRA = ENV_WHITELIST_PYTHON | ENV_WHITELIST_SWARMING | set([
'AWS_CREDENTIAL_FILE',
'BOTO_CONFIG',
'BUILDBOT_ARCHIVE_FORCE_SSH',
« 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