ci: remove obsolete coverage remnants
Rust CI JohnSlop passed all CI checks.
Gitea/john_slop/pipeline/head This commit looks good
Details
Rust CI JohnSlop passed all CI checks.
Gitea/john_slop/pipeline/head This commit looks good
Details
This commit is contained in:
parent
f52f61f4c4
commit
dc21a5bf34
|
|
@ -8,9 +8,6 @@ pipeline {
|
|||
CARGO_TERM_COLOR = 'always'
|
||||
RUST_BACKTRACE = '1'
|
||||
MSRV = '1.98.1'
|
||||
// Coverage remains a local release gate while Jenkins does not publish
|
||||
// its report artifact.
|
||||
// TARPAULIN_VERSION = '0.37.4'
|
||||
CARGO_AUDIT_VERSION = '0.22.2'
|
||||
CARGO_DENY_VERSION = '0.20.2'
|
||||
}
|
||||
|
|
@ -58,14 +55,6 @@ pipeline {
|
|||
rustfmt --version
|
||||
cargo clippy --version
|
||||
|
||||
# Tarpaulin setup is disabled until CI publishes its report.
|
||||
# INSTALLED_TARPAULIN="$(cargo tarpaulin --version 2>/dev/null || true)"
|
||||
# if [ "${INSTALLED_TARPAULIN}" != "cargo-tarpaulin-tarpaulin ${TARPAULIN_VERSION}" ]; then
|
||||
# cargo install cargo-tarpaulin \
|
||||
# --locked \
|
||||
# --version "${TARPAULIN_VERSION}"
|
||||
# fi
|
||||
|
||||
INSTALLED_AUDIT="$(cargo audit --version 2>/dev/null || true)"
|
||||
if [ "${INSTALLED_AUDIT}" != "cargo-audit ${CARGO_AUDIT_VERSION}" ]; then
|
||||
cargo install cargo-audit --locked --version "${CARGO_AUDIT_VERSION}"
|
||||
|
|
@ -163,20 +152,6 @@ pipeline {
|
|||
}
|
||||
}
|
||||
|
||||
// Disabled while Jenkins does not publish the Tarpaulin report artifact.
|
||||
// Local release validation still uses tarpaulin.toml and its 90% floor.
|
||||
// stage('Coverage') {
|
||||
// steps {
|
||||
// sh '''
|
||||
// set -eu
|
||||
//
|
||||
// echo "Measuring line coverage..."
|
||||
//
|
||||
// cargo tarpaulin --config tarpaulin.toml
|
||||
// '''
|
||||
// }
|
||||
// }
|
||||
|
||||
stage('Clippy') {
|
||||
steps {
|
||||
sh '''
|
||||
|
|
|
|||
4
tasks.md
4
tasks.md
|
|
@ -711,8 +711,8 @@ and binary versions agree on `0.1.26`.
|
|||
reproducible.
|
||||
- [x] Ignore legacy per-package `cargo cyclonedx` intermediates left by earlier
|
||||
builds so workspace packaging remains clean after SBOM generation is removed.
|
||||
- [x] Disable Jenkins Tarpaulin installation and execution while the job does
|
||||
not publish coverage artifacts; retain the local 90% release gate.
|
||||
- [x] Remove Jenkins Tarpaulin installation and execution while the job does not
|
||||
publish coverage artifacts; retain the local 90% release gate.
|
||||
|
||||
Acceptance: release packaging emits archive and binary checksums, and Jenkins
|
||||
can rebuild the same release commit with an earlier `dist/` bundle or legacy
|
||||
|
|
|
|||
Loading…
Reference in New Issue