Author SHA1 Message Date
marqdo-ci 161600102d ci: notify the root reconcile on a completed release
ci/woodpecker/push/ci Pipeline is pending
ci/woodpecker/pr/ci Pipeline is pending
ci/woodpecker/release/release 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:11 +08:00
marqdo-ci f4e51b504f ci: consume the shared shell CI image
ci/woodpecker/push/ci Pipeline is pending
ci/woodpecker/pr/ci Pipeline is pending
ci/woodpecker/manual/ci Pipeline is pending
2026-11-27 14:03:27 +08:00
marqdo-ci 3f8e591ce5 ci: avoid a shell-variable-looking token in the workflow comment
ci/woodpecker/push/ci Pipeline is pending
ci/woodpecker/pr/ci Pipeline was successful
Woodpecker parses shell-style variables throughout the command strings, including
comments; keep the pinned values literal so pipeline config parsing succeeds.
2026-11-27 13:44:54 +08:00
marqdo-ci 73fcf769c1 ci: keep the pinned archive path literal
Woodpecker expands ${...} in commands, which left the version empty. Use the
exact released archive path/SHA so the unified lane is reproducible.
2026-11-27 13:43:51 +08:00
marqdo-ci f4939c2862 ci: add the unified Woodpecker lane (published CLI/Bundle, one base image)
ci/woodpecker/pr/ci Pipeline is pending
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/manual/ci Pipeline is pending
Reuse the released marqdo rc.5 archive and Bundle with a pinned SHA-256 in
ubuntu:24.04; no Rust toolchain download, no CLI build, no sibling checkout.
This keeps component CI independent and cheap while testing the real CLI.
2026-11-27 13:37:41 +08:00
2 changed files with 31 additions and 0 deletions

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
# Unified Woodpecker CI for a source-only Marqdo component.
#
# 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.
when:
event: [push, pull_request, manual]
steps:
test:
image: git.cflmy.cn/cflmy/marqdo-ci-shell:3.0.0-rc.5
commands:
- sh scripts/test.sh
+18
View File
@@ -0,0 +1,18 @@
# 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