ci/woodpecker/push/main Pipeline was successful
- docs/evidence/ci-beta-1.md: pipeline #1 (push), #3 (tag), #4 (manual real-CLI contract) with commits, durations, URLs and log evidence - RELEASE/STATUS: beta CI + prerelease results; archive digest comparison and why tar archives are not claimed reproducible - package lane prints sha256sum of the shipped binary so the executable digest is comparable across environments
92 lines
4.3 KiB
Markdown
92 lines
4.3 KiB
Markdown
# CI evidence: v0.1.0-beta.1
|
|
|
|
Executed Woodpecker CI for the `v0.1.0-beta.1` beta on the shared docker runner
|
|
(`ci.cflmy.cn`, Woodpecker `3.20.1`). This file records pipeline numbers,
|
|
commits, results and log excerpts. No credentials are recorded here; the
|
|
Woodpecker token and the Gitea token live only in the local ignored
|
|
`.secrets/release.env` and as a Woodpecker repository secret.
|
|
|
|
Repository: `cflmy/marqdo-prove` (Gitea id 6, Woodpecker repo id 5).
|
|
Release commit / tag: `1a9f3a4c787b930f46d0f996d0e23fbf69f2da22`,
|
|
tag `v0.1.0-beta.1`.
|
|
|
|
## Pipelines
|
|
|
|
| # | Event | Commit | Result | Duration | URL |
|
|
| --- | --- | --- | --- | --- | --- |
|
|
| 1 | push (`master`) | `1a9f3a4c` | success | 61 s | https://ci.cflmy.cn/repos/5/pipeline/1 |
|
|
| 3 | tag (`v0.1.0-beta.1`) | `1a9f3a4c` | success | 86 s | https://ci.cflmy.cn/repos/5/pipeline/3 |
|
|
| 4 | manual (`contract.yml`) | `1a9f3a4c` | success | 69 s | https://ci.cflmy.cn/repos/5/pipeline/4 |
|
|
|
|
Pipeline 2 was not created for this release; the numbers are Woodpecker's
|
|
repository-wide counter (the same runner also serves other repositories).
|
|
|
|
## What each lane proved
|
|
|
|
### Push / tag lane `main.yml`
|
|
|
|
Steps: `clone`, `test`, `package` — all exit 0.
|
|
|
|
`test` executed in a clean `rust:1.100-bookworm` container:
|
|
|
|
- `cargo fmt --all -- --check` — passed
|
|
- `cargo clippy --all-targets -- -D warnings` — passed
|
|
- `cargo test --locked` — passed, with the same suite counts as the recorded
|
|
local environment:
|
|
- library unit tests: **69 passed, 0 failed**
|
|
- `analysis_document`: **3 passed, 0 failed**
|
|
- `document_contract`: **11 passed, 0 failed**
|
|
- `formula_contract`: **12 passed, 0 failed**
|
|
- doc-tests: 0
|
|
- e2e suite: correctly reported as 11 ignored (the shared runner does not
|
|
carry the 7.5 GiB pinned Lean/Mathlib backend; see `docs/RELEASE.md` §5)
|
|
- `cargo build --release --locked` and `./target/release/marqdo-prove --version`
|
|
printed `marqdo-prove 0.1.0-beta.1`
|
|
- `package` assembled `dist/marqdo-prove-tool` via `scripts/package-tool.sh`,
|
|
archived it and printed `SHA256SUMS`:
|
|
`6231edd46519b98594062133f337fc516180a4e4554ae473faadfd64898b86ce marqdo-prove-v0.1.0-beta.1-x86_64-unknown-linux-gnu-tool.tar.gz`
|
|
|
|
The tag pipeline is the same lane for the tagged commit.
|
|
|
|
The archive digest differs from the local archive digest
|
|
`faa46e93a26538608eb80e9157ee19b4610b456ba5d784eab43070352f88ea40`
|
|
because `tar` stores time/ownership metadata; tar archives are not claimed to be
|
|
reproducible. A later commit adds `sha256sum` of the shipped binary itself to the
|
|
CI package log so the executable digest can be compared across environments.
|
|
|
|
### Manual lane `contract.yml` (real upstream CLI)
|
|
|
|
The shared runner cloned `https://git.cflmy.cn/cflmy/marqdo-cli`, built the real
|
|
`marqdo-cli` package, verified `marqdo 3.0.0-rc.4`, and ran Prove's real-CLI
|
|
contract tests against it:
|
|
|
|
- `/tmp/marqdo-cli/target/release/marqdo --version` → `marqdo 3.0.0-rc.4`
|
|
- `cargo test --locked --test analysis_document --test document_contract` →
|
|
**3 passed, 0 failed** and **11 passed, 0 failed**
|
|
|
|
This closes, in CI, the clean-container real-CLI integration check that was only
|
|
recorded locally in `docs/STATUS.md`: emitted `marqdo.analysis` revision 3 is
|
|
consumed by Prove and the negative contract cases fail with the documented
|
|
diagnostic codes.
|
|
|
|
## Release objects
|
|
|
|
- Gitea prerelease:
|
|
https://git.cflmy.cn/cflmy/marqdo-prove/releases/tag/v0.1.0-beta.1
|
|
(created via the Gitea API, `prerelease: true`, tag `v0.1.0-beta.1` pointing at
|
|
`1a9f3a4c`).
|
|
- Woodpecker repository was activated through the API
|
|
(`POST /api/repos?forge_remote_id=6`) before the push; the second, idempotent
|
|
activation from `scripts/release-beta.sh` returned HTTP 409 (already active).
|
|
- CI secret `marqdo_ci_secret` was stored as a Woodpecker repository secret
|
|
scoped to `push`, `tag`, `pull_request`, `manual`; no secret value is in git.
|
|
|
|
## What CI did not cover (and why)
|
|
|
|
The Lean-backed acceptance suite (`tests/e2e.rs`, 11 tests) still requires the
|
|
pinned Lean 4.36 toolchain plus the 7.5 GiB Mathlib olean closure and several
|
|
minutes per target. It is green on the recorded dedicated environment
|
|
(`docs/STATUS.md`) but is intentionally not executed on the shared docker
|
|
runner. Adding a dedicated runner with a cached backend is the first item in the
|
|
stable-release backlog (`docs/RELEASE.md` §6).
|