ci(p03): allow a narrow Python-only rerun after proven runner failure
This commit is contained in:
1 parent
c3189d83b7
commit
549d575653
1 file changed
+11
-5
@@ -16,10 +16,15 @@ on:
|
|||||||
required: false
|
required: false
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
python_only:
|
||||||
|
description: Narrow CI-06 Python job rerun after a proven runner setup failure
|
||||||
|
required: false
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
node-regression:
|
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
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
@@ -81,6 +86,7 @@ jobs:
|
|||||||
echo DATASTACK_PYTHON_14_OF_14_PASS
|
echo DATASTACK_PYTHON_14_OF_14_PASS
|
||||||
|
|
||||||
quality:
|
quality:
|
||||||
|
if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.python_only != 'true' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
steps:
|
steps:
|
||||||
@@ -95,7 +101,7 @@ jobs:
|
|||||||
run: npm run lint
|
run: npm run lint
|
||||||
|
|
||||||
production-build:
|
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
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 25
|
timeout-minutes: 25
|
||||||
steps:
|
steps:
|
||||||
@@ -111,7 +117,7 @@ jobs:
|
|||||||
test -f .next/standalone/server.js
|
test -f .next/standalone/server.js
|
||||||
|
|
||||||
docker-image-build:
|
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
|
runs-on: ubuntu-latest
|
||||||
container: node:22-alpine
|
container: node:22-alpine
|
||||||
timeout-minutes: 45
|
timeout-minutes: 45
|
||||||
@@ -149,7 +155,7 @@ jobs:
|
|||||||
echo DATASTACK_THREE_IMAGES_BUILD_PASS
|
echo DATASTACK_THREE_IMAGES_BUILD_PASS
|
||||||
|
|
||||||
windows-compatibility:
|
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
|
runs-on: windows-latest
|
||||||
timeout-minutes: 25
|
timeout-minutes: 25
|
||||||
steps:
|
steps:
|
||||||
@@ -177,7 +183,7 @@ jobs:
|
|||||||
if ($LASTEXITCODE -ne 0) { throw 'SDK compilation failed' }
|
if ($LASTEXITCODE -ne 0) { throw 'SDK compilation failed' }
|
||||||
|
|
||||||
security-audit:
|
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
|
runs-on: ubuntu-latest
|
||||||
container: node:22-alpine
|
container: node:22-alpine
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
|
|||||||
Reference in new issue
Block a user