The action doesn't require any specific permission.
permissions: {}
Input | Description | Default |
---|---|---|
token | Infra token | |
flavor | Cluster flavor | |
name | Cluster name | |
lifespan | Lifespan | 48h |
args | Arguments | |
wait | Whether to wait for the cluster readiness | 'false' |
no-slack | Whether to to skip sending Slack messages for lifecycle events | 'false' |
endpoint | URL to infra deployment | infra.rox.systems |
insecure | Whether to allow insecure connections to infra deployment | 'false' |
Default value: unset
Default value: unset
Default value: unset
Must comply to the regex: [a-z][a-z0-9-]{1,26}[a-z0-9]
.
Default value: 48h
Default value: unset
Default value: 'false'
Default value: 'false'
Default value: infra.rox.systems
Default value: 'false'
name: Create a qa-demo cluster with 48h lifespan
jobs:
infra:
runs-on: ubuntu-latest
steps:
- uses: stackrox/actions/infra/create-cluster@main
with:
token: ${{ secrets.INFRA_TOKEN }}
flavor: qa-demo
name: qa-demo-test-cluster
lifespan: 48h
args: main-image=quay.io/rhacs-eng/main:3.75.4
wait: "false"
endpoint: localhost:8443
insecure: "true"