rust/book/src/development/infrastructure
Philipp Krones e9aed8764e
set concurrency for the deploy job (#14448)
In the current GitHub Actions CI/CD setup, the `deploy` job is not
triggered when a PR is enqueued in the merge queue but only when it is
merged. Since concurrency is not configured for this job, deployments
may fail for later PRs if multiple PRs are merged in quick succession.
(e.g. the deployment for [this
commit](c418714518)
was successful, but the deployment for [this
commit](0a141ab7b8)
that was pushed to `main` immediately afterward failed. (edit: the
latter deployment seems to be rerun))

changelog: none

r? flip1995
2025-03-23 12:15:07 +00:00
..
backport.md Update backport, release and sync documentation 2024-11-29 10:16:46 +01:00
benchmarking.md Follow remark guidelines 2025-02-10 23:50:15 +01:00
book.md Gramar, and spelin kleanup 2023-03-30 15:31:14 -04:00
changelog_update.md Changelog for Clippy 1.84 🧨 2025-01-03 19:40:39 +01:00
README.md Book: Add infrastructure description 2022-06-06 16:17:57 +02:00
release.md remove the notation of the deploy job 2025-03-23 21:09:28 +09:00
sync.md rename rust-toolchain to rust-toolchain.toml 2025-03-21 09:37:59 +09:00

Infrastructure

In order to deploy Clippy over rustup, some infrastructure is necessary. This chapter describes the different parts of the Clippy infrastructure that need to be maintained to make this possible.

The most important part is the sync between the rust-lang/rust repository and the Clippy repository that takes place every two weeks. This process is described in the Syncing changes between Clippy and rust-lang/rust section.

A new Clippy release is done together with every Rust release, so every six weeks. The release process is described in the Release a new Clippy Version section. During a release cycle a changelog entry for the next release has to be written. The format of that and how to do that is documented in the Changelog Update section.

Note: The Clippy CI should also be described in this chapter, but for now is left as a TODO.