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

Unified Diff: appengine/swarming/handlers_bot.py

Issue 1910713002: swarming: add support for cipd on the server side (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Patch Set: nits Created 4 years, 8 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 | « appengine/swarming/cipd.py ('k') | appengine/swarming/handlers_bot_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/handlers_bot.py
diff --git a/appengine/swarming/handlers_bot.py b/appengine/swarming/handlers_bot.py
index 28a125698c9d85565a78f2f30b61e804fa7b12ab..be52a5cb697a71ccd18363cab9ecaf3ed9df9dc9 100644
--- a/appengine/swarming/handlers_bot.py
+++ b/appengine/swarming/handlers_bot.py
@@ -392,6 +392,13 @@ class BotPollHandler(_BotBaseHandler):
'host': utils.get_versioned_hosturl(),
'io_timeout': request.properties.io_timeout_secs,
'inputs_ref': request.properties.inputs_ref,
+ 'packages': [
+ {
+ 'package_name': p.package_name,
+ 'version': p.version,
+ }
+ for p in request.properties.packages
+ ],
'task_id': task_pack.pack_run_result_key(run_result_key),
},
}
« no previous file with comments | « appengine/swarming/cipd.py ('k') | appengine/swarming/handlers_bot_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698