Rust building infrastructure
Clone or download
Pull request Compare This branch is 2 commits ahead, 98 commits behind rust-lang:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
promote-release
rbars
tq
.dockerignore
.gitignore
Cargo.lock
Cargo.toml
Dockerfile
README.md
crontab
homu.toml.template
naglist.txt
nginx.conf.template
nginx.tmp.conf
run-dev.sh
run-prod.sh
secrets.toml.example
ssmtp.conf.template

README.md

Rust Central Station

Or otherwise just another name for the old buildmaster.

This repo is hooked up to an automated docker build

On the destination machine you can run it as:

./run-prod.sh

Services currently provided are:

  • cancelbot for rust-lang/rust
  • cancelbot for rust-lang/cargo
  • homu
  • nginx in front of homu
  • ssl via letsencrypt
  • nagbot

Future services

  • signing Rust releases

Architecture

This is intended to be run as a container on the destination server, so the container here specifies everything about what's being run.

  • Secrets are stored in secrets.toml next to secrets.toml.example and are shared with the container.
  • Programs are provided in the container (tq and rbars) which will read the TOML configuration for use in shell scripts.
  • Everything pipes output to logger to collect output
  • Services are just run as simple daemons, not a lot of management.