a serverless implementation for a bazel build cache
Bazel is an input output machine. Bazel's exploits the ability to track consistent sets of inputs and their outputs to avoid rebuilding what input combinations have already been built using a remote caching server. This repository contains a serverless implementation of that protocol that uses AWS API gateway triggered lambda and s3 storage backend.
💡 Note API Gateway's constraints when evaluating this implementation. For instance, API Gateway sets a hard
10MB
limit on HTTP PUT requests.
This is a rustlang application. Go grab yourself a copy with rustup.
This is a rust application deployed using ⚡ serverless ⚡.
💡 To install serverless, run
make dependencies
This lambda is configured through its environment variables.
Name | Description |
---|---|
USERNAME |
basic auth username |
PASSWORD |
basic auth password |
Run AWS_PROFILE=prod make deploy
to deploy.