Skip to content

Commit d6efd27

Browse files
committed
Add optional flag to wait for operators to be healthy
1 parent f8027ab commit d6efd27

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ inputs:
2424
description: 'Cache the crc bundles for faster startup'
2525
required: false
2626
default: 'false'
27+
waitForOperatorsReady:
28+
description: 'Wait for all operators to be ready'
29+
required: false
30+
default: 'false'
2731

2832
runs:
2933
using: 'composite'
@@ -219,5 +223,6 @@ runs:
219223
oc adm policy add-scc-to-group privileged system:authenticated
220224
221225
- name: Wait for operators to be available
226+
if: ${{ inputs.waitForOperatorsReady == 'true' }}
222227
shell: bash
223228
run: ${{ github.action_path }}/scripts/wait-for-operators.sh

0 commit comments

Comments
 (0)