Skip to content

Latest commit

 

History

History
84 lines (56 loc) · 2.21 KB

README.md

File metadata and controls

84 lines (56 loc) · 2.21 KB

Create Cluster

Recommended permissions

The action doesn't require any specific permission.

permissions: {}

All options

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'

Detailed options

token

Default value: unset

flavor

Default value: unset

name

Default value: unset

Must comply to the regex: [a-z][a-z0-9-]{1,26}[a-z0-9].

lifespan

Default value: 48h

args

Default value: unset

wait

Default value: 'false'

no-slack

Default value: 'false'

endpoint

Default value: infra.rox.systems

insecure

Default value: 'false'

Usage

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"