Author SHA1 Message Date
cflmy f558c1a47d ci: dual-format release lane for platform-independent artifacts (marqdo#106)
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/tag/publish Pipeline was successful
Packages the exact commit as deterministic tar.gz + zip (same reviewed files) in the
Woodpecker tag lane, pinned by root commit/sha256. All packaging and publishing happens
in CI/CD; the root repository runs no CI (marqdo#102).
2026-12-03 09:03:30 +08:00
cflmy e1b9c05a07 ci: remove the root reconcile notify workflow
ci/woodpecker/push/ci Pipeline is pending
The root repository permanently has no CI/CD configuration (marqdo#102): its build and
reconcile pipelines are removed. This release-event notification only asked the removed
root reconcile workflow to run; a component release must never attempt a root pipeline.
2026-12-03 00:08:33 +08:00
cflmy c7f358ae53 Merge pull request 'ci: add the protected component release lane (marqdo#96 M1)' (#17) from release/component-publish-lane into main
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/tag/publish Pipeline was successful
ci/woodpecker/release/release Pipeline was successful
2026-12-02 23:19:52 +08:00
cflmy 6578bf80a7 ci: add the protected component release lane (marqdo#96 M1)
ci/woodpecker/pr/ci Pipeline was successful
Wire the single ecosystem release implementation into this repository: the ordinary lane keeps real CLI tests
and adds a deterministic packaging self-check through the pinned root commit/sha256, and a tag-only protected
lane publishes an immutable Gitea Release with release-evidence.json. The root repository no longer builds
(marqdo#102).
2026-12-02 23:18:47 +08:00
cflmy bcaa3b38a2 Merge pull request #15 from codex/ci-images-rc6
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/release/release Pipeline is pending
ci: move component lane to the rc.6 shared images
2026-12-01 12:10:38 +08:00
cflmy 957edf9b0d ci: move component lane to the rc.6 shared images
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
2026-12-01 11:30:52 +08:00
cflmy 250633fdca Merge pull request #14
ci/woodpecker/push/ci Pipeline was successful
merge marqdo-std-data #14
2026-11-30 12:29:01 +08:00
cflmy b03e08ac20 Revert "ci: protected publish workflow (#10)"
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/push/ci Pipeline was successful
This reverts commit 86a2adc25b, reversing
changes made to 0775c1af3c.
2026-11-27 20:34:39 +08:00
cflmy 86a2adc25b ci: protected publish workflow (#10)
ci/woodpecker/push/ci Pipeline was successful
ci: protected publish workflow (#10)
2026-11-27 19:23:26 +08:00
cflmy e48275df1c ci: add protected component publish workflow and immutable release helpers
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/push/ci Pipeline was successful
Vendor the root component-release helpers, add source packaging plus
release-evidence, and split publish (tag/manual) from notify (release event).
2026-11-27 19:23:00 +08:00
3 changed files with 49 additions and 20 deletions

No files matched your search

+21 -2
View File
@@ -2,12 +2,31 @@
#
# The published `marqdo-ci-shell` image is the only runtime dependency: one
# Ubuntu 24.04 base, the released CLI/Bundle, and common test tools. No image
# variance, apt install, Rust toolchain download, CLI rebuild or sibling checkout.
# variance, apt install, Rust toolchain download or sibling checkout.
when:
event: [push, pull_request, manual]
steps:
test:
image: git.cflmy.cn/cflmy/marqdo-ci-shell:3.0.0-rc.5
image: git.cflmy.cn/cflmy/marqdo-ci-shell:3.0.0-rc.6
commands:
- sh scripts/test.sh
package:
# Deterministic dual-format (tar.gz + zip) packaging self-check through the
# single ecosystem release implementation (marqdo#96/#106). The root
# repository no longer builds (marqdo#102); this component lane is the
# release verification. Ordinary push/PR receives no publish token.
image: git.cflmy.cn/cflmy/marqdo-ci-shell:3.0.0-rc.6
depends_on: [test]
commands:
- |
set -eu
kit=$(mktemp -d)
trap 'rm -rf "$kit"' EXIT
base="https://git.cflmy.cn/cflmy/marqdo/raw/commit/0137baca340eb7fa78adf76d6ef2ba204a4b3ecd"
curl -fsSL --retry 3 "$base/scripts/component-release/release.py" -o "$kit/release.py"
echo "c57f104423f4965cd35395fe8018c6a9bdfba57c0fc8fc94bc7e5e40100e1081 $kit/release.py" | sha256sum -c -
python3 "$kit/release.py" check \
--repository "$CI_REPO" --component-id std-data --kind stdlib \
--allow modules --allow README.md
+28
View File
@@ -0,0 +1,28 @@
# Protected publish lane: tag events only.
#
# Single ecosystem component release implementation (marqdo#96 M1, dual-format
# archives per marqdo#106), pinned by root commit and file sha256. All packaging
# and publishing happens in this CI/CD lane; maintainer machines never publish.
when:
event: [tag]
steps:
publish:
image: git.cflmy.cn/cflmy/marqdo-ci-shell:3.0.0-rc.6
environment:
GITEA_PUBLISH_TOKEN:
from_secret: gitea_publish_token
commands:
- |
set -eu
test -n "${CI_COMMIT_TAG:?publish requires a tag event}"
kit=$(mktemp -d)
trap 'rm -rf "$kit"' EXIT
base="https://git.cflmy.cn/cflmy/marqdo/raw/commit/0137baca340eb7fa78adf76d6ef2ba204a4b3ecd"
curl -fsSL --retry 3 "$base/scripts/component-release/release.py" -o "$kit/release.py"
echo "c57f104423f4965cd35395fe8018c6a9bdfba57c0fc8fc94bc7e5e40100e1081 $kit/release.py" | sha256sum -c -
exec python3 "$kit/release.py" publish \
--repository "$CI_REPO" --component-id std-data --kind stdlib \
--allow modules --allow README.md --tag "$CI_COMMIT_TAG" \
--dependency "id=cli,source_sha=63776735e924ade279cdf59d5c733dc24bfdabbb,asset_sha256=8dc0b006302e03c23451b8ea9f8a0fcdae8bf67c80c546bee2434bf69755bfe3" \
--note "Platform-independent artifact: .tar.gz (Linux/POSIX) and .zip (Windows/macOS) contain the same reviewed files byte for byte; both are built and published by this Woodpecker tag lane."
-18
View File
@@ -1,18 +0,0 @@
# Fast-path notification: a completed Gitea release asks the root reconcile
# workflow to check it. The payload is only a hint; the root reconcile verifies
# the release/assets from the authoritative Gitea API. A lost call is recovered
# by the root `release-reconcile` cron.
when:
event: [release]
steps:
notify:
image: git.cflmy.cn/cflmy/marqdo-ci-shell:3.0.0-rc.5
environment:
WOODPECKER_TOKEN:
from_secret: woodpecker_token
commands:
- |
set -eu
test -n "${WOODPECKER_TOKEN:?woodpecker_token secret missing}"
curl -fsS -X POST -H "Authorization: Bearer $WOODPECKER_TOKEN" -H "Content-Type: application/json" -d '{"branch":"main","workflow":"reconcile"}' https://ci.cflmy.cn/api/repos/6/pipelines