diff --git a/.woodpecker/eco.yml b/.woodpecker/eco.yml deleted file mode 100644 index 037aa0e..0000000 --- a/.woodpecker/eco.yml +++ /dev/null @@ -1,76 +0,0 @@ -when: - - event: [pull_request, manual] - - event: push - branch: main - -steps: - layout: - image: git.cflmy.cn/cflmy/marqdo-ci-shell:3.0.0-rc.6@sha256:17d418369f9a952a78a63ebb423a14799ddca096758468e05331019bda2bc5e9 - commands: - - python3 scripts/check-layout.py - - python3 -m unittest discover -s tests/integration - - checkouts: - image: git.cflmy.cn/cflmy/marqdo-ci-shell:3.0.0-rc.6@sha256:17d418369f9a952a78a63ebb423a14799ddca096758468e05331019bda2bc5e9 - depends_on: [layout] - when: &needs_candidate - - event: manual - - event: [push, pull_request] - path: - # Governance, executable Markdown, packaging and unknown paths stay in scope. - exclude: [README.md, 'docs/evidence/*.md'] - on_empty: true - commands: - - git submodule update --init - - | - set -eu - domains="$(python3 scripts/check-layout.py --domain-paths)" - for domain in $domains; do - git -C "$domain" submodule update --init - done - - python3 scripts/check-layout.py --checkouts - - python3 scripts/check-repo-conventions.py - - candidate: - image: git.cflmy.cn/cflmy/marqdo-ci-rust:3.0.0-rc.6@sha256:0211c15ceedb695dcbb7235b72fb9fede9ec0a10d67c2dc60da080417e6b667e - 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::http::Timeout=30 update --error-on=any; then - break - fi - if [ "$attempt" -eq 3 ]; then - exit 1 - fi - sleep 15 - done - 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 - - app: - # Dedicated Node lane: the app gitlink is built and tested against the same - # CLI/Bundle candidate the Rust candidate lane just produced. The Rust lane - # never installs Node or Electron. - image: node:24.22.3-bookworm - depends_on: [candidate] - when: *needs_candidate - commands: - - corepack enable - - corepack prepare pnpm@11.28.5 --activate - - | - set -eu - test -f .integration-work/app-candidate.json - export MARQDO_BIN="$(python3 -c 'import json;print(json.load(open(".integration-work/app-candidate.json"))["cli_path"])')" - export MARQDO_STDLIB_DIR="$(python3 -c 'import json;print(json.load(open(".integration-work/app-candidate.json"))["installed_dir"])')/stdlib" - test -x "$MARQDO_BIN" - test -f "$MARQDO_STDLIB_DIR/stdlib.json" - cd apps/harness - # The upstream hook installer refuses the submodule common config; CI - # is the documented skip path and hooks are not needed in this lane. - CI=true pnpm install --frozen-lockfile - pnpm run build - MARQDO_CI_OUT="$PWD/.ci" bash scripts/ci.sh diff --git a/scripts/integration.sh b/scripts/integration.sh index 26753e5..4074469 100755 --- a/scripts/integration.sh +++ b/scripts/integration.sh @@ -1,5 +1,11 @@ #!/usr/bin/env bash -# Ecosystem integration for one exact candidate combination. +# On-demand full ecosystem audit for one exact candidate combination. +# +# MANUAL/ON-DEMAND ONLY (marqdo#102): the root repository has no push/PR/merge +# build pipeline and is not a build server. Ordinary changes are verified by +# the responsible component repository; this script is only for explicit +# protocol-change or maintainer-requested cold audits and must never be wired +# into an automatic CI trigger. # # Inputs are the pinned root gitlinks: the root-owned Bundle producer assembles # the one stdlib Bundle, the CLI/Worker are built from the pinned `cli` commit,