Skip to content

v1.1.1 — ARM64 架构预检 + 默认 verbose 日志

Choose a tag to compare

@ddpie ddpie released this 08 Jul 13:05
· 10 commits to main since this release
c403fe8

中文

两处部署健壮性 / 可观测性增强。

部署前检测非 ARM64 架构并提前报错
项目仅支持 ARM64(容器为 linux/arm64 构建)。在 x86_64 机器上部署,原本会在 docker build 中途抛出晦涩的 exec /bin/sh: exec format error。现在 deploy.sh 在最开头就用 uname -m 探测架构,非 ARM64 直接明确报错,并指向 ARM64 机器(Apple Silicon Mac 或 AWS Graviton 实例如 t4g / c7g)。

默认打开 cdk verbose 日志
部署常在 cdk bootstrap / cdk deploy 处无声停顿,详细日志是定位这类卡顿的关键。两处 cdk 调用默认加 -v--quiet / -q 可恢复精简输出。

English

Two deploy robustness / observability enhancements.

Detect non-ARM64 architecture before deploying
The project is ARM64-only (container built for linux/arm64). Deploying on x86_64 used to fail mid-docker build with a cryptic exec /bin/sh: exec format error. deploy.sh now checks uname -m up front and, on non-ARM64, fails early with a clear message pointing at an ARM64 machine (Apple Silicon Mac or an AWS Graviton instance such as t4g / c7g).

Verbose cdk logs on by default
Deploys often stall silently at cdk bootstrap / cdk deploy; detailed logs make that diagnosable. Both cdk calls pass -v by default; --quiet / -q restores terse output.