Compare commits

..
Author SHA1 Message Date
cflmy 35234edb3f ci: reuse the existing Rust image for ecosystem candidates
ci/woodpecker/pr/eco Pipeline was successful
ci/woodpecker/push/eco Pipeline is running
2026-11-27 21:28:47 +08:00
3 changed files with 7 additions and 13 deletions

No files matched your search

+4 -7
View File
@@ -32,15 +32,14 @@ steps:
- python3 scripts/check-repo-conventions.py
candidate:
# Match the Linux/glibc environment already used by View for the RC.4 artifact.
image: mcr.microsoft.com/playwright:v1.49.0-noble
image: git.cflmy.cn/cflmy/marqdo-ci-rust:3.0.0-rc.5@sha256:73481a35339157b1a3f3b23076517e96e302fbb5158e6ffcb1582acf22c6af94
depends_on: [checkouts]
when: *needs_candidate
commands:
- |
set -eu
for attempt in 1 2 3; do
if apt-get -o Acquire::By-Hash=force -o Acquire::Retries=3 update --error-on=any; then
if apt-get -o Acquire::By-Hash=force -o Acquire::http::Timeout=30 update --error-on=any; then
break
fi
if [ "$attempt" -eq 3 ]; then
@@ -48,8 +47,6 @@ steps:
fi
sleep 15
done
apt-get -o Acquire::Retries=3 install -y --no-install-recommends ca-certificates curl git python3 python3-jsonschema build-essential
curl -fsSL --retry 3 https://sh.rustup.rs -o /tmp/marqdo-rustup.sh
sh /tmp/marqdo-rustup.sh -y --profile minimal --default-toolchain 1.100.0 --no-modify-path
export PATH="$HOME/.cargo/bin:$PATH"
apt-get -o Acquire::Retries=3 -o Acquire::http::Timeout=30 install -y --no-install-recommends python3-jsonschema util-linux
unset MARQDO_BIN MARQDO_STDLIB_DIR
bash scripts/integration.sh
-2
View File
@@ -131,5 +131,3 @@ python3 -m unittest discover -s tests/integration
[各仓库任务](docs/REPOSITORY-TASKS.md) · [组件目录](components.toml) · [架构边界](docs/ARCHITECTURE.md) · [开发流程](docs/DEVELOPMENT.md) · [迁移台账](docs/MIGRATION.md) · [架构决策记录](docs/adr/README.md) · [AGENTS](AGENTS.md)
旧版实现与文档可在历史标签查阅。 [v2.9.1 历史树](https://git.cflmy.cn/cflmy/marqdo/src/tag/v2.9.1)
根仓 CI 的触发条件见 [开发流程](docs/DEVELOPMENT.md#递归校验与组合检查)。
+3 -4
View File
@@ -16,9 +16,8 @@ Rules:
- Images are public for anonymous pull; CI never needs registry push credentials.
- Component lanes contain only their own `scripts/*` entry command. No per-repo
image variance, apt installs, Rust toolchain downloads or CLI rebuilds.
- Core CLI keeps its specialized Rust/Windows-cross gates; the root ecosystem
candidate keeps its Playwright/rustup image because it must build consumers and
run Docker archive checks. These two exceptions are documented in the
repository conventions, not copied per component.
- Core CLI keeps its specialized Rust/Windows-cross gates. The root ecosystem
candidate uses the shared Rust toolchain to build the fixed CLI/Worker/Bundle
combination. View and Web keep browser coverage in their own workflows.
- The images are CI infrastructure, not product releases; their provenance is
recorded here and in `docs/evidence/`.