| Input | Description | Default |
|---|---|---|
| version | Main image version | |
| create-k8s-cluster | Whether to create GKE cluster | "false" |
| create-os4-cluster | Whether to create Open Shift 4 cluster | "false" |
| create-long-cluster | Whether to create GKE long-running cluster | "false" |
| dry-run | Whether it is a dry-run | "false" |
| workflow-ref | Reference of the called workflow |
Default value: unset
Default value: false
Default value: false
Default value: false
Default value: false
Default value: unset
Must match the reference of the workflow in the uses keyword.
name: Create demo clusters for release candidate
jobs:
create-clusters:
name: Setup clusters
uses: stackrox/actions/.github/workflows/create-cluster.yml@v1
secrets: inherit
with:
version: ${{github.event.inputs.version}}
create-k8s-cluster: ${{github.event.inputs.create-k8s-cluster == 'true'}}
create-os4-cluster: ${{github.event.inputs.create-os4-cluster == 'true'}}
create-long-cluster: ${{github.event.inputs.create-long-cluster == 'true'}}
dry-run: ${{github.event.inputs.dry-run == 'true'}}
workflow-ref: v1Periodically scans all open pull requests for failed Konflux build checks and posts a
/retest <check-name> comment to trigger a rebuild. Retries up to max_retries times
per check per commit, then stops. Old retest comments from previous commit cycles are
cleaned up automatically so the retry counter always reflects the current commit only.
Add the disable-konflux-auto-retest label to a PR to opt it out of automatic retesting.
| Input | Description | Required | Default |
|---|---|---|---|
max_retries |
Maximum number of retries per failed check per commit | No | 3 |
check_name_exclude_pattern |
Regex pattern matched against Konflux check names (after stripping the app name prefix). Matching checks are skipped. Leave empty to retest all failed checks. | No | conforma |
retest_command |
Comment body used to trigger a Konflux retest. Use a non-default value when OpenShift CI shares the same /retest syntax, to avoid cross-system noise. |
No | /retest |
konflux_app_id |
GitHub App ID for Red Hat Konflux, used to filter check suites. The app name is resolved automatically from this ID via the GitHub API. | No | 296509 |
Create a workflow file in your repository (e.g. .github/workflows/konflux-retest-periodic.yml):
name: Periodic Retest Failed Konflux Builds
on:
schedule:
- cron: '5,15,25,35,45,55 * * * *' # every 10 minutes
workflow_dispatch:
jobs:
retest:
uses: stackrox/actions/.github/workflows/periodic-retest-konflux-builds.yml@v1
with:
max_retries: 3
check_name_exclude_pattern: 'conforma'
retest_command: '/konflux-retest'