Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f558c1a47d | ||
|
|
e1b9c05a07 |
No files matched your search
+9
-14
@@ -4,9 +4,7 @@
|
|||||||
# Ubuntu 24.04 base, the released CLI/Bundle, and common test tools. No image
|
# Ubuntu 24.04 base, the released CLI/Bundle, and common test tools. No image
|
||||||
# variance, apt install, Rust toolchain download or sibling checkout.
|
# variance, apt install, Rust toolchain download or sibling checkout.
|
||||||
when:
|
when:
|
||||||
- event: [pull_request, manual]
|
event: [push, pull_request, manual]
|
||||||
- event: push
|
|
||||||
branch: main
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
test:
|
test:
|
||||||
@@ -15,10 +13,10 @@ steps:
|
|||||||
- sh scripts/test.sh
|
- sh scripts/test.sh
|
||||||
|
|
||||||
package:
|
package:
|
||||||
# Deterministic packaging self-check through the single ecosystem release
|
# Deterministic dual-format (tar.gz + zip) packaging self-check through the
|
||||||
# implementation (marqdo#96 M1). The root repository no longer builds
|
# single ecosystem release implementation (marqdo#96/#106). The root
|
||||||
# (marqdo#102); this component lane is the release verification. Ordinary
|
# repository no longer builds (marqdo#102); this component lane is the
|
||||||
# push/PR receives no publish token and produces no release.
|
# release verification. Ordinary push/PR receives no publish token.
|
||||||
image: git.cflmy.cn/cflmy/marqdo-ci-shell:3.0.0-rc.6
|
image: git.cflmy.cn/cflmy/marqdo-ci-shell:3.0.0-rc.6
|
||||||
depends_on: [test]
|
depends_on: [test]
|
||||||
commands:
|
commands:
|
||||||
@@ -26,12 +24,9 @@ steps:
|
|||||||
set -eu
|
set -eu
|
||||||
kit=$(mktemp -d)
|
kit=$(mktemp -d)
|
||||||
trap 'rm -rf "$kit"' EXIT
|
trap 'rm -rf "$kit"' EXIT
|
||||||
base="https://git.cflmy.cn/cflmy/marqdo/raw/commit/c367d1df3ebdaa08578ea304d50bb9419bef16e1"
|
base="https://git.cflmy.cn/cflmy/marqdo/raw/commit/0137baca340eb7fa78adf76d6ef2ba204a4b3ecd"
|
||||||
curl -fsSL --retry 3 "$base/scripts/component-release/release.py" -o "$kit/release.py"
|
curl -fsSL --retry 3 "$base/scripts/component-release/release.py" -o "$kit/release.py"
|
||||||
echo "2455bafc6f42975a07583af836b78c58c0741fa02e91984804cb1690725bf402 $kit/release.py" | sha256sum -c -
|
echo "c57f104423f4965cd35395fe8018c6a9bdfba57c0fc8fc94bc7e5e40100e1081 $kit/release.py" | sha256sum -c -
|
||||||
python3 "$kit/release.py" check \
|
python3 "$kit/release.py" check \
|
||||||
--repository "$CI_REPO" \
|
--repository "$CI_REPO" --component-id std-data --kind stdlib \
|
||||||
--component-id std-data \
|
--allow modules --allow README.md
|
||||||
--kind stdlib \
|
|
||||||
--allow modules \
|
|
||||||
--allow README.md
|
|
||||||
+8
-13
@@ -1,8 +1,8 @@
|
|||||||
# Protected publish lane: tag events only.
|
# Protected publish lane: tag events only.
|
||||||
#
|
#
|
||||||
# Single ecosystem component release implementation (marqdo#96 M1), pinned by
|
# Single ecosystem component release implementation (marqdo#96 M1, dual-format
|
||||||
# root commit and file sha256. Ordinary push/PR never receives the publish
|
# archives per marqdo#106), pinned by root commit and file sha256. All packaging
|
||||||
# token; only this protected tag workflow creates the immutable Gitea Release.
|
# and publishing happens in this CI/CD lane; maintainer machines never publish.
|
||||||
when:
|
when:
|
||||||
event: [tag]
|
event: [tag]
|
||||||
|
|
||||||
@@ -18,16 +18,11 @@ steps:
|
|||||||
test -n "${CI_COMMIT_TAG:?publish requires a tag event}"
|
test -n "${CI_COMMIT_TAG:?publish requires a tag event}"
|
||||||
kit=$(mktemp -d)
|
kit=$(mktemp -d)
|
||||||
trap 'rm -rf "$kit"' EXIT
|
trap 'rm -rf "$kit"' EXIT
|
||||||
base="https://git.cflmy.cn/cflmy/marqdo/raw/commit/c367d1df3ebdaa08578ea304d50bb9419bef16e1"
|
base="https://git.cflmy.cn/cflmy/marqdo/raw/commit/0137baca340eb7fa78adf76d6ef2ba204a4b3ecd"
|
||||||
curl -fsSL --retry 3 "$base/scripts/component-release/release.py" -o "$kit/release.py"
|
curl -fsSL --retry 3 "$base/scripts/component-release/release.py" -o "$kit/release.py"
|
||||||
echo "2455bafc6f42975a07583af836b78c58c0741fa02e91984804cb1690725bf402 $kit/release.py" | sha256sum -c -
|
echo "c57f104423f4965cd35395fe8018c6a9bdfba57c0fc8fc94bc7e5e40100e1081 $kit/release.py" | sha256sum -c -
|
||||||
exec python3 "$kit/release.py" publish \
|
exec python3 "$kit/release.py" publish \
|
||||||
--repository "$CI_REPO" \
|
--repository "$CI_REPO" --component-id std-data --kind stdlib \
|
||||||
--component-id std-data \
|
--allow modules --allow README.md --tag "$CI_COMMIT_TAG" \
|
||||||
--kind stdlib \
|
|
||||||
--allow modules \
|
|
||||||
--allow README.md \
|
|
||||||
--tag "$CI_COMMIT_TAG" \
|
|
||||||
--dependency "id=cli,source_sha=63776735e924ade279cdf59d5c733dc24bfdabbb,asset_sha256=8dc0b006302e03c23451b8ea9f8a0fcdae8bf67c80c546bee2434bf69755bfe3" \
|
--dependency "id=cli,source_sha=63776735e924ade279cdf59d5c733dc24bfdabbb,asset_sha256=8dc0b006302e03c23451b8ea9f8a0fcdae8bf67c80c546bee2434bf69755bfe3" \
|
||||||
--note "Tested by the same-SHA Woodpecker component lane with the shared marqdo-ci-shell:3.0.0-rc.6 image (CLI 3.0.0-rc.6 and the official Stdlib Bundle 0.3.0)." \
|
--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."
|
||||||
--note "Released module bytes are identical to the accepted Stdlib Bundle 0.3.0; this release carries the deterministic source-archive packaging and the protected Woodpecker publish lane."
|
|
||||||
@@ -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.6
|
|
||||||
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
|
|
||||||
Reference in new issue
Block a user