Descriptionswarming-cipd: custom installation paths
run_isolated.py: replace --cipd-package option with --cipd-package-list
which is a path to a JSON file that contains list of packages and their paths.
Create a site_root per unique package path relative to run dir. Remove
${CIPD_PATH} parameter because packages are installed always under run
dir at deterministic location.
isolatedserver.py: before writing a file on disk, check if it exists; if
does, raise AlreadyExists. This is consistent with current behavior:
CMDdownload verifies that destination directory does not exist.
run_isolated.py: split --cipd-client-package to --cipd-client-package and --cipd-client-version.
Add "path" to CipdPackage ndb model and RPC entity. Validate it.
Propagate it to run_isolated.py.
Update user_task.html to group packages by installation path.
R=maruel@chromium.org, vadimsh@chromium.org
BUG=601022
Committed: https://github.com/luci/luci-py/commit/296ce9e86230c641edf33cb6792a8d4648dfeee1
Patch Set 1 #Patch Set 2 : test "." and None custom path #
Total comments: 22
Patch Set 3 : comments #
Total comments: 2
Patch Set 4 : bumped versions #Patch Set 5 : fix _validate_cipd_path #
Depends on Patchset: Messages
Total messages: 27 (12 generated)
|