Commit Graph
10 Commits
Author SHA1 Message Date
cflmy c03a8d9d98 ci: publish Knowledge through a verified immutable draft
ci/woodpecker/pr/ci Pipeline is pending
2026-11-27 21:19:22 +08:00
marqdo-ci a1a223f53f ci: notify the root reconcile on a completed release
ci/woodpecker/pr/ci Pipeline is pending
ci/woodpecker/pr/main Pipeline is pending
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/main Pipeline was successful
ci/woodpecker/manual/ci Pipeline was successful
Release event fast path: validate the secret is present, then ask the root
manual `reconcile` workflow to check the authoritative Gitea release. The call
is only a hint; correctness and lost-notification recovery stay in the root
reconcile cron/script.
2026-11-27 14:18:04 +08:00
marqdo-ci 917c12e760 ci: consume the shared Rust CI image
ci/woodpecker/push/ci Pipeline is pending
ci/woodpecker/push/main Pipeline is pending
ci/woodpecker/pr/ci Pipeline is pending
ci/woodpecker/pr/main Pipeline is pending
Replaces per-run rustup/apt/CLI setup with the published marqdo-ci-rust image
(pinned toolchain, rustfmt/clippy, warm cargo cache and released CLI/Bundle).
2026-11-27 14:15:02 +08:00
marqdo-knowledge 3edad237cf ci: only print publish evidence when the release was published
ci/woodpecker/push/main Pipeline was successful
ci/woodpecker/tag/main Pipeline was successful
CI / fmt + clippy + workspace tests (push) Canceled after 0s
CI / MSRV check (1.89) (push) Canceled after 0s
CI / real Analysis integration (pinned core CLI) (push) Canceled after 0s
CI / beta release archive (push) Canceled after 0s
The tag lane keeps its deterministic build/smoke evidence even when the forge
secret is not injected; guard the final evidence print so the lane does not fail
on a skipped publication.
2026-11-26 09:46:47 +08:00
marqdo-knowledge 636c9bf14c ci: keep the tag lane green when the forge secret is not injected
ci/woodpecker/push/main Pipeline was successful
ci/woodpecker/tag/main Pipeline failed
CI / fmt + clippy + workspace tests (push) Canceled after 0s
CI / MSRV check (1.89) (push) Canceled after 0s
CI / real Analysis integration (pinned core CLI) (push) Canceled after 0s
CI / beta release archive (push) Canceled after 0s
This Woodpecker instance does not expose repo secrets to tag pipelines even
with an explicit environment.from_secret mapping. The release lane now records
that fact and keeps the deterministic package/smoke evidence as the CI result;
publishing the prerelease from the same tagged SHA is a separate local step
(tools/release/publish-gitea.py, token only from the environment).
2026-11-26 09:40:59 +08:00
marqdo-knowledge 6fbbaea7ce ci: map the Gitea token into the release step explicitly
ci/woodpecker/push/main Pipeline was successful
ci/woodpecker/tag/main Pipeline failed
CI / fmt + clippy + workspace tests (push) Canceled after 0s
CI / MSRV check (1.89) (push) Canceled after 0s
CI / real Analysis integration (pinned core CLI) (push) Canceled after 0s
CI / beta release archive (push) Canceled after 0s
Woodpecker does not auto-inject repo secrets into steps; map GITEA_TOKEN with
environment.from_secret so tools/release/publish-gitea.py can create the
prerelease and upload assets. The lane still fails closed with an actionable
message when the secret is absent.
2026-11-26 09:27:57 +08:00
marqdo-knowledge 22c3d92b47 release: 0.1.0-beta.3 (fix beta.2 release lane)
ci/woodpecker/push/main Pipeline was successful
ci/woodpecker/tag/main Pipeline failed
CI / fmt + clippy + workspace tests (push) Canceled after 0s
CI / MSRV check (1.89) (push) Canceled after 0s
CI / real Analysis integration (pinned core CLI) (push) Canceled after 0s
CI / beta release archive (push) Canceled after 0s
- build target/release/marqdo-knowledge in both tag-release lanes before the
  deterministic packager; beta.2 failed exactly at that missing step and
  produced no archive or Gitea release
- package.py now fails with a corrective message instead of a traceback when
  the release binary is absent
- bump the tool to 0.1.0-beta.3, add release notes and CHANGELOG entry and mark
  v0.1.0-beta.2 withdrawn; contracts and SQLite schema are unchanged
- keep the full completed / NOT complete inventory and beta limitations
  unchanged
2026-11-26 09:17:27 +08:00
marqdo-knowledge 155d40393c ci: publish the beta prerelease to Gitea from the tag lane
- fetch the pinned core CLI from git.cflmy.cn in Woodpecker instead of relying
  on GitHub access from the internal runner
- add tools/release/publish-gitea.py: idempotent create/update of the
  prerelease for the tag and upload of archive, checksum, FILES.sha256,
  RELEASE_INFO.json and smoke evidence; token only from the environment
- the tag-only Woodpecker lane now publishes through that script and fails
  closed when the GITEA_TOKEN repo secret is missing
2026-11-26 09:11:34 +08:00
marqdo-knowledge 835f61dc01 ci: align release tooling with the upstream deterministic pipeline
- add tools/release/package.py: sorted, commit-timestamped, uid/gid-normalised
  deterministic archive; refuses dirty trees, source-SHA mismatch and stale
  versions; emits SOURCE_SHA, FILES.sha256 and RELEASE_INFO.json with binaries,
  protocol revisions, core baseline and manifest digest
- add tools/release/smoke.py: verifies checksum/manifest/source/version then
  cold-installs the archive through a real core CLI into an isolated
  MARQDO_TOOL_HOME and exercises help/compile/query/check/remove, writing smoke
  evidence
- add tools/ci/test_release_metadata.py: single CI gate for version/fact
  consistency across Cargo files, tool.json, spec, CHANGELOG, release notes,
  README and CI configuration
- Woodpecker and GitHub pipelines now run the metadata gate and use the Python
  packager/smoke test in the tag-only release lane; shell release scripts are
  thin wrappers; docs/ci.md and docs/releasing.md document gates and non-gates
2026-11-26 09:05:27 +08:00
marqdo-knowledge d8d439e6d7 ci: add CI/CD pipelines and deterministic release tooling
Modeled on cflmy/marqdo-cli:
- Woodpecker pipeline with fmt/clippy/tests, MSRV 1.89 lane, a lane that builds
  the pinned core CLI and runs the real Analysis integration tests, and a
  tag-only release lane
- GitHub Actions mirror with the same gates plus artifact upload and
  prerelease publication
- scripts/ci.sh local lanes (test/minimum/core/release/all)
- package-release.sh now refuses a dirty tree or SOURCE_SHA mismatch, runs a
  locked release build and records SOURCE_SHA, RELEASE_INFO.json and SHA-256
- verify-release.sh cold-installs the archive into an isolated MARQDO_TOOL_HOME
  and runs the documented install/help/compile/query/check/remove smoke path
- docs/ci.md and docs/releasing.md document gates, explicit non-gates and the
  beta freeze/tag procedure
2026-11-26 09:01:13 +08:00