Skip to content
name: test-oblt-cli-cluster-create-ccs
on:
workflow_dispatch:
inputs:
dry-run:
description: 'Dry run'
required: true
default: false
type: boolean
push:
paths:
- '.github/workflows/test-oblt-cli-cluster-create-ccs.yml'
- 'oblt-cli/cluster-create-ccs/**'
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: elastic/oblt-actions/git/setup@v1
- uses: ./oblt-cli/cluster-create-ccs
with:
github-token: ${{ secrets.OBLT_CLI_GITHUB_TOKEN }}
remote-cluster: 'release-oblt'
cluster-name-prefix: 'testgithubaction'
gitops: true
dry-run: ${{ github.event.inputs.dry-run != '' && github.event.inputs.dry-run || true }}