Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
60c17b246e | ||
|
|
7d6dbbec86 | ||
|
|
5f1b1133ab | ||
|
|
76cc20d9d8 | ||
|
|
edb04bfdd9 | ||
|
|
982c2cdb77 |
No files matched your search
@@ -0,0 +1,13 @@
|
||||
# Unified Woodpecker CI for a Rust component.
|
||||
#
|
||||
# One published `marqdo-ci-rust` image (Rust 1.100, rustfmt/clippy, warm cargo
|
||||
# cache, released CLI/Bundle) is reused. No per-repository toolchain download or
|
||||
# CLI rebuild; the repository only runs its own CI entry.
|
||||
when:
|
||||
event: [push, pull_request, manual]
|
||||
|
||||
steps:
|
||||
test:
|
||||
image: git.cflmy.cn/cflmy/marqdo-ci-rust:3.0.0-rc.5
|
||||
commands:
|
||||
- scripts/ci.sh
|
||||
@@ -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
|
||||
Reference in new issue
Block a user