edbaunton / bazel-buildfarm

[WIP] Bazel remote caching and execution service

Home Page:https://bazel.build

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bazel Buildfarm

This repository will host a Bazel remote caching and execution system.

This project is just getting started.

Read the meeting notes. Get involved by joining the discussion on the dedicated mailing list.

Usage

In general do not execute server binaries with bazel run, since bazel does not support running multiple targets.

All commandline options override corresponding config settings.

Bazel BuildFarmServer

Run via

bazel build //src/main/java/build/buildfarm:buildfarm-server && \
bazel-bin/src/main/java/build/buildfarm/buildfarm-server <configfile> [-p PORT] [--port PORT]

Bazel BuildFarmWorker

Run via

bazel build //src/main/java/build/buildfarm:buildfarm-worker && \
bazel-bin/src/main/java/build/buildfarm/buildfarm-worker <configfile> [--root ROOT] [--cas_cache_directory CAS_CACHE_DIRECTORY]
  • configfile has to be in (undocumented) Protocol Buffer text format.

    For format details see here. Protocol Buffer structure at src/main/protobuf/build/buildfarm/v1test/buildfarm.proto

  • ROOT base directory path for all work being performed.

  • CAS_CACHE_DIRECTORY is (absolute or relative) directory path to cached files from CAS.

About

[WIP] Bazel remote caching and execution service

https://bazel.build

License:Apache License 2.0


Languages

Language:Java 97.0%Language:Python 3.0%