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
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
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user