Author SHA1 Message Date
marqdo-ci 982c2cdb77 ci: add the unified Woodpecker lane
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
Reuse rust:1.100-trixie (glibc 2.41) and the published rc.5 CLI/Bundle with a
pinned SHA-256; no per-repository toolchain download, no CLI rebuild.
2026-11-27 13:47:26 +08:00
marqdo-norms 86a260c646 docs: adopt ecosystem repository conventions and current active status 2026-11-27 11:36:48 +08:00
3 changed files with 33 additions and 3 deletions

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
# Unified Woodpecker CI for a Rust component.
#
# One pinned Rust image is reused (glibc 2.41 so the published rc.5 CLI archive
# runs) and the released CLI/Bundle is downloaded with a pinned SHA-256 instead
# of rebuilding marqdo-cli or installing a toolchain per repository.
when:
event: [push, pull_request, manual]
steps:
test:
image: rust:1.100-trixie
commands:
- apt-get update
- apt-get install -y --no-install-recommends ca-certificates curl git python3
- rustup component add rustfmt clippy
- |
set -eu
curl -fsSL --retry 3 -o /tmp/marqdo.tar.gz "https://git.cflmy.cn/cflmy/marqdo-cli/releases/download/v3.0.0-rc.5/marqdo-3.0.0-rc.5-x86_64-unknown-linux-gnu.tar.gz"
echo "fd7a313e0ddaf38a9b1901ff2a9aa7b9a0a153e65522a9c0c60f01e2549f583b /tmp/marqdo.tar.gz" | sha256sum -c -
mkdir -p /opt/marqdo
tar -xzf /tmp/marqdo.tar.gz -C /opt/marqdo
export MARQDO_BIN=/opt/marqdo/marqdo-3.0.0-rc.5-x86_64-unknown-linux-gnu/marqdo
export MARQDO_STDLIB_DIR=/opt/marqdo/marqdo-3.0.0-rc.5-x86_64-unknown-linux-gnu/stdlib
"$MARQDO_BIN" --version
scripts/ci.sh
+5
View File
@@ -1,5 +1,10 @@
# AGENTS.md:marqdo-web-preview 维护指引
<!-- marqdo:repo-conventions v1 -->
生态级仓库开发规范:https://git.cflmy.cn/cflmy/marqdo/src/branch/main/docs/REPOSITORY-CONVENTIONS.md
本文件约束在本仓库工作的维护者与 AI Coding Agent。仓库状态为 `planned`:只有文档,
没有实现源码、`Cargo.toml`/`Cargo.lock`、`tool.json` 实体、CI 入口或发布制品,也没有
接入 `marqdo-ext-web` 的 gitlink。
+3 -3
View File
@@ -4,7 +4,7 @@
`marqdo-web-design` 已经解释好的设计模型,生成不依赖服务器、可用本地浏览器直接打开的
离线 HTML 原型,并以 `web` 命令注册为生态中唯一的 Web Tool 入口。
- **状态:`planned`**。本仓库目前只有文档:没有实现源码、`Cargo.toml`/`Cargo.lock`、
- **状态:`active`**。已实现独立 executable、`tool.json`、离线预览与 `scripts/ci.sh`;
`tool.json` 实体、`scripts/ci.sh`、CI 流水线或发布制品,也没有接入领域仓库
`marqdo-ext-web` 的子 gitlink。本文中“将/目标”描述的是接入后必须满足的合同,不是
已实现能力,也不是已验收结果。
@@ -16,8 +16,8 @@
- **上游实现**:[marqdo-web-design](https://git.cflmy.cn/cflmy/marqdo-web-design)
(唯一设计解释实现,Rust library;本仓库通过其公开 API 消费设计模型)。
- **仓库远端**:`https://git.cflmy.cn/cflmy/marqdo-web-preview`。远端已创建并推送
初始开发文档;领域 `components.toml` 已登记为 planned,开发工单也已建立;gitlink、
独立 CI 与发布仍属于后续激活工作,当前 `planned`。
实现/证据;领域 `components.toml` 已登记为 active 并固定 gitlink;真实浏览器/资产等
剩余验收项在组件工单跟踪,不得把未验证项写成 PASS。
## 职责与禁止