Roll Depot Tools from 45aaf4f713f8 to 2d3d65c04ba9 (10 revisions)

https://skia.googlesource.com/buildbot.git/+log/45aaf4f713f8..2d3d65c04ba9

2025-10-30 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
2025-10-30 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
2025-10-30 treilly@google.com Add mimetype for .gn files in the context of presubmits.
2025-10-30 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
2025-10-30 agrieve@chromium.org Make google-java-format easier to use for non-chromium checkouts like R8
2025-10-30 gbeaty@chromium.org Add pyproject.toml
2025-10-30 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
2025-10-30 qjw@chromium.org Roll git-credential-luci
2025-10-30 gbeaty@chromium.org Remove obsolete forbidden warning.
2025-10-30 gbeaty@chromium.org Remove obsolete warning declaration.

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/depot-tools-skia-infra
Please CC borenet@google.com,skiabot@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Depot Tools: https://bugs.chromium.org/p/chromium/issues/entry
To file a bug in Skia Infra: https://bugs.chromium.org/p/skia/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Tbr: borenet@google.com
Change-Id: I48b019712653d6906d8062a9b5af85ebc8345bb7
Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/1089558
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2 files changed
tree: c056f8a0dc2722479b5e2ace3bb39ca698edbb79
  1. am/
  2. android_ingest/
  3. android_stats/
  4. api/
  5. attest/
  6. autoroll/
  7. bash/
  8. bazel/
  9. blamer/
  10. bugs-central/
  11. cabe/
  12. cbb/
  13. cd/
  14. cdn/
  15. cherrypick-watcher/
  16. cmd/
  17. codereview-watcher/
  18. codesize/
  19. comments/
  20. cq_watcher/
  21. ct/
  22. datahopper/
  23. debugger-app/
  24. demos/
  25. docker/
  26. docs/
  27. docsyserver/
  28. ds/
  29. elements-sk/
  30. email/
  31. external/
  32. fiddlek/
  33. firestore/
  34. get_service_account/
  35. gitsync/
  36. go/
  37. gold-client/
  38. golden/
  39. helloworld/
  40. infra/
  41. infra-sk/
  42. jsdoc/
  43. jsfiddle/
  44. k8s-checker/
  45. k8s-deployer/
  46. kube/
  47. leasing/
  48. licenses/
  49. machine/
  50. make/
  51. mcp/
  52. modules/
  53. named-fiddles/
  54. new_element/
  55. npm-audit-mirror/
  56. perdiff/
  57. perf/
  58. periodic-trigger/
  59. pinpoint/
  60. proberk/
  61. promk/
  62. puppeteer-tests/
  63. rag/
  64. sa-keys-checker/
  65. scrap/
  66. scripts/
  67. shaders/
  68. sk/
  69. skbug/
  70. skcq/
  71. skfe/
  72. skolo/
  73. skottie/
  74. static_server/
  75. status/
  76. task_driver/
  77. task_scheduler/
  78. temporal/
  79. test-service/
  80. tool/
  81. tools/
  82. tree_status/
  83. trybot_updater/
  84. .bazelignore
  85. .bazelrc
  86. .bazelversion
  87. .eslintrc.js
  88. .gitattributes
  89. .gitignore
  90. .mockery.yaml
  91. .npmrc
  92. .prettierignore
  93. .prettierrc.json
  94. .puppeteerrc.js
  95. .vpython
  96. BAZEL_CHEATSHEET.md
  97. BUILD.bazel
  98. build_infra_prod.sh
  99. CDB.md
  100. cipd.ensure
  101. codereview.settings
  102. DATASTORE.md
  103. demopage.sh
  104. DEPS
  105. elements.d.ts
  106. go.mod
  107. go.sum
  108. go_repositories.bzl
  109. karmatest.sh
  110. launch.md
  111. LICENSE
  112. Makefile
  113. OWNERS
  114. package-lock.json
  115. package.json
  116. pnpm-lock.yaml
  117. PRESUBMIT.py
  118. PRIVACY_POLICY.md
  119. README.md
  120. STYLEGUIDE.md
  121. tools.go
  122. tsconfig.json
  123. whitespace.txt
  124. WORKSPACE
README.md

Skia-Buildbot Repository

This repo contains infrastructure code for Skia.

Supported Infrastucture Platforms

The infrastructure code is generally built to run on x86 linux. Running on other platforms may be possible but is not officially supported and success will vary depending on the command.

Getting the Source Code

The main source code repository is a Git repository hosted at https://skia.googlesource.com/buildbot.git. It is possible to check out this repository directly with git clone or via go get.

Using git clone allows you to work in whatever directory you want. You will still need to set GOPATH in order to build some apps (recommended to put this in a cache dir). E.g.:

$ cd ${WORKDIR}
$ git clone https://skia.googlesource.com/buildbot.git
$ export GOPATH=${HOME}/.cache/gopath/$(basename ${WORKDIR})
$ mkdir $GOPATH
$ cd buildbot

Install dependencies

Almost all applications are built with Bazel, and bazelisk is the recommended tool to ensure you have the right version of bazel installed:

go install github.com/bazelbuild/bazelisk@latest
go install github.com/bazelbuild/buildtools/buildifier@latest
go install github.com/kisielk/errcheck@latest
go install golang.org/x/tools/cmd/goimports@latest
go install github.com/mikefarah/yq/v4@latest
go install go.chromium.org/luci/client/cmd/...@latest

Add bazelisk to path

export PATH=$PATH:$(go env GOPATH)/bin

Install other dependencies:

sudo apt-get install jq

Build ~everything

bazelisk build --config=mayberemote //...

Test everything

Set up environ variables

This step might be an optional step, but some test requires these enviornment variables.

Runs

./scripts/run_emulators/run_emulators start

The following are example of environment variables.

Emulators started. Set environment variables as follows:
export DATASTORE_EMULATOR_HOST=localhost:8891
export BIGTABLE_EMULATOR_HOST=localhost:8892
export PUBSUB_EMULATOR_HOST=localhost:8893
export FIRESTORE_EMULATOR_HOST=localhost:8894
export COCKROACHDB_EMULATOR_HOST=localhost:8895

And stores these environment variables to ~/.bashrc file.

Execute tests

bazelisk test --config=mayberemote //...

Generated Code

To update generated code run the following in any directory:

go generate ./...

Running unit tests

Install Cloud SDK.

Use this command to run the presubmit tests:

./run_unittests --small