Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
068f91cd31 |
No files matched your search
+24
-21
@@ -1,24 +1,27 @@
|
|||||||
# Shared Web-domain CI image: Playwright base (Node 20/Chromium, glibc 2.39),
|
FROM ubuntu:24.04
|
||||||
# the published CLI/Bundle and the packaged preview web Tool. The domain runs
|
ENV DEBIAN_FRONTEND=noninteractive \
|
||||||
# its real browser acceptance without installing a Rust toolchain.
|
PLAYWRIGHT_BROWSERS_PATH=/ms-playwright \
|
||||||
FROM mcr.microsoft.com/playwright:v1.49.0-noble
|
PLAYWRIGHT_DOWNLOAD_HOST=https://cdn.npmmirror.com/binaries/playwright \
|
||||||
|
NPM_CONFIG_REGISTRY=https://registry.npmmirror.com \
|
||||||
RUN apt-get update \
|
MARQDO_BIN=/opt/marqdo/marqdo-3.0.0-rc.5-x86_64-unknown-linux-gnu/marqdo \
|
||||||
&& apt-get install -y --no-install-recommends ca-certificates curl git python3 \
|
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
COPY marqdo.tar.gz /tmp/marqdo.tar.gz
|
|
||||||
COPY marqdo-web-preview.tgz /tmp/marqdo-web-preview.tgz
|
|
||||||
|
|
||||||
RUN mkdir -p /opt/marqdo /opt/web-tool \
|
|
||||||
&& tar -xzf /tmp/marqdo.tar.gz -C /opt/marqdo \
|
|
||||||
&& tar -xzf /tmp/marqdo-web-preview.tgz -C /opt/web-tool --strip-components=1 \
|
|
||||||
&& rm /tmp/marqdo.tar.gz /tmp/marqdo-web-preview.tgz
|
|
||||||
|
|
||||||
ENV MARQDO_BIN=/opt/marqdo/marqdo-3.0.0-rc.5-x86_64-unknown-linux-gnu/marqdo \
|
|
||||||
MARQDO_STDLIB_DIR=/opt/marqdo/marqdo-3.0.0-rc.5-x86_64-unknown-linux-gnu/stdlib \
|
MARQDO_STDLIB_DIR=/opt/marqdo/marqdo-3.0.0-rc.5-x86_64-unknown-linux-gnu/stdlib \
|
||||||
MARQDO_WEB_TOOL_JSON=/opt/web-tool/tool.json \
|
MARQDO_WEB_TOOL_JSON=/opt/web-tool/tool.json \
|
||||||
PLAYWRIGHT_BROWSERS_PATH=/ms-playwright \
|
|
||||||
MARQDO_CLI_VERSION=3.0.0-rc.5
|
MARQDO_CLI_VERSION=3.0.0-rc.5
|
||||||
|
RUN apt-get update \
|
||||||
RUN test -x "$MARQDO_BIN" && "$MARQDO_BIN" --version && test -f "$MARQDO_WEB_TOOL_JSON"
|
&& apt-get install -y --no-install-recommends \
|
||||||
|
ca-certificates curl git python3 nodejs npm xz-utils unzip fonts-noto-cjk \
|
||||||
|
&& npm install -g playwright@1.49.0 \
|
||||||
|
&& npx playwright install-deps chromium \
|
||||||
|
&& curl -fsSL --retry 3 -o /tmp/chromium.zip "https://cdn.npmmirror.com/binaries/playwright/builds/chromium/1148/chromium-linux.zip" \
|
||||||
|
&& mkdir -p /ms-playwright/chromium-1148 \
|
||||||
|
&& unzip -q /tmp/chromium.zip -d /ms-playwright/chromium-1148 \
|
||||||
|
&& touch /ms-playwright/chromium-1148/INSTALLATION_COMPLETE \
|
||||||
|
&& rm /tmp/chromium.zip \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
COPY marqdo.tar.gz /tmp/marqdo.tar.gz
|
||||||
|
COPY marqdo-web-preview.tgz /tmp/web.tgz
|
||||||
|
RUN mkdir -p /opt/marqdo /opt/web-tool \
|
||||||
|
&& tar -xzf /tmp/marqdo.tar.gz -C /opt/marqdo \
|
||||||
|
&& tar -xzf /tmp/web.tgz -C /opt/web-tool --strip-components=1 \
|
||||||
|
&& rm /tmp/marqdo.tar.gz /tmp/web.tgz \
|
||||||
|
&& test -x "$MARQDO_BIN" && "$MARQDO_BIN" --version && test -f "$MARQDO_WEB_TOOL_JSON"
|
||||||
+1
-1
@@ -7,7 +7,7 @@ container registry, per released CLI version:
|
|||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| `git.cflmy.cn/cflmy/marqdo-ci-shell:3.0.0-rc.5` | Ubuntu 24.04 (glibc 2.39), git/curl/python3/build tools, released CLI + Bundle (`MARQDO_BIN`/`MARQDO_STDLIB_DIR` preset) | standard library, extension, conformance and reconcile lanes |
|
| `git.cflmy.cn/cflmy/marqdo-ci-shell:3.0.0-rc.5` | Ubuntu 24.04 (glibc 2.39), git/curl/python3/build tools, released CLI + Bundle (`MARQDO_BIN`/`MARQDO_STDLIB_DIR` preset) | standard library, extension, conformance and reconcile lanes |
|
||||||
| `git.cflmy.cn/cflmy/marqdo-ci-rust:3.0.0-rc.5` | shell image + pinned Rust 1.100 toolchain (rustfmt/clippy) + warm cargo cache | Design/Preview and Rust tool lanes |
|
| `git.cflmy.cn/cflmy/marqdo-ci-rust:3.0.0-rc.5` | shell image + pinned Rust 1.100 toolchain (rustfmt/clippy) + warm cargo cache | Design/Preview and Rust tool lanes |
|
||||||
| `git.cflmy.cn/cflmy/marqdo-ci-web:3.0.0-rc.5` (planned) | Playwright Chromium/Node + released CLI/Bundle + packaged preview web Tool | Web domain browser acceptance |
|
| `git.cflmy.cn/cflmy/marqdo-ci-web:3.0.0-rc.5` (digest `0cccda995d77...`) | Ubuntu 24.04 + Node/Playwright Chromium(npmmirror 二进制源)+ released CLI/Bundle + packaged preview web Tool | Web domain browser acceptance |
|
||||||
|
|
||||||
Rules:
|
Rules:
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
| --- | --- | --- | --- |
|
| --- | --- | --- | --- |
|
||||||
| `git.cflmy.cn/cflmy/marqdo-ci-shell:3.0.0-rc.5` | `sha256:8184439a201d...` | Ubuntu 24.04/glibc 2.39、git/curl/python3/build 工具、已发布 CLI+Bundle(`MARQDO_BIN`/`MARQDO_STDLIB_DIR` 预置) | stdlib、extension、conformance、reconcile |
|
| `git.cflmy.cn/cflmy/marqdo-ci-shell:3.0.0-rc.5` | `sha256:8184439a201d...` | Ubuntu 24.04/glibc 2.39、git/curl/python3/build 工具、已发布 CLI+Bundle(`MARQDO_BIN`/`MARQDO_STDLIB_DIR` 预置) | stdlib、extension、conformance、reconcile |
|
||||||
| `git.cflmy.cn/cflmy/marqdo-ci-rust:3.0.0-rc.5` | `sha256:73481a353391...` | shell 镜像 + Rust 1.100(rustfmt/clippy)+ 预热 cargo cache | Design/Preview 与 Rust Tool |
|
| `git.cflmy.cn/cflmy/marqdo-ci-rust:3.0.0-rc.5` | `sha256:73481a353391...` | shell 镜像 + Rust 1.100(rustfmt/clippy)+ 预热 cargo cache | Design/Preview 与 Rust Tool |
|
||||||
| `git.cflmy.cn/cflmy/marqdo-ci-web:3.0.0-rc.5` | 未发布(Playwright 基础镜像拉取超时) | 计划:Playwright/Node + CLI/Bundle + 打包 preview web Tool | Web 领域浏览器验收 |
|
| `git.cflmy.cn/cflmy/marqdo-ci-web:3.0.0-rc.5` | `sha256:0cccda995d77...` | Ubuntu 24.04 + Node 18/Playwright 1.49 Chromium(npmmirror 二进制源,`channel: chromium`)+ CLI/Bundle + 打包 preview web Tool | Web domain 浏览器验收(pipeline 1 **success**) |
|
||||||
|
|
||||||
- 镜像通过 `ci/images/build.sh [--push]` 从**已发布 rc.5 CLI 归档**(sha256 固定)与固定预览包构建;标签不可变,按 CLI 版本发布;公开匿名拉取,CI 不需要 registry push 凭据。
|
- 镜像通过 `ci/images/build.sh [--push]` 从**已发布 rc.5 CLI 归档**(sha256 固定)与固定预览包构建;标签不可变,按 CLI 版本发布;公开匿名拉取,CI 不需要 registry push 凭据。
|
||||||
- 单仓工作流因此只剩本仓入口命令;例如 stdlib/extension/conformance 为:
|
- 单仓工作流因此只剩本仓入口命令;例如 stdlib/extension/conformance 为:
|
||||||
@@ -30,6 +30,7 @@
|
|||||||
| Design / Preview(rust 镜像) | pipeline 6/7 **success** |
|
| Design / Preview(rust 镜像) | pipeline 6/7 **success** |
|
||||||
| knowledge / lint / prove(rust 镜像) | pipeline 22 / 12 / 17 **success** |
|
| knowledge / lint / prove(rust 镜像) | pipeline 22 / 12 / 17 **success** |
|
||||||
| View(rust 构建 + Playwright 浏览器两步) | pipeline 24 **success**(rc.5 CLI 适配) |
|
| View(rust 构建 + Playwright 浏览器两步) | pipeline 24 **success**(rc.5 CLI 适配) |
|
||||||
|
| Web domain(web 镜像:三案例 + 生产 API/Chromium E2E) | pipeline 1 **success** |
|
||||||
| 根 release 对账 | manual #71 **success**(创建 rc.5 追踪 Issue #22);cron #72 **success**(幂等 tracked) |
|
| 根 release 对账 | manual #71 **success**(创建 rc.5 追踪 Issue #22);cron #72 **success**(幂等 tracked) |
|
||||||
| 发布快速通知 | 临时 release 触发 std-text release pipeline #23 **success** → 根 manual #73 **success** 并创建追踪 Issue;测试 release/tag/Issue 已清理 |
|
| 发布快速通知 | 临时 release 触发 std-text release pipeline #23 **success** → 根 manual #73 **success** 并创建追踪 Issue;测试 release/tag/Issue 已清理 |
|
||||||
|
|
||||||
@@ -51,7 +52,7 @@
|
|||||||
|
|
||||||
## 未完成 / 限制
|
## 未完成 / 限制
|
||||||
|
|
||||||
- `marqdo-ci-web` 未发布:本地拉取 Playwright 基础镜像超时;Web 领域 CI lane 与浏览器验收仍待该镜像或等价的 runner 缓存方案。当前 Web 组件已有 Design/Preview 的 Rust image lane,domain 只有入口脚本。
|
- `marqdo-ci-web` 已改为 Ubuntu + Node/Playwright Chromium(npmmirror 镜像源,避免 MCR 拉取超时)并发布;Web domain pipeline 1 success。ghproxy `https://ghproxy.cflmy.top` 对 GitHub 资源可用,但本轮浏览器资源使用 npmmirror,未依赖 ghproxy。
|
||||||
- View 已迁到 rust + Playwright 两步;knowledge/lint/prove 已迁到共享 rust 镜像。
|
- View 已迁到 rust + Playwright 两步;knowledge/lint/prove 已迁到共享 rust 镜像。
|
||||||
- 组件 release 发布工作流(source archive/tool bundle 上传 + 快速通知)尚未全部落地;当前 CLI rc.5 已发布,reconcile 可追踪新发布。
|
- 组件 release 发布工作流(source archive/tool bundle 上传 + 快速通知)尚未全部落地;当前 CLI rc.5 已发布,reconcile 可追踪新发布。
|
||||||
- registry 镜像 digest/扫描策略、runner 拉取缓存与多架构未验证;CI 账号最小权限仍沿用现有项目 token(M0 记录限制)。
|
- registry 镜像 digest/扫描策略、runner 拉取缓存与多架构未验证;CI 账号最小权限仍沿用现有项目 token(M0 记录限制)。
|
||||||
+1
-1
Submodule extensions/web updated: b11cbeac57...a3ddccd8a4.
Reference in new issue
Block a user