File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Bors
2+
3+ The bors [ module] ( https://github.com/rust-lang/simpleinfra/tree/master/terragrunt/modules/bors )
4+ contains the infrastructure of [ bors] ( https://github.com/rust-lang/bors ) , the Rust rewrite of
5+ [ homu] ( https://github.com/rust-lang/homu ) .
6+
7+ ` Homu ` is deployed in the legacy account, while ` bors ` is deployed in the
8+ ` bors-staging ` and ` bors-prod ` account, depending on the environment.
9+
10+ Bors is deployed as a [ Fargate] ( https://aws.amazon.com/fargate/ ) service
11+ ([ ECS] ( https://aws.amazon.com/ecs/ ) ) in the ` us-east-2 ` region.
12+ Bors uses an RDS PostgreSQL database.
13+
14+ To deploy a new version, the
15+ [ deployment] ( https://github.com/rust-lang/bors/blob/main/.github/workflows/deploy.yml )
16+ pipeline:
17+
18+ 1 . Pushes the Docker image to the [ ECR] ( https://aws.amazon.com/ecr/ ) repository.
19+ 2 . Updates the ECS service, forcing a new deployment.
20+
21+ ## Versions
22+
23+ These are the versions we need to keep up-to-date:
24+
25+ - Operating system: Ubuntu. Version specified in the
26+ [ Dockerfile]
27+ - Rust toolchain: specified in the [ Dockerfile]
28+ - Rust dependencies: specified in the
29+ [ Cargo.toml] ( https://github.com/rust-lang/bors/blob/main/Cargo.toml )
30+ - PostgreSQL: version specified in
31+ [ Terraform] ( https://github.com/rust-lang/simpleinfra/blob/master/terragrunt/modules/bors/main.tf )
32+
33+ No automation is in place as of August 2024.
34+
35+ [ Dockerfile ] : https://github.com/rust-lang/bors/blob/main/Dockerfile
You can’t perform that action at this time.
0 commit comments