Compare commits

...

2 Commits

Author SHA1 Message Date
XiaoXia Bot 852268f069 debug(ci): v2测试 - 复制ci-build完整结构
Debug Build Schedule / Test Matrix A (push) Successful in 0s
Debug Build Schedule / Test Simple Job (push) Successful in 0s
Debug Build Schedule / Test Matrix B (push) Successful in 0s
Debug Build Schedule / Test If Condition (push) Failing after 0s
Debug Build Schedule v2 - Copy CI Build Structure / Build Staging API Image (push) Failing after 1s
Debug Build Schedule v2 - Copy CI Build Structure / Build Staging Web Image (push) Failing after 0s
Debug Build Schedule v2 - Copy CI Build Structure / Build Staging Worker Image (push) Failing after 0s
Debug Build Schedule v2 - Copy CI Build Structure / Build Production API Image (push) Failing after 0s
Debug Build Schedule v2 - Copy CI Build Structure / Deploy Staging (push) Failing after 0s
2026-07-15 20:53:38 +08:00
XiaoXia Bot f319be75c5 debug(ci): 添加调试workflow定位构建调度问题
Debug Build Schedule / Test Simple Job (push) Successful in 0s
Debug Build Schedule / Test Matrix A (push) Successful in 0s
Debug Build Schedule / Test Matrix B (push) Successful in 0s
Debug Build Schedule / Test If Condition (push) Failing after 0s
2026-07-15 20:51:40 +08:00
2 changed files with 101 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
name: Debug Build Schedule
on:
push:
branches:
- debug/ci-build-schedule
jobs:
test-simple:
name: Test Simple Job
runs-on: host
steps:
- name: Hello
shell: sh
run: echo "Hello from simple job"
test-matrix:
name: Test Matrix ${{ matrix.name }}
runs-on: host
strategy:
fail-fast: false
matrix:
include:
- name: A
timeout: 5
- name: B
timeout: 5
timeout-minutes: ${{ matrix.timeout }}
steps:
- name: Hello
shell: sh
run: echo "Hello from matrix job ${{ matrix.name }}"
test-if:
name: Test If Condition
runs-on: host
if: github.event_name == "push" && github.ref_name == "debug/ci-build-schedule"
steps:
- name: Hello
shell: sh
run: echo "Hello from if job"
+64
View File
@@ -0,0 +1,64 @@
name: Debug Build Schedule v2 - Copy CI Build Structure
on:
push:
branches:
- debug/ci-build-schedule
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: false
jobs:
build-staging:
name: Build Staging ${{ matrix.service_display }} Image
runs-on: host
timeout-minutes: ${{ matrix.timeout }}
if: github.event_name == "push" && github.ref_name == "debug/ci-build-schedule"
strategy:
fail-fast: false
matrix:
include:
- service: api
service_display: API
timeout: 10
- service: worker
service_display: Worker
timeout: 10
- service: web
service_display: Web
timeout: 10
steps:
- name: Step 1
shell: sh
run: echo "Step 1"
- name: Step 2
shell: sh
run: echo "Step 2"
- name: Step 3
shell: sh
run: echo "Step 3"
deploy-staging:
name: Deploy Staging
runs-on: host
timeout-minutes: 15
if: github.event_name == "push" && github.ref_name == "debug/ci-build-schedule"
needs:
- build-staging
steps:
- name: Deploy
shell: sh
run: echo "Deploy"
build-production:
name: Build Production ${{ matrix.service_display }} Image
runs-on: host
timeout-minutes: ${{ matrix.timeout }}
if: startsWith(github.ref, "refs/tags/v")
strategy:
fail-fast: false
matrix:
include:
- service: api
service_display: API
timeout: 10
steps:
- name: Step 1
shell: sh
run: echo "Step 1"