From 549d575653b68c29f97e2f78036646f2e2035719 Mon Sep 17 00:00:00 2001 From: Md Nurnobi Date: Sun, 22 Nov 2026 12:08:06 +0000 Subject: [PATCH] ci(p03): allow a narrow Python-only rerun after proven runner failure --- .gitea/workflows/datastack-ci.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/datastack-ci.yml b/.gitea/workflows/datastack-ci.yml index 95be047..73302d9 100644 --- a/.gitea/workflows/datastack-ci.yml +++ b/.gitea/workflows/datastack-ci.yml @@ -16,10 +16,15 @@ on: required: false type: boolean default: false + python_only: + description: Narrow CI-06 Python job rerun after a proven runner setup failure + required: false + type: boolean + default: false jobs: node-regression: - if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.quality_only != 'true' }} + if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.quality_only != 'true' && (github.event_name != 'workflow_dispatch' || github.event.inputs.python_only != 'true') }} runs-on: ubuntu-latest timeout-minutes: 30 steps: @@ -81,6 +86,7 @@ jobs: echo DATASTACK_PYTHON_14_OF_14_PASS quality: + if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.python_only != 'true' }} runs-on: ubuntu-latest timeout-minutes: 20 steps: @@ -95,7 +101,7 @@ jobs: run: npm run lint production-build: - if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.quality_only != 'true' }} + if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.quality_only != 'true' && (github.event_name != 'workflow_dispatch' || github.event.inputs.python_only != 'true') }} runs-on: ubuntu-latest timeout-minutes: 25 steps: @@ -111,7 +117,7 @@ jobs: test -f .next/standalone/server.js docker-image-build: - if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.p01_only != 'true' }} + if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.p01_only != 'true' && (github.event_name != 'workflow_dispatch' || github.event.inputs.python_only != 'true') }} runs-on: ubuntu-latest container: node:22-alpine timeout-minutes: 45 @@ -149,7 +155,7 @@ jobs: echo DATASTACK_THREE_IMAGES_BUILD_PASS windows-compatibility: - if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.quality_only != 'true' }} + if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.quality_only != 'true' && (github.event_name != 'workflow_dispatch' || github.event.inputs.python_only != 'true') }} runs-on: windows-latest timeout-minutes: 25 steps: @@ -177,7 +183,7 @@ jobs: if ($LASTEXITCODE -ne 0) { throw 'SDK compilation failed' } security-audit: - if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.p01_only != 'true' }} + if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.p01_only != 'true' && (github.event_name != 'workflow_dispatch' || github.event.inputs.python_only != 'true') }} runs-on: ubuntu-latest container: node:22-alpine timeout-minutes: 15