| commit | bf5276bd354069f379e2fbf60082324a7eedfb78 | [log] [tgz] |
|---|---|---|
| author | Leandro Lovisolo <lovisolo@google.com> | Thu Dec 21 01:11:38 2023 +0000 |
| committer | Joe Gregorio <jcgregorio@google.com> | Thu Dec 21 01:13:45 2023 +0000 |
| tree | ed372b14d393e0cb1d6dbdfd66a5adfa7cab75d9 | |
| parent | dd87695fc9044e1ec98ff374ab27b58aeedeb4df [diff] |
Revert "Update missing sum in go.mod." This reverts commit 5d2f434e9ef95f3547d2a3a7d7ac2a6e70c845dc. Reason for revert: Same reason as https://skia-review.googlesource.com/c/buildbot/+/793156 Original change's description: > Update missing sum in go.mod. > > Change-Id: Ie810ce2c3be9959f7524ea8c95187ff2b50be869 > Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/793077 > Reviewed-by: Leandro Lovisolo <lovisolo@google.com> Change-Id: I28e5783210b73d41f99f0a95177b1405a3ac6d81 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/793157 Reviewed-by: Leandro Lovisolo <lovisolo@google.com> Reviewed-by: Joe Gregorio <jcgregorio@google.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
This repo contains infrastructure code for Skia.
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
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
sudo apt-get install jq
bazelisk build --config=mayberemote //...
bazelisk test --config=mayberemote //...
To update generated code run the following in any directory:
go generate ./...
Install Cloud SDK.
Use this command to run the presubmit tests:
./run_unittests --small