





















@@ -102,6 +102,11 @@ on:
102102 - beta
103103 - stable
104104 - full
105+use_github_hosted_runners:
106+description: Use GitHub-hosted runners instead of Blacksmith runners
107+required: false
108+default: false
109+type: boolean
105110advisory:
106111description: Treat failures as advisory for the caller
107112required: false
@@ -208,6 +213,11 @@ on:
208213required: false
209214default: stable
210215type: string
216+use_github_hosted_runners:
217+description: Use GitHub-hosted runners instead of Blacksmith runners
218+required: false
219+default: true
220+type: boolean
211221secrets:
212222OPENAI_API_KEY:
213223required: false
@@ -474,7 +484,7 @@ jobs:
474484needs: validate_selected_ref
475485if: inputs.include_live_suites && !inputs.live_models_only && (inputs.live_suite_filter == '' || inputs.live_suite_filter == 'live-cache')
476486continue-on-error: ${{ inputs.advisory }}
477-runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-8vcpu-ubuntu-2404' }}
487+runs-on: ${{ inputs.use_github_hosted_runners && 'ubuntu-24.04' || 'blacksmith-8vcpu-ubuntu-2404' }}
478488timeout-minutes: 20
479489env:
480490OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
@@ -524,7 +534,7 @@ jobs:
524534needs: validate_selected_ref
525535if: inputs.include_repo_e2e && inputs.live_suite_filter == ''
526536continue-on-error: ${{ inputs.advisory }}
527-runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-8vcpu-ubuntu-2404' }}
537+runs-on: ${{ inputs.use_github_hosted_runners && 'ubuntu-24.04' || 'blacksmith-8vcpu-ubuntu-2404' }}
528538timeout-minutes: ${{ inputs.release_test_profile == 'full' && 90 || 60 }}
529539env:
530540OPENCLAW_VITEST_MAX_WORKERS: "2"
@@ -556,7 +566,7 @@ jobs:
556566needs: validate_selected_ref
557567if: inputs.include_repo_e2e && (inputs.live_suite_filter == '' || inputs.live_suite_filter == 'openshell-e2e')
558568continue-on-error: ${{ inputs.advisory }}
559-runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-8vcpu-ubuntu-2404' }}
569+runs-on: ${{ inputs.use_github_hosted_runners && 'ubuntu-24.04' || 'blacksmith-8vcpu-ubuntu-2404' }}
560570timeout-minutes: ${{ matrix.timeout_minutes }}
561571strategy:
562572fail-fast: false
@@ -630,7 +640,7 @@ jobs:
630640if: inputs.include_release_path_suites && inputs.docker_lanes == ''
631641name: Docker E2E (${{ matrix.label }})
632642continue-on-error: ${{ inputs.advisory }}
633-runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-32vcpu-ubuntu-2404' }}
643+runs-on: ${{ inputs.use_github_hosted_runners && 'ubuntu-24.04' || 'blacksmith-32vcpu-ubuntu-2404' }}
634644timeout-minutes: ${{ matrix.timeout_minutes }}
635645strategy:
636646fail-fast: false
@@ -921,7 +931,7 @@ jobs:
921931needs: validate_selected_ref
922932if: inputs.docker_lanes != ''
923933continue-on-error: ${{ inputs.advisory }}
924-runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-4vcpu-ubuntu-2404' }}
934+runs-on: ${{ inputs.use_github_hosted_runners && 'ubuntu-24.04' || 'blacksmith-4vcpu-ubuntu-2404' }}
925935timeout-minutes: 5
926936outputs:
927937groups_json: ${{ steps.groups.outputs.groups_json }}
@@ -950,7 +960,7 @@ jobs:
950960if: inputs.docker_lanes != ''
951961name: Docker E2E targeted lanes (${{ matrix.group.label }})
952962continue-on-error: ${{ inputs.advisory }}
953-runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-32vcpu-ubuntu-2404' }}
963+runs-on: ${{ inputs.use_github_hosted_runners && 'ubuntu-24.04' || 'blacksmith-32vcpu-ubuntu-2404' }}
954964timeout-minutes: 60
955965strategy:
956966fail-fast: false
@@ -1182,7 +1192,7 @@ jobs:
11821192if: inputs.include_openwebui && !inputs.include_release_path_suites && inputs.docker_lanes == ''
11831193name: Docker E2E (openwebui)
11841194continue-on-error: ${{ inputs.advisory }}
1185-runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-32vcpu-ubuntu-2404' }}
1195+runs-on: ${{ inputs.use_github_hosted_runners && 'ubuntu-24.04' || 'blacksmith-32vcpu-ubuntu-2404' }}
11861196timeout-minutes: 60
11871197env:
11881198OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
@@ -1308,7 +1318,7 @@ jobs:
13081318needs: validate_selected_ref
13091319if: inputs.include_release_path_suites || inputs.include_openwebui || inputs.docker_lanes != ''
13101320continue-on-error: ${{ inputs.advisory }}
1311-runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-32vcpu-ubuntu-2404' }}
1321+runs-on: ${{ inputs.use_github_hosted_runners && 'ubuntu-24.04' || 'blacksmith-32vcpu-ubuntu-2404' }}
13121322timeout-minutes: ${{ inputs.release_test_profile == 'full' && 90 || 60 }}
13131323permissions:
13141324actions: read
@@ -1551,7 +1561,7 @@ jobs:
15511561needs: validate_selected_ref
15521562if: inputs.include_live_suites && (inputs.live_suite_filter == '' || startsWith(inputs.live_suite_filter, 'live-') || startsWith(inputs.live_suite_filter, 'docker-live-models'))
15531563continue-on-error: ${{ inputs.advisory }}
1554-runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-32vcpu-ubuntu-2404' }}
1564+runs-on: ${{ inputs.use_github_hosted_runners && 'ubuntu-24.04' || 'blacksmith-32vcpu-ubuntu-2404' }}
15551565timeout-minutes: 60
15561566permissions:
15571567contents: read
@@ -1624,7 +1634,7 @@ jobs:
16241634needs: [validate_selected_ref, prepare_live_test_image]
16251635if: inputs.include_live_suites && inputs.live_model_providers == '' && (inputs.live_suite_filter == '' || inputs.live_suite_filter == 'docker-live-models')
16261636continue-on-error: ${{ inputs.advisory }}
1627-runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-32vcpu-ubuntu-2404' }}
1637+runs-on: ${{ inputs.use_github_hosted_runners && 'ubuntu-24.04' || 'blacksmith-32vcpu-ubuntu-2404' }}
16281638timeout-minutes: 45
16291639strategy:
16301640fail-fast: false
@@ -1775,7 +1785,7 @@ jobs:
17751785needs: [validate_selected_ref, prepare_live_test_image]
17761786if: inputs.include_live_suites && inputs.live_model_providers != '' && (inputs.live_suite_filter == '' || inputs.live_suite_filter == 'docker-live-models')
17771787continue-on-error: ${{ inputs.advisory }}
1778-runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-32vcpu-ubuntu-2404' }}
1788+runs-on: ${{ inputs.use_github_hosted_runners && 'ubuntu-24.04' || 'blacksmith-32vcpu-ubuntu-2404' }}
17791789timeout-minutes: 45
17801790env:
17811791OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
@@ -1949,7 +1959,7 @@ jobs:
19491959needs: validate_selected_ref
19501960if: inputs.include_live_suites && !inputs.live_models_only && (inputs.live_suite_filter == '' || (startsWith(inputs.live_suite_filter, 'native-live-') && !startsWith(inputs.live_suite_filter, 'native-live-extensions-media') && inputs.live_suite_filter != 'native-live-extensions-a-k'))
19511961continue-on-error: ${{ inputs.advisory }}
1952-runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-8vcpu-ubuntu-2404' }}
1962+runs-on: ${{ inputs.use_github_hosted_runners && 'ubuntu-24.04' || 'blacksmith-8vcpu-ubuntu-2404' }}
19531963timeout-minutes: ${{ matrix.timeout_minutes }}
19541964strategy:
19551965fail-fast: false
@@ -2251,6 +2261,7 @@ jobs:
22512261env:
22522262OPENCLAW_LIVE_COMMAND: ${{ matrix.command }}
22532263OPENCLAW_LIVE_SUITE_ADVISORY: ${{ matrix.advisory }}
2264+shell: bash
22542265run: |
22552266 set +e
22562267 bash .release-harness/scripts/ci-live-command-retry.sh
@@ -2270,7 +2281,7 @@ jobs:
22702281needs: [validate_selected_ref, prepare_live_test_image]
22712282if: inputs.include_live_suites && !inputs.live_models_only && (inputs.live_suite_filter == '' || startsWith(inputs.live_suite_filter, 'live-'))
22722283continue-on-error: ${{ inputs.advisory }}
2273-runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-32vcpu-ubuntu-2404' }}
2284+runs-on: ${{ inputs.use_github_hosted_runners && 'ubuntu-24.04' || 'blacksmith-32vcpu-ubuntu-2404' }}
22742285timeout-minutes: ${{ matrix.timeout_minutes }}
22752286strategy:
22762287fail-fast: false
@@ -2469,6 +2480,7 @@ jobs:
24692480env:
24702481OPENCLAW_LIVE_COMMAND: ${{ matrix.command }}
24712482OPENCLAW_LIVE_SUITE_ADVISORY: ${{ matrix.advisory }}
2483+shell: bash
24722484run: |
24732485 set +e
24742486 bash .release-harness/scripts/ci-live-command-retry.sh
@@ -2488,7 +2500,7 @@ jobs:
24882500needs: validate_selected_ref
24892501if: inputs.include_live_suites && !inputs.live_models_only && (inputs.live_suite_filter == '' || startsWith(inputs.live_suite_filter, 'native-live-extensions-media') || inputs.live_suite_filter == 'native-live-extensions-a-k')
24902502continue-on-error: ${{ inputs.advisory }}
2491-runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-8vcpu-ubuntu-2404' }}
2503+runs-on: ${{ inputs.use_github_hosted_runners && 'ubuntu-24.04' || 'blacksmith-8vcpu-ubuntu-2404' }}
24922504container:
24932505image: ghcr.io/openclaw/openclaw-live-media-runner:ubuntu-24.04
24942506credentials:
@@ -2656,6 +2668,7 @@ jobs:
26562668if: contains(matrix.profiles, inputs.release_test_profile) && (inputs.live_suite_filter == '' || inputs.live_suite_filter == matrix.suite_id || (inputs.live_suite_filter == 'native-live-extensions-media-video' && startsWith(matrix.suite_id, 'native-live-extensions-media-video-')))
26572669env:
26582670OPENCLAW_LIVE_SUITE_ADVISORY: ${{ matrix.advisory }}
2671+shell: bash
26592672run: |
26602673 set +e
26612674 ${{ matrix.command }}
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。