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

Unified Diff: appengine/swarming/swarming_bot/bot_code/task_runner.py

Issue 2267363004: Add CIPD pin reporting to swarming. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Patch Set: comments and some tests Created 4 years, 4 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
Index: appengine/swarming/swarming_bot/bot_code/task_runner.py
diff --git a/appengine/swarming/swarming_bot/bot_code/task_runner.py b/appengine/swarming/swarming_bot/bot_code/task_runner.py
index 47304e90c0b0b26b79514c2691865073e057157f..9d4b312dac2e449e17c17c75909279aad2660860 100644
--- a/appengine/swarming/swarming_bot/bot_code/task_runner.py
+++ b/appengine/swarming/swarming_bot/bot_code/task_runner.py
@@ -579,6 +579,9 @@ def run_command(
cipd_stats = run_isolated_result.get('stats', {}).get('cipd')
if cipd_stats:
params['cipd_stats'] = cipd_stats
+ cipd_pins = run_isolated_result.get('cipd_pins')
+ if cipd_pins:
+ params['cipd_pins'] = cipd_pins
except (IOError, OSError, ValueError) as e:
logging.error('Swallowing error: %s', e)
if not must_signal_internal_failure:

Powered by Google App Engine
This is Rietveld 408576698