| commit | d35b781c7f09505f8a6bf8991ecd904ee7e044dc | [log] [tgz] |
|---|---|---|
| author | Hao Wu <haowoo@google.com> | Wed Dec 13 17:50:32 2023 +0000 |
| committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Wed Dec 13 18:14:48 2023 +0000 |
| tree | f64013765436975e12b93a3e0703f738838d3b1a | |
| parent | af8f7d1d2f41c5067f66863940ec757c7ae3f414 [diff] |
Refactor BUILD for Temporal server image. 1. Renames the BUILD file to follow this patter: project.BUILD 2. Moves containerized build target into temporal.BUILD so they stay closely 3. Now the Temporal image contains binaries and artifacts under /etc/temporal, including schemas and configs. Temporal needs to run in a certain folder structure to load config files correctly. Bug: b/311455474 Change-Id: I0de68ba212f909fe130706e005e42bde0595ad54 Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/789456 Reviewed-by: Leandro Lovisolo <lovisolo@google.com> Commit-Queue: Hao Wu <haowoo@google.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