Skip to content

Initial

Initial #1

Workflow file for this run

{
"jobs": {
"build_and_test": {
"runs-on": "ubuntu-latest",
"steps": [
{
"name": "Installing Bazel",
"run": "curl -L https://github.com/bazelbuild/bazel/releases/download/6.0.0/bazel-6.0.0-linux-x86_64 > ~/bazel && chmod +x ~/bazel && echo ~ >> ${GITHUB_PATH}"
},
{
"name": "Check out source code",
"uses": "actions/checkout@v1"
},
{
"name": "Restore Bazel cache",
"uses": "actions/cache@v1",
"with": {
"key": "bazel",
"path": "~/.cache/bazel"
}
},
{
"name": "Gazelle",
"run": "bazel run //:gazelle -- update-repos -from_file=go.mod -to_macro go_dependencies.bzl%go_dependencies -prune && bazel run //:gazelle"
},
{
"name": "Buildifier",
"run": "sed '/^$/d' go_dependencies.bzl > go_dependencies.bzl.new && mv go_dependencies.bzl.new go_dependencies.bzl && bazel run @com_github_bazelbuild_buildtools//:buildifier"
},
{
"name": "Gofmt",
"run": "bazel run @cc_mvdan_gofumpt//:gofumpt -- -lang 1.19 -w -extra $(pwd)"
},
{
"name": "Clang format",
"run": "find . -name '*.proto' -exec bazel run @llvm_toolchain_llvm//:bin/clang-format -- -i {} +"
},
{
"name": "GitHub workflows",
"run": "bazel build //tools/github_workflows && cp bazel-bin/tools/github_workflows/*.yaml .github/workflows"
},
{
"name": "Protobuf generation",
"run": "find . bazel-bin/pkg/proto -name '*.pb.go' -delete || true\nbazel build $(bazel query 'kind(\"go_proto_library\", //...)')\nfind bazel-bin/pkg/proto -name '*.pb.go' | while read f; do\n cat $f > $(echo $f | sed -e 's|.*/pkg/proto/|pkg/proto/|')\ndone\n"
},
{
"name": "Test style conformance",
"run": "git diff --exit-code HEAD --"
},
{
"name": "Golint",
"run": "bazel run @org_golang_x_lint//golint -- -set_exit_status $(pwd)/..."
},
{
"name": "linux_amd64: build and test",
"run": "bazel test --test_output=errors --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 //..."
},
{
"name": "linux_amd64: copy bb_noop_worker",
"run": "rm -f bb_noop_worker && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 //cmd/bb_noop_worker $(pwd)/bb_noop_worker"
},
{
"name": "linux_amd64: upload bb_noop_worker",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_noop_worker.linux_amd64",
"path": "bb_noop_worker"
}
},
{
"name": "linux_amd64: copy bb_runner",
"run": "rm -f bb_runner && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 //cmd/bb_runner $(pwd)/bb_runner"
},
{
"name": "linux_amd64: upload bb_runner",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_runner.linux_amd64",
"path": "bb_runner"
}
},
{
"name": "linux_amd64: copy bb_scheduler",
"run": "rm -f bb_scheduler && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 //cmd/bb_scheduler $(pwd)/bb_scheduler"
},
{
"name": "linux_amd64: upload bb_scheduler",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_scheduler.linux_amd64",
"path": "bb_scheduler"
}
},
{
"name": "linux_amd64: copy bb_virtual_tmp",
"run": "rm -f bb_virtual_tmp && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 //cmd/bb_virtual_tmp $(pwd)/bb_virtual_tmp"
},
{
"name": "linux_amd64: upload bb_virtual_tmp",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_virtual_tmp.linux_amd64",
"path": "bb_virtual_tmp"
}
},
{
"name": "linux_amd64: copy bb_worker",
"run": "rm -f bb_worker && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 //cmd/bb_worker $(pwd)/bb_worker"
},
{
"name": "linux_amd64: upload bb_worker",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_worker.linux_amd64",
"path": "bb_worker"
}
},
{
"name": "linux_amd64: copy fake_python",
"run": "rm -f fake_python && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 //cmd/fake_python $(pwd)/fake_python"
},
{
"name": "linux_amd64: upload fake_python",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "fake_python.linux_amd64",
"path": "fake_python"
}
},
{
"name": "linux_amd64: copy fake_xcrun",
"run": "rm -f fake_xcrun && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 //cmd/fake_xcrun $(pwd)/fake_xcrun"
},
{
"name": "linux_amd64: upload fake_xcrun",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "fake_xcrun.linux_amd64",
"path": "fake_xcrun"
}
},
{
"name": "linux_386: build and test",
"run": "bazel test --test_output=errors --platforms=@io_bazel_rules_go//go/toolchain:linux_386 //..."
},
{
"name": "linux_386: copy bb_noop_worker",
"run": "rm -f bb_noop_worker && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_386 //cmd/bb_noop_worker $(pwd)/bb_noop_worker"
},
{
"name": "linux_386: upload bb_noop_worker",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_noop_worker.linux_386",
"path": "bb_noop_worker"
}
},
{
"name": "linux_386: copy bb_runner",
"run": "rm -f bb_runner && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_386 //cmd/bb_runner $(pwd)/bb_runner"
},
{
"name": "linux_386: upload bb_runner",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_runner.linux_386",
"path": "bb_runner"
}
},
{
"name": "linux_386: copy bb_scheduler",
"run": "rm -f bb_scheduler && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_386 //cmd/bb_scheduler $(pwd)/bb_scheduler"
},
{
"name": "linux_386: upload bb_scheduler",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_scheduler.linux_386",
"path": "bb_scheduler"
}
},
{
"name": "linux_386: copy bb_virtual_tmp",
"run": "rm -f bb_virtual_tmp && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_386 //cmd/bb_virtual_tmp $(pwd)/bb_virtual_tmp"
},
{
"name": "linux_386: upload bb_virtual_tmp",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_virtual_tmp.linux_386",
"path": "bb_virtual_tmp"
}
},
{
"name": "linux_386: copy bb_worker",
"run": "rm -f bb_worker && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_386 //cmd/bb_worker $(pwd)/bb_worker"
},
{
"name": "linux_386: upload bb_worker",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_worker.linux_386",
"path": "bb_worker"
}
},
{
"name": "linux_386: copy fake_python",
"run": "rm -f fake_python && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_386 //cmd/fake_python $(pwd)/fake_python"
},
{
"name": "linux_386: upload fake_python",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "fake_python.linux_386",
"path": "fake_python"
}
},
{
"name": "linux_386: copy fake_xcrun",
"run": "rm -f fake_xcrun && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_386 //cmd/fake_xcrun $(pwd)/fake_xcrun"
},
{
"name": "linux_386: upload fake_xcrun",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "fake_xcrun.linux_386",
"path": "fake_xcrun"
}
},
{
"name": "linux_arm: build and test",
"run": "bazel build --platforms=@io_bazel_rules_go//go/toolchain:linux_arm //..."
},
{
"name": "linux_arm: copy bb_noop_worker",
"run": "rm -f bb_noop_worker && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_arm //cmd/bb_noop_worker $(pwd)/bb_noop_worker"
},
{
"name": "linux_arm: upload bb_noop_worker",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_noop_worker.linux_arm",
"path": "bb_noop_worker"
}
},
{
"name": "linux_arm: copy bb_runner",
"run": "rm -f bb_runner && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_arm //cmd/bb_runner $(pwd)/bb_runner"
},
{
"name": "linux_arm: upload bb_runner",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_runner.linux_arm",
"path": "bb_runner"
}
},
{
"name": "linux_arm: copy bb_scheduler",
"run": "rm -f bb_scheduler && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_arm //cmd/bb_scheduler $(pwd)/bb_scheduler"
},
{
"name": "linux_arm: upload bb_scheduler",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_scheduler.linux_arm",
"path": "bb_scheduler"
}
},
{
"name": "linux_arm: copy bb_virtual_tmp",
"run": "rm -f bb_virtual_tmp && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_arm //cmd/bb_virtual_tmp $(pwd)/bb_virtual_tmp"
},
{
"name": "linux_arm: upload bb_virtual_tmp",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_virtual_tmp.linux_arm",
"path": "bb_virtual_tmp"
}
},
{
"name": "linux_arm: copy bb_worker",
"run": "rm -f bb_worker && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_arm //cmd/bb_worker $(pwd)/bb_worker"
},
{
"name": "linux_arm: upload bb_worker",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_worker.linux_arm",
"path": "bb_worker"
}
},
{
"name": "linux_arm: copy fake_python",
"run": "rm -f fake_python && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_arm //cmd/fake_python $(pwd)/fake_python"
},
{
"name": "linux_arm: upload fake_python",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "fake_python.linux_arm",
"path": "fake_python"
}
},
{
"name": "linux_arm: copy fake_xcrun",
"run": "rm -f fake_xcrun && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_arm //cmd/fake_xcrun $(pwd)/fake_xcrun"
},
{
"name": "linux_arm: upload fake_xcrun",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "fake_xcrun.linux_arm",
"path": "fake_xcrun"
}
},
{
"name": "linux_arm64: build and test",
"run": "bazel build --platforms=@io_bazel_rules_go//go/toolchain:linux_arm64 //..."
},
{
"name": "linux_arm64: copy bb_noop_worker",
"run": "rm -f bb_noop_worker && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_arm64 //cmd/bb_noop_worker $(pwd)/bb_noop_worker"
},
{
"name": "linux_arm64: upload bb_noop_worker",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_noop_worker.linux_arm64",
"path": "bb_noop_worker"
}
},
{
"name": "linux_arm64: copy bb_runner",
"run": "rm -f bb_runner && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_arm64 //cmd/bb_runner $(pwd)/bb_runner"
},
{
"name": "linux_arm64: upload bb_runner",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_runner.linux_arm64",
"path": "bb_runner"
}
},
{
"name": "linux_arm64: copy bb_scheduler",
"run": "rm -f bb_scheduler && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_arm64 //cmd/bb_scheduler $(pwd)/bb_scheduler"
},
{
"name": "linux_arm64: upload bb_scheduler",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_scheduler.linux_arm64",
"path": "bb_scheduler"
}
},
{
"name": "linux_arm64: copy bb_virtual_tmp",
"run": "rm -f bb_virtual_tmp && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_arm64 //cmd/bb_virtual_tmp $(pwd)/bb_virtual_tmp"
},
{
"name": "linux_arm64: upload bb_virtual_tmp",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_virtual_tmp.linux_arm64",
"path": "bb_virtual_tmp"
}
},
{
"name": "linux_arm64: copy bb_worker",
"run": "rm -f bb_worker && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_arm64 //cmd/bb_worker $(pwd)/bb_worker"
},
{
"name": "linux_arm64: upload bb_worker",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_worker.linux_arm64",
"path": "bb_worker"
}
},
{
"name": "linux_arm64: copy fake_python",
"run": "rm -f fake_python && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_arm64 //cmd/fake_python $(pwd)/fake_python"
},
{
"name": "linux_arm64: upload fake_python",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "fake_python.linux_arm64",
"path": "fake_python"
}
},
{
"name": "linux_arm64: copy fake_xcrun",
"run": "rm -f fake_xcrun && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:linux_arm64 //cmd/fake_xcrun $(pwd)/fake_xcrun"
},
{
"name": "linux_arm64: upload fake_xcrun",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "fake_xcrun.linux_arm64",
"path": "fake_xcrun"
}
},
{
"name": "darwin_amd64: build and test",
"run": "bazel build --platforms=@io_bazel_rules_go//go/toolchain:darwin_amd64 //..."
},
{
"name": "darwin_amd64: copy bb_noop_worker",
"run": "rm -f bb_noop_worker && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:darwin_amd64 //cmd/bb_noop_worker $(pwd)/bb_noop_worker"
},
{
"name": "darwin_amd64: upload bb_noop_worker",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_noop_worker.darwin_amd64",
"path": "bb_noop_worker"
}
},
{
"name": "darwin_amd64: copy bb_runner",
"run": "rm -f bb_runner && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:darwin_amd64 //cmd/bb_runner $(pwd)/bb_runner"
},
{
"name": "darwin_amd64: upload bb_runner",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_runner.darwin_amd64",
"path": "bb_runner"
}
},
{
"name": "darwin_amd64: copy bb_scheduler",
"run": "rm -f bb_scheduler && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:darwin_amd64 //cmd/bb_scheduler $(pwd)/bb_scheduler"
},
{
"name": "darwin_amd64: upload bb_scheduler",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_scheduler.darwin_amd64",
"path": "bb_scheduler"
}
},
{
"name": "darwin_amd64: copy bb_virtual_tmp",
"run": "rm -f bb_virtual_tmp && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:darwin_amd64 //cmd/bb_virtual_tmp $(pwd)/bb_virtual_tmp"
},
{
"name": "darwin_amd64: upload bb_virtual_tmp",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_virtual_tmp.darwin_amd64",
"path": "bb_virtual_tmp"
}
},
{
"name": "darwin_amd64: copy bb_worker",
"run": "rm -f bb_worker && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:darwin_amd64 //cmd/bb_worker $(pwd)/bb_worker"
},
{
"name": "darwin_amd64: upload bb_worker",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_worker.darwin_amd64",
"path": "bb_worker"
}
},
{
"name": "darwin_amd64: copy fake_python",
"run": "rm -f fake_python && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:darwin_amd64 //cmd/fake_python $(pwd)/fake_python"
},
{
"name": "darwin_amd64: upload fake_python",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "fake_python.darwin_amd64",
"path": "fake_python"
}
},
{
"name": "darwin_amd64: copy fake_xcrun",
"run": "rm -f fake_xcrun && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:darwin_amd64 //cmd/fake_xcrun $(pwd)/fake_xcrun"
},
{
"name": "darwin_amd64: upload fake_xcrun",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "fake_xcrun.darwin_amd64",
"path": "fake_xcrun"
}
},
{
"name": "darwin_arm64: build and test",
"run": "bazel build --platforms=@io_bazel_rules_go//go/toolchain:darwin_arm64 //..."
},
{
"name": "darwin_arm64: copy bb_noop_worker",
"run": "rm -f bb_noop_worker && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:darwin_arm64 //cmd/bb_noop_worker $(pwd)/bb_noop_worker"
},
{
"name": "darwin_arm64: upload bb_noop_worker",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_noop_worker.darwin_arm64",
"path": "bb_noop_worker"
}
},
{
"name": "darwin_arm64: copy bb_runner",
"run": "rm -f bb_runner && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:darwin_arm64 //cmd/bb_runner $(pwd)/bb_runner"
},
{
"name": "darwin_arm64: upload bb_runner",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_runner.darwin_arm64",
"path": "bb_runner"
}
},
{
"name": "darwin_arm64: copy bb_scheduler",
"run": "rm -f bb_scheduler && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:darwin_arm64 //cmd/bb_scheduler $(pwd)/bb_scheduler"
},
{
"name": "darwin_arm64: upload bb_scheduler",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_scheduler.darwin_arm64",
"path": "bb_scheduler"
}
},
{
"name": "darwin_arm64: copy bb_virtual_tmp",
"run": "rm -f bb_virtual_tmp && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:darwin_arm64 //cmd/bb_virtual_tmp $(pwd)/bb_virtual_tmp"
},
{
"name": "darwin_arm64: upload bb_virtual_tmp",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_virtual_tmp.darwin_arm64",
"path": "bb_virtual_tmp"
}
},
{
"name": "darwin_arm64: copy bb_worker",
"run": "rm -f bb_worker && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:darwin_arm64 //cmd/bb_worker $(pwd)/bb_worker"
},
{
"name": "darwin_arm64: upload bb_worker",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_worker.darwin_arm64",
"path": "bb_worker"
}
},
{
"name": "darwin_arm64: copy fake_python",
"run": "rm -f fake_python && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:darwin_arm64 //cmd/fake_python $(pwd)/fake_python"
},
{
"name": "darwin_arm64: upload fake_python",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "fake_python.darwin_arm64",
"path": "fake_python"
}
},
{
"name": "darwin_arm64: copy fake_xcrun",
"run": "rm -f fake_xcrun && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:darwin_arm64 //cmd/fake_xcrun $(pwd)/fake_xcrun"
},
{
"name": "darwin_arm64: upload fake_xcrun",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "fake_xcrun.darwin_arm64",
"path": "fake_xcrun"
}
},
{
"name": "freebsd_amd64: build and test",
"run": "bazel build --platforms=@io_bazel_rules_go//go/toolchain:freebsd_amd64 //cmd/bb_noop_worker //cmd/bb_runner //cmd/bb_scheduler //cmd/bb_virtual_tmp //cmd/bb_worker //cmd/fake_python //cmd/fake_xcrun"
},
{
"name": "freebsd_amd64: copy bb_noop_worker",
"run": "rm -f bb_noop_worker && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:freebsd_amd64 //cmd/bb_noop_worker $(pwd)/bb_noop_worker"
},
{
"name": "freebsd_amd64: upload bb_noop_worker",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_noop_worker.freebsd_amd64",
"path": "bb_noop_worker"
}
},
{
"name": "freebsd_amd64: copy bb_runner",
"run": "rm -f bb_runner && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:freebsd_amd64 //cmd/bb_runner $(pwd)/bb_runner"
},
{
"name": "freebsd_amd64: upload bb_runner",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_runner.freebsd_amd64",
"path": "bb_runner"
}
},
{
"name": "freebsd_amd64: copy bb_scheduler",
"run": "rm -f bb_scheduler && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:freebsd_amd64 //cmd/bb_scheduler $(pwd)/bb_scheduler"
},
{
"name": "freebsd_amd64: upload bb_scheduler",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_scheduler.freebsd_amd64",
"path": "bb_scheduler"
}
},
{
"name": "freebsd_amd64: copy bb_virtual_tmp",
"run": "rm -f bb_virtual_tmp && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:freebsd_amd64 //cmd/bb_virtual_tmp $(pwd)/bb_virtual_tmp"
},
{
"name": "freebsd_amd64: upload bb_virtual_tmp",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_virtual_tmp.freebsd_amd64",
"path": "bb_virtual_tmp"
}
},
{
"name": "freebsd_amd64: copy bb_worker",
"run": "rm -f bb_worker && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:freebsd_amd64 //cmd/bb_worker $(pwd)/bb_worker"
},
{
"name": "freebsd_amd64: upload bb_worker",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_worker.freebsd_amd64",
"path": "bb_worker"
}
},
{
"name": "freebsd_amd64: copy fake_python",
"run": "rm -f fake_python && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:freebsd_amd64 //cmd/fake_python $(pwd)/fake_python"
},
{
"name": "freebsd_amd64: upload fake_python",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "fake_python.freebsd_amd64",
"path": "fake_python"
}
},
{
"name": "freebsd_amd64: copy fake_xcrun",
"run": "rm -f fake_xcrun && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:freebsd_amd64 //cmd/fake_xcrun $(pwd)/fake_xcrun"
},
{
"name": "freebsd_amd64: upload fake_xcrun",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "fake_xcrun.freebsd_amd64",
"path": "fake_xcrun"
}
},
{
"name": "windows_amd64: build and test",
"run": "bazel build --platforms=@io_bazel_rules_go//go/toolchain:windows_amd64 //..."
},
{
"name": "windows_amd64: copy bb_noop_worker",
"run": "rm -f bb_noop_worker.exe && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:windows_amd64 //cmd/bb_noop_worker $(pwd)/bb_noop_worker.exe"
},
{
"name": "windows_amd64: upload bb_noop_worker",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_noop_worker.windows_amd64",
"path": "bb_noop_worker.exe"
}
},
{
"name": "windows_amd64: copy bb_runner",
"run": "rm -f bb_runner.exe && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:windows_amd64 //cmd/bb_runner $(pwd)/bb_runner.exe"
},
{
"name": "windows_amd64: upload bb_runner",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_runner.windows_amd64",
"path": "bb_runner.exe"
}
},
{
"name": "windows_amd64: copy bb_scheduler",
"run": "rm -f bb_scheduler.exe && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:windows_amd64 //cmd/bb_scheduler $(pwd)/bb_scheduler.exe"
},
{
"name": "windows_amd64: upload bb_scheduler",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_scheduler.windows_amd64",
"path": "bb_scheduler.exe"
}
},
{
"name": "windows_amd64: copy bb_virtual_tmp",
"run": "rm -f bb_virtual_tmp.exe && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:windows_amd64 //cmd/bb_virtual_tmp $(pwd)/bb_virtual_tmp.exe"
},
{
"name": "windows_amd64: upload bb_virtual_tmp",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_virtual_tmp.windows_amd64",
"path": "bb_virtual_tmp.exe"
}
},
{
"name": "windows_amd64: copy bb_worker",
"run": "rm -f bb_worker.exe && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:windows_amd64 //cmd/bb_worker $(pwd)/bb_worker.exe"
},
{
"name": "windows_amd64: upload bb_worker",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "bb_worker.windows_amd64",
"path": "bb_worker.exe"
}
},
{
"name": "windows_amd64: copy fake_python",
"run": "rm -f fake_python.exe && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:windows_amd64 //cmd/fake_python $(pwd)/fake_python.exe"
},
{
"name": "windows_amd64: upload fake_python",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "fake_python.windows_amd64",
"path": "fake_python.exe"
}
},
{
"name": "windows_amd64: copy fake_xcrun",
"run": "rm -f fake_xcrun.exe && bazel run --run_under cp --platforms=@io_bazel_rules_go//go/toolchain:windows_amd64 //cmd/fake_xcrun $(pwd)/fake_xcrun.exe"
},
{
"name": "windows_amd64: upload fake_xcrun",
"uses": "actions/upload-artifact@v2-preview",
"with": {
"name": "fake_xcrun.windows_amd64",
"path": "fake_xcrun.exe"
}
},
{
"env": {
"GITHUB_TOKEN": "${{ secrets.GITHUB_TOKEN }}"
},
"name": "Install Docker credentials",
"run": "echo \"${GITHUB_TOKEN}\" | docker login ghcr.io -u $ --password-stdin"
},
{
"name": "Push container bb_noop_worker:bb_noop_worker",
"run": "bazel run --stamp //cmd/bb_noop_worker:bb_noop_worker_container_push"
},
{
"name": "Push container bb_runner:bb_runner_bare",
"run": "bazel run --stamp //cmd/bb_runner:bb_runner_bare_container_push"
},
{
"name": "Push container bb_runner:bb_runner_installer",
"run": "bazel run --stamp //cmd/bb_runner:bb_runner_installer_container_push"
},
{
"name": "Push container bb_scheduler:bb_scheduler",
"run": "bazel run --stamp //cmd/bb_scheduler:bb_scheduler_container_push"
},
{
"name": "Push container bb_worker:bb_worker",
"run": "bazel run --stamp //cmd/bb_worker:bb_worker_container_push"
}
]
}
},
"name": "master",
"on": {
"push": {
"branches": [
"master"
]
}
}
}