You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The previous CI was strangely relying on workflows to split the CI
and have it run in parallel.
A lot of the work was made several times:
e.g. installing rust stable + nightly, installing packages, starting our
builder image etc.
Overall it was done x6 times. It was strongly overkill considering some of the
steps run in (<1s).
After this refactoring we run in two "jobs" with a different set of steps.
- Lint runs clippy + all of the smaller jobs (cargo fmt, cargo deny, checking the license)
- Test runs the unit test.
In addition, we stop relying on the builder image and the associated confusion.
For instance, the rust stable installed in the CI workflow was actually not used.
The quickwit-builder image one was taken because of the rust-toolchain.toml.
After the PR, we run on stock ubuntu-latest directly.
We then rely on rustup to install the right version of cargo/rust
as define in the rust-toolchain.
Updating the rust version does not require any extra changes.
cargo deny / cargo nextest need to be build unfortunately.
That step is however cached.
0 commit comments