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: v1