Roll recipe dependencies (trivial).

This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).


More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.
depot_tools:
  https://crrev.com/3fcadbb94392680b5b5445837432c6748ea05297 Allow TBR for CLs with approved changes to OWNERS files (alancutter@chromium.org)
recipe_engine:
  https://crrev.com/15204d34b732de75d45b06ac45b6d805ede5c689 [raw_io] Make missing placeholder files testable (olivernewman@google.com)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I2e002b67c6c6d8b7d9c8db3ff0d426e2af4e7996
Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/240827
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
2 files changed
tree: da3f0cfb09d25d814a1d0aca0beba9a6563e0d30
  1. .gitattributes
  2. .gitignore
  3. DATASTORE.md
  4. DEPS
  5. LICENSE
  6. Makefile
  7. PRESUBMIT.py
  8. PRIVACY_POLICY.md
  9. README.md
  10. STYLEGUIDE.md
  11. am/
  12. android_compile/
  13. android_ingest/
  14. android_stats/
  15. api/
  16. appengine_scripts/
  17. autoroll/
  18. bash/
  19. blamer/
  20. build_infra_prod.sh
  21. chromeextensions/
  22. cmd/
  23. codereview.settings
  24. comments/
  25. common-sk/
  26. contestk/
  27. cq_watcher/
  28. ct/
  29. datahopper/
  30. debugger-assets/
  31. debugger/
  32. docker/
  33. docserverk/
  34. ds/
  35. fiddlek/
  36. firestore/
  37. get_service_account/
  38. git_cookie_authdaemon/
  39. gitsync/
  40. go.mod
  41. go.sum
  42. go/
  43. gold-client/
  44. golden/
  45. grafana/
  46. html-template-minifier/
  47. infra-sk/
  48. infra/
  49. jsdoc/
  50. jsfiddle/
  51. k8s_checker/
  52. kube/
  53. launch.md
  54. leasing/
  55. licenses/
  56. logmetrics/
  57. make/
  58. monitoring/
  59. named-fiddles/
  60. notifier/
  61. particles/
  62. perdiff/
  63. perf/
  64. periodic-trigger/
  65. power/
  66. prober/
  67. proberk/
  68. prometheus/
  69. promk/
  70. proxy/
  71. pulld/
  72. push/
  73. res/
  74. run_unittests
  75. run_unittests.go
  76. scripts/
  77. sheriff_emails/
  78. skfe/
  79. skolo/
  80. skottie/
  81. status/
  82. task_driver/
  83. task_scheduler/
  84. tools/
  85. velero/
  86. webtools/
  87. whitespace.txt
README.md

Skia-Buildbot Repository

This repo contains infrastructure code for Skia.

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

Using go get will fetch the repository into your GOPATH directory along with all the Go dependencies. You will need to set GOPATH and GO111MODULE=on. E.g.:

$ export GOPATH=${WORKDIR}
$ export GO111MODULE=on
$ go get -u -t go.skia.org/infra/...
$ cd ${GOPATH}/src/go.skia.org/infra/

Note: go.skia.org is a custom import path and will only work if used like the examples here.

Install Node.js (not as root) and add the bin dir to your path. Optionally run npm install npm -g, as suggested by the npm getting started doc.

Install other dependencies:

$ sudo apt-get install python-django
$ go get -u github.com/kisielk/errcheck \
  golang.org/x/tools/cmd/goimports \
  go.chromium.org/luci/client/cmd/isolate
$ npm install -g polylint bower

Build ~everything:

$ make all

Generated Code

Some code is generated using go generate with external binaries. First, install the version of protoc referenced in the asset creation script and ensure it is on your PATH before other versions of protoc.

Install the necessary go packages:

$ go get -u \
  github.com/golang/protobuf/protoc-gen-go \
  golang.org/x/tools/cmd/stringer \
  google.golang.org/grpc \
  github.com/vektra/mockery/...

To generate code run in this directory:

$ go generate ./...

Running unit tests

Install Cloud SDK.

Use this command to run the presubmit tests:

$ ./run_unittests --small