Try using depot_tools' gsutil.py in catapults's GS lib

gsutil is being migrated to the gcloud sdk:
https://docs.cloud.google.com/storage/docs/gsutil-transition-to-gcloud

Likely due to that issue, it doesn't seem to be possible to generate
static .boto files any longer on dev workstations. Nor is the vendored
gsutil in catapult able to pick up the creds dropped by the gcloud
sdk when authed with it.

All of this is solved by the gsutil.py in depot_tools, since it
magically inserts `luci-auth context ...` calls into the gsutil
invocation:
https://source.chromium.org/chromium/chromium/src/+/main:third_party/depot_tools/gsutil.py

So this CL just bypasses catapult's vendored gsutil and uses
depot_tools if depot_tools is on PATH.

Bug: chromium:492147922
Change-Id: I660401f9c1b5329987fffba009586071ab874d1e
Reviewed-on: https://chromium-review.googlesource.com/c/catapult/+/7667499
Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
Commit-Queue: Ben Pastene <bpastene@chromium.org>
1 file changed
tree: f6a099b9041f7347a3eb2189b224ef697aeada44
  1. bin/
  2. catapult_build/
  3. common/
  4. dashboard/
  5. dependency_manager/
  6. devil/
  7. docs/
  8. experimental/
  9. hooks/
  10. infra/
  11. netlog_viewer/
  12. perf_issue_service/
  13. skia_bridge/
  14. systrace/
  15. telemetry/
  16. third_party/
  17. trace_processor/
  18. tracing/
  19. .eslintignore
  20. .eslintrc
  21. .gcloudignore
  22. .gitignore
  23. .gitmodules
  24. .style.yapf
  25. .vpython3
  26. .yapfignore
  27. AUTHORS
  28. BUILD.gn
  29. codereview.settings
  30. CONTRIBUTING.md
  31. DEPS
  32. DIR_METADATA
  33. generate_telemetry_build.py
  34. LICENSE
  35. navbar.md
  36. OWNERS
  37. PRESUBMIT.py
  38. pylintrc
  39. README.md
  40. WATCHLISTS
README.md

Catapult

Catapult is the home for several performance tools that span from gathering, displaying and analyzing performance data. This includes:

These tools were created by Chromium developers for performance analysis, testing, and monitoring of Chrome, but they can also be used for analyzing and monitoring websites, and eventually Android apps.

Contributing

Please see our contributor's guide