Skip to content

Commit

Permalink
Enter nodes as workflow_dispatch input
Browse files Browse the repository at this point in the history
  • Loading branch information
a-b committed Oct 17, 2024
1 parent 774bf5d commit 5216f85
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/tests-integration-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@ on:
gitRef:
type: string
default: ${{github.event.workflow_run.head_sha}}
nodes:
type: number
default: 8

env:
NODES: ${{ vars.TEST_NODES || '10' }}
NODES: ${{ inputs.nodes }}
FLAKE_ATTEMPTS: ${{ vars.TEST_FLAKE_ATTEMPTS || '2' }}

jobs:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/tests-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ on:
- run-integration-tests-cf-env
- run-integration-tests-cf-env-with-client-creds
- run-cats-cf-env
nodes:
description: Number of test nodes
required: false
type: number
default: 8

push:
tags:
- "v8.*"
Expand Down Expand Up @@ -225,6 +231,7 @@ jobs:
name: Integration
gitRef: ${{needs.get-sha.outputs.gitRef}}
lease-id: ${{ needs.claim-env.outputs.leaseid }}
nodes: ${{ inputs.nodes }}
secrets: inherit

run-integration-tests-cf-env-with-client-creds:
Expand Down

0 comments on commit 5216f85

Please sign in to comment.