Merged
CI: CARGO_BUILD_JOBS=4 voor de Rust-jobs
hephaestus bot
wants to merge
1 commit
from
kvt/cargo-jobs-4
into
master
Overview Commits 1 Pipelines 1 Changes 2
CARGO_BUILD_JOBS 2 -> 4 in .kvt_rust (linux_release, windows_release, app_test) en -j2 -> -j4 in app_test, nu de VM 32 GB RAM heeft (Tim, t2333u). Alleen blue-ci-cd.yml en KVT-FORK.md.
Activity
- hephaestus Pipeline #546 is Warning 29 November 2026
- hephaestus opened this merge request 29 November 2026
- hephaestus merged this merge request 29 November 2026
Commits
Pipelines
- #546 Warning
Changes
@@ -88,7 +88,7 @@ twee zware compiles tegelijk.
88
88
89
89
| | |
90
90
|---|---|
91
| Wat | `CARGO_BUILD_JOBS=2`, `RUST_TEST_THREADS=2`, `CARGO_INCREMENTAL=0`, `profile.ci` (`debug = 0`). `app_test` (nu handmatig) compileert één keer met `cargo test --no-run` en draait daarna dezelfde tests (kvt-update, updatertests, kvt-sleutels, `cargo check -p app`). `windows_release` wacht op `linux_release`. Tussen runs een Cargo/rustup-tarball: BlueGit cache't geen mappen, en `target/` is te groot voor de jobcache. |
91
| Wat | `CARGO_BUILD_JOBS=4` (Tim, t2333u: de VM heeft 32 GB RAM; was 2), `RUST_TEST_THREADS=2`, `CARGO_INCREMENTAL=0`, `profile.ci` (`debug = 0`). `app_test` (nu handmatig) compileert één keer met `cargo test --no-run` en draait daarna dezelfde tests (kvt-update, updatertests, kvt-sleutels, `cargo check -p app`). `windows_release` wacht op `linux_release`. Tussen runs een Cargo/rustup-tarball: BlueGit cache't geen mappen, en `target/` is te groot voor de jobcache. |
92
92
| Eigen bestanden | `blue-ci-cd.yml`, `packaging/kvt/ci-cache.sh`, `packaging/kvt/ci-setup.sh` (Cargo/rustup in de werkmap onder `CI`) |
93
93
| Upstream aangeraakt | `Cargo.toml` (alleen `[profile.ci]`) |
94
94
| Commits / MR's | branch `kvt/ci-lichter` (MR volgt als de runners conservatief staan) |
@@ -88,7 +88,7 @@ twee zware compiles tegelijk.88
88
89
| | |89
| | |90
|---|---|90
|---|---|91
| Wat | `CARGO_BUILD_JOBS=2`, `RUST_TEST_THREADS=2`, `CARGO_INCREMENTAL=0`, `profile.ci` (`debug = 0`). `app_test` (nu handmatig) compileert één keer met `cargo test --no-run` en draait daarna dezelfde tests (kvt-update, updatertests, kvt-sleutels, `cargo check -p app`). `windows_release` wacht op `linux_release`. Tussen runs een Cargo/rustup-tarball: BlueGit cache't geen mappen, en `target/` is te groot voor de jobcache. |91
| Wat | `CARGO_BUILD_JOBS=4` (Tim, t2333u: de VM heeft 32 GB RAM; was 2), `RUST_TEST_THREADS=2`, `CARGO_INCREMENTAL=0`, `profile.ci` (`debug = 0`). `app_test` (nu handmatig) compileert één keer met `cargo test --no-run` en draait daarna dezelfde tests (kvt-update, updatertests, kvt-sleutels, `cargo check -p app`). `windows_release` wacht op `linux_release`. Tussen runs een Cargo/rustup-tarball: BlueGit cache't geen mappen, en `target/` is te groot voor de jobcache. |92
| Eigen bestanden | `blue-ci-cd.yml`, `packaging/kvt/ci-cache.sh`, `packaging/kvt/ci-setup.sh` (Cargo/rustup in de werkmap onder `CI`) |92
| Eigen bestanden | `blue-ci-cd.yml`, `packaging/kvt/ci-cache.sh`, `packaging/kvt/ci-setup.sh` (Cargo/rustup in de werkmap onder `CI`) |93
| Upstream aangeraakt | `Cargo.toml` (alleen `[profile.ci]`) |93
| Upstream aangeraakt | `Cargo.toml` (alleen `[profile.ci]`) |94
| Commits / MR's | branch `kvt/ci-lichter` (MR volgt als de runners conservatief staan) |94
| Commits / MR's | branch `kvt/ci-lichter` (MR volgt als de runners conservatief staan) |@@ -15,7 +15,7 @@
15
15
# hebben de gedeelde BlueGit-runner herhaaldelijk onderuit gehaald. Draai de
16
16
# volledige tests lokaal (cargo test -p app / -p app-state / -p kvt-sleutels)
17
17
# of start de jobs bewust met "play".
18
# Rust-jobs gebruiken CARGO_BUILD_JOBS=2, RUST_TEST_THREADS=2,
18
# Rust-jobs gebruiken CARGO_BUILD_JOBS=4 (Tim, t2333u; VM heeft 32 GB), RUST_TEST_THREADS=2,
19
19
# CARGO_INCREMENTAL=0 en profile.ci (debug=0). Tussen runs bewaren ze
20
20
# een Cargo/rustup-tarball: BlueGit cache't geen mappen, en target/
21
21
# is te groot voor de jobcache.
@@ -146,7 +146,7 @@ sync-upstream:
146
146
.kvt_rust:
147
147
variables:
148
148
CARGO_INCREMENTAL: "0"
149
CARGO_BUILD_JOBS: "2"
149
CARGO_BUILD_JOBS: "4"
150
150
RUST_TEST_THREADS: "2"
151
151
152
152
# De scripts in packaging/kvt (shell-syntaxis en tests.sh). Geen apt-installs en
@@ -207,13 +207,13 @@ app_test:
207
207
- packaging/kvt/ci-cache.sh restore linux
208
208
- packaging/kvt/ci-setup.sh linux
209
209
- . "${CARGO_HOME:-$HOME/.cargo}/env"
210
- cargo test --locked --profile ci -j2 --no-run -p kvt-update
211
- cargo test --locked --profile ci -j2 --no-run -p kvt-sleutels
212
- cargo test --locked --profile ci -j2 --no-run -p app-base --lib
213
- cargo check --locked --profile ci -j2 -p app
214
- cargo test --locked --profile ci -j2 -p kvt-update
215
- cargo test --locked --profile ci -j2 -p kvt-sleutels
216
- cargo test --locked --profile ci -j2 -p app-base --lib -- release_feed kvt_feed updater
210
- cargo test --locked --profile ci -j4 --no-run -p kvt-update
211
- cargo test --locked --profile ci -j4 --no-run -p kvt-sleutels
212
- cargo test --locked --profile ci -j4 --no-run -p app-base --lib
213
- cargo check --locked --profile ci -j4 -p app
214
- cargo test --locked --profile ci -j4 -p kvt-update
215
- cargo test --locked --profile ci -j4 -p kvt-sleutels
216
- cargo test --locked --profile ci -j4 -p app-base --lib -- release_feed kvt_feed updater
217
217
- packaging/kvt/ci-cache.sh save linux
218
218
219
219
# Linux: release-build met de tag als versie (TEAMS_RELEASE_TAG via build.rs),
@@ -15,7 +15,7 @@15
# hebben de gedeelde BlueGit-runner herhaaldelijk onderuit gehaald. Draai de15
# hebben de gedeelde BlueGit-runner herhaaldelijk onderuit gehaald. Draai de16
# volledige tests lokaal (cargo test -p app / -p app-state / -p kvt-sleutels)16
# volledige tests lokaal (cargo test -p app / -p app-state / -p kvt-sleutels)17
# of start de jobs bewust met "play".17
# of start de jobs bewust met "play".18
# Rust-jobs gebruiken CARGO_BUILD_JOBS=2, RUST_TEST_THREADS=2,18
# Rust-jobs gebruiken CARGO_BUILD_JOBS=4 (Tim, t2333u; VM heeft 32 GB), RUST_TEST_THREADS=2,19
# CARGO_INCREMENTAL=0 en profile.ci (debug=0). Tussen runs bewaren ze19
# CARGO_INCREMENTAL=0 en profile.ci (debug=0). Tussen runs bewaren ze20
# een Cargo/rustup-tarball: BlueGit cache't geen mappen, en target/20
# een Cargo/rustup-tarball: BlueGit cache't geen mappen, en target/21
# is te groot voor de jobcache.21
# is te groot voor de jobcache.@@ -146,7 +146,7 @@ sync-upstream:146
.kvt_rust:146
.kvt_rust:147
variables:147
variables:148
CARGO_INCREMENTAL: "0"148
CARGO_INCREMENTAL: "0"149
CARGO_BUILD_JOBS: "2"149
CARGO_BUILD_JOBS: "4"150
RUST_TEST_THREADS: "2"150
RUST_TEST_THREADS: "2"151
151
152
# De scripts in packaging/kvt (shell-syntaxis en tests.sh). Geen apt-installs en152
# De scripts in packaging/kvt (shell-syntaxis en tests.sh). Geen apt-installs en@@ -207,13 +207,13 @@ app_test:207
- packaging/kvt/ci-cache.sh restore linux207
- packaging/kvt/ci-cache.sh restore linux208
- packaging/kvt/ci-setup.sh linux208
- packaging/kvt/ci-setup.sh linux209
- . "${CARGO_HOME:-$HOME/.cargo}/env"209
- . "${CARGO_HOME:-$HOME/.cargo}/env"210
- cargo test --locked --profile ci -j2 --no-run -p kvt-update210
- cargo test --locked --profile ci -j4 --no-run -p kvt-update211
- cargo test --locked --profile ci -j2 --no-run -p kvt-sleutels211
- cargo test --locked --profile ci -j4 --no-run -p kvt-sleutels212
- cargo test --locked --profile ci -j2 --no-run -p app-base --lib212
- cargo test --locked --profile ci -j4 --no-run -p app-base --lib213
- cargo check --locked --profile ci -j2 -p app213
- cargo check --locked --profile ci -j4 -p app214
- cargo test --locked --profile ci -j2 -p kvt-update214
- cargo test --locked --profile ci -j4 -p kvt-update215
- cargo test --locked --profile ci -j2 -p kvt-sleutels215
- cargo test --locked --profile ci -j4 -p kvt-sleutels216
- cargo test --locked --profile ci -j2 -p app-base --lib -- release_feed kvt_feed updater216
- cargo test --locked --profile ci -j4 -p app-base --lib -- release_feed kvt_feed updater217
- packaging/kvt/ci-cache.sh save linux217
- packaging/kvt/ci-cache.sh save linux218
218
219
# Linux: release-build met de tag als versie (TEAMS_RELEASE_TAG via build.rs),219
# Linux: release-build met de tag als versie (TEAMS_RELEASE_TAG via build.rs),