ci: run the slow e2e tests after the image builds (a parallel run got the backend AOT compile OOM-killed)

This commit is contained in:
justme committed 2026-10-09 15:24:07 +08:00
1 parent 2d31bd091e
commit 900bbde46a
4 files changed
+21 -5

No files matched your search

+15
View File
@@ -67,3 +67,18 @@ steps:
commands:
- bash ci/build-dev-image.sh probe
depends_on: []
# 慢的端到端测试:等三个镜像都构建、推送完再跑,不和 NativeAOT 编译抢内存(同时跑过一次,Backend 的 AOT 编译被 OOM 杀掉了)。
# 它失败不影响已经推出去的镜像,只让流水线变红。没带 [CI] 的推送由 e2e.yml 跑。
- name: backend-e2e-tests
image: bash
when:
- evaluate: 'not (CI_COMMIT_MESSAGE contains "[SKIP TESTS]")'
environment:
NUGET_PACKAGES: /home/justme/.nuget/packages
commands:
- bash ci/verify-backend.sh slow
depends_on:
- build-linux-amd64-backend
- build-linux-amd64-agent
- build-linux-amd64-probe