From 35234edb3feee8b58afffebb31b571778b9e8077 Mon Sep 17 00:00:00 2001 From: cflmy Date: Fri, 27 Nov 2026 21:28:47 +0800 Subject: [PATCH] ci: reuse the existing Rust image for ecosystem candidates --- .woodpecker/eco.yml | 11 ++++------- ci/images/README.md | 7 +++---- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/.woodpecker/eco.yml b/.woodpecker/eco.yml index 699cfed..326cb97 100644 --- a/.woodpecker/eco.yml +++ b/.woodpecker/eco.yml @@ -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 diff --git a/ci/images/README.md b/ci/images/README.md index 99edf11..cd87a0e 100644 --- a/ci/images/README.md +++ b/ci/images/README.md @@ -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/`.