Skip to content

Commit

Permalink
docs: document bors
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoIeni committed Aug 7, 2024
1 parent 263086b commit b486f9f
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions service-catalog/bors/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Bors

The bors [module](https://github.com/rust-lang/simpleinfra/tree/master/terragrunt/modules/bors)
contains the infrastructure of [bors](https://github.com/rust-lang/bors), the Rust rewrite of
[homu](https://github.com/rust-lang/homu).

`Homu` is deployed in the legacy account, while `bors` is deployed in the
`bors-staging` and `bors-prod` account, depending on the environment.

Bors is deployed as a [Fargate](https://aws.amazon.com/fargate/) service
([ECS](https://aws.amazon.com/ecs/)) in the `us-east-2` region.
Bors uses an RDS PostgreSQL database.

To deploy a new version, the
[deployment](https://github.com/rust-lang/bors/blob/main/.github/workflows/deploy.yml)
pipeline:

1. Pushes the Docker image to the [ECR](https://aws.amazon.com/ecr/) repository.
2. Updates the ECS service, forcing a new deployment.

## Versions

These are the versions we need to keep up-to-date:

- Operating system: Ubuntu. Version specified in the
[Dockerfile]
- Rust toolchain: specified in the [Dockerfile]
- Rust dependencies: specified in the
[Cargo.toml](https://github.com/rust-lang/bors/blob/main/Cargo.toml)
- PostgreSQL: version specified in
[Terraform](https://github.com/rust-lang/simpleinfra/blob/master/terragrunt/modules/bors/main.tf)

No automation is in place as of August 2024.

[Dockerfile]: https://github.com/rust-lang/bors/blob/main/Dockerfile

0 comments on commit b486f9f

Please sign in to comment.