[gsutil] run through "vpython"
Run "gsutil" through "vpython". This ensures that the package set accompanying it is completely controlled. This is notably important on GCE instances, which "gsutil" expects to supply a "google_compute_engine" package. BUG=None TEST=local - Ran `gsutil cp` on 64-bit Linux machine, seems to work. - Ran `gsutil cp` on GCE instance, seems to work. Change-Id: Id771bc4da4de22c941b0ace4031cb0f3364feeeb Reviewed-on: https://chromium-review.googlesource.com/527277 Reviewed-by: Nodir Turakulov <nodir@chromium.org> Reviewed-by: Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Daniel Jacques <dnj@chromium.org>changes/77/527277/5
parent
2892e17932
commit
23836a643f
@ -0,0 +1,21 @@
|
||||
# vpython VirtualEnv protobuf for "gsutil".
|
||||
#
|
||||
# See:
|
||||
# https://chromium.googlesource.com/infra/luci/luci-go/+/master/vpython/api/vpython/spec.proto
|
||||
#
|
||||
# This is a "vpython" VirtualEnv specification applied to invocations of "gsutil"
|
||||
# by the bootstrap wrapper, "gsutil.py". It ensures that any Python distribution
|
||||
# has the expected Python packages installed.
|
||||
#
|
||||
# This is specifically relevant on Google Compute Engine invocations of
|
||||
# "gsutil", where a stock system-deployed file in "/etc/" explicitly specifies
|
||||
# that the "google_compute_engine" and "boto" Python packages are available.
|
||||
|
||||
wheel <
|
||||
name: "infra/python/wheels/google_compute_engine-py2_py3"
|
||||
version: "version:2.3.7"
|
||||
>
|
||||
wheel <
|
||||
name: "infra/python/wheels/boto-py2_py3"
|
||||
version: "version:2.47.0"
|
||||
>
|
Loading…
Reference in New Issue