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

Unified Diff: appengine/swarming/swarming_rpcs.py

Issue 2069903003: swarming: custom cipd package paths (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@cipd-win
Patch Set: fix _validate_cipd_path Created 4 years, 6 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_rpcs.py
diff --git a/appengine/swarming/swarming_rpcs.py b/appengine/swarming/swarming_rpcs.py
index f8b454933794452ebe8fe8b2cb3d284716fd31e6..da9c6a5ae4e3fce06bcda427278c93e0cbffb74c 100644
--- a/appengine/swarming/swarming_rpcs.py
+++ b/appengine/swarming/swarming_rpcs.py
@@ -90,6 +90,11 @@ class CipdPackage(messages.Message):
package_name = messages.StringField(1)
# Valid package version for all packages matched by package name.
version = messages.StringField(2)
+ # Path to dir, relative to the root dir, where to install the package.
+ # If empty, the package will be installed a the root of the mapped directory.
+ # If file names in the package and in the isolate clash, it will cause a
+ # failure.
+ path = messages.StringField(3)
class CipdInput(messages.Message):
@@ -106,6 +111,7 @@ class CipdInput(messages.Message):
# CIPD package of CIPD client to use.
# client_package.version is required.
# This field is optional is default value is defined in the server config.
+ # client_package.path must be empty.
client_package = messages.MessageField(CipdPackage, 2)
# List of CIPD packages to install in $CIPD_PATH prior task execution.
« no previous file with comments | « appengine/swarming/swarming_bot/bot_code/task_runner_test.py ('k') | appengine/swarming/templates/user_task.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698