Revert^4 "Remove BOTO_CONFIG to use the swarming tasks service account instead of"

This reverts commit d3983fb3caec7db8d342bcc558ac33b84096c17a.

Reason for revert: Try removing this again

Original change's description:
> Revert^3 "Remove BOTO_CONFIG to use the swarming tasks service account instead of"
>
> This reverts commit 27f3b939347e4b367a6ab2aab71e78312231dfc7.
>
> Reason for revert: Still not working
>
> Original change's description:
> > Revert^2 "Remove BOTO_CONFIG to use the swarming tasks service account instead of"
> >
> > This reverts commit 0d2306dfb51e596840725bc22674f938aa29aeb4.
> >
> > Reason for revert: Try again with new permissions
> >
> > Original change's description:
> > > Revert "Remove BOTO_CONFIG to use the swarming tasks service account instead of"
> > >
> > > This reverts commit c397c94283b79a792a76812cd43a6ac5d5282ddf.
> > >
> > > Reason for revert: https://b.corp.google.com/issues/306465816#comment11
> > >
> > > Original change's description:
> > > > Remove BOTO_CONFIG to use the swarming tasks service account instead of
> > > > .boto
> > > >
> > > > Bug: b/306465816
> > > > Change-Id: Iefa84ee3e22703218f2f6cf31bf18b9f5c41b553
> > > > Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/778304
> > > > Reviewed-by: Joe Gregorio <jcgregorio@google.com>
> > > > Commit-Queue: Ravi Mistry <rmistry@google.com>
> > >
> > > Bug: b/306465816
> > > Change-Id: Ic5778d3fa5796d075cf4234ef3fe5fc95f170ddf
> > > No-Presubmit: true
> > > No-Tree-Checks: true
> > > No-Try: true
> > > Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/778836
> > > Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> > > Commit-Queue: Ravi Mistry <rmistry@google.com>
> >
> > Bug: b/306465816
> > Change-Id: I72a0bc27e99999b3415b0515a9924aa691c4cbd6
> > No-Presubmit: true
> > No-Tree-Checks: true
> > No-Try: true
> > Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/778876
> > Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> > Auto-Submit: Ravi Mistry <rmistry@google.com>
> > Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
>
> Bug: b/306465816
> Change-Id: I631a57162cdb8b9a211726f4703ae08041181168
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/778916
> Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> Auto-Submit: Ravi Mistry <rmistry@google.com>

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

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

Install other dependencies:

sudo apt-get install jq

Build ~everything

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

Test everything

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