Skip to content
/ baize Public

A minimum implement of bazel remote execution

Notifications You must be signed in to change notification settings

dashjay/baize

Repository files navigation

BAIZE

Baize, mythical creatures in ancient Chinese mythology, who can speak with people, know every thing, It considered to have psychic powers, and can wipe out all evil spirits in the world.

Why use this name? Because it's pronunciation is very similar to bazel, which is open source by Google. And this project is related to bazel.

中文

About

This project provide a minimum implement of bazel remote execution, can be used to learn how bazel remote execution works.

I also expect this project can be complete gradually, and can be used in the production environment.

Design

Baize

In shorts, Bazel Remote Executor exports two server for clients.

  1. Cache Server receives all materials, contains user src files, user action info, result of the action from executors, etc.
  2. Execute Server can make the execution from users to Executors.

Cache Server has more than one backend. For small object, we use memory as backend;for medium object, we use seaweedfs as backend; for big object, we use oss.

Execute Server do actions from clients to executors.

Development

modify codes in cmd and pkg, and run following script

./deploy/docker-compose/up.sh

About

A minimum implement of bazel remote execution

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published