Skip to content

Commit f81a9c1

Browse files
authored
Merge pull request #123 from rust-lang/docs-document-bors
docs: document bors
2 parents 263086b + b486f9f commit f81a9c1

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

service-catalog/bors/README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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

0 commit comments

Comments
 (0)