Roll Depot Tools from 8a1ec6a0213a to cd260a79de3d (2 revisions)

https://skia.googlesource.com/buildbot.git/+log/8a1ec6a0213a..cd260a79de3d

2025-10-23 qjw@chromium.org git-cl: fix gerrit_host and git_host ordering in ensure_authenticated
2025-10-23 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).

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 kjlubick@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: kjlubick@google.com
Change-Id: Ib8240c51f3f335889ac9949d1b8319cfae9b9f15
Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/1083410
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: a3c86950677e87f84b914a8c92f2986a53273828
  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. sa-keys-checker/
  64. scrap/
  65. scripts/
  66. shaders/
  67. sk/
  68. skbug/
  69. skcq/
  70. skfe/
  71. skolo/
  72. skottie/
  73. static_server/
  74. status/
  75. task_driver/
  76. task_scheduler/
  77. temporal/
  78. test-service/
  79. tool/
  80. tools/
  81. tree_status/
  82. trybot_updater/
  83. .bazelignore
  84. .bazelrc
  85. .bazelversion
  86. .eslintrc.js
  87. .gitattributes
  88. .gitignore
  89. .mockery.yaml
  90. .npmrc
  91. .prettierignore
  92. .prettierrc.json
  93. .puppeteerrc.js
  94. .vpython
  95. BAZEL_CHEATSHEET.md
  96. BUILD.bazel
  97. build_infra_prod.sh
  98. CDB.md
  99. cipd.ensure
  100. codereview.settings
  101. DATASTORE.md
  102. demopage.sh
  103. DEPS
  104. elements.d.ts
  105. go.mod
  106. go.sum
  107. go_repositories.bzl
  108. karmatest.sh
  109. launch.md
  110. LICENSE
  111. Makefile
  112. OWNERS
  113. package-lock.json
  114. package.json
  115. pnpm-lock.yaml
  116. PRESUBMIT.py
  117. PRIVACY_POLICY.md
  118. README.md
  119. STYLEGUIDE.md
  120. tools.go
  121. tsconfig.json
  122. whitespace.txt
  123. 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