This action creates a Kubernetes cluster, optimised for testing, using Krucible.
--- jobs: create-and-test-cluster: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Create a kubernetes cluster uses: "Krucible/krucible-github-action@master" id: create-cluster with: duration: 1 display-name: github-test-cluster krucible-account-id: ${{ secrets.KRUCIBLEACCOUNTID }} krucible-api-key-id: ${{ secrets.KRUCIBLEAPIKEYID }} krucible-api-key-secret: ${{ secrets.KRUCIBLEAPIKEYSECRET }} - name: Run a kubectl command uses: "docker://bitnami/kubectl:1.18" id: run-kubectl with: args: 'get pods --all-namespaces'All inputs are required. API keys and the account ID can be found at https://usekrucible.com/api-keys.
The display name of the cluster in Krucible.
The length of time the cluster should persist for in hours. Must either be the string "permanent" or an integer between one and six.
The ID of the Krucible account.
The ID of the Krucible API key.
The secret of the Krucible API key.
The ID of the created Kubernetes cluster in Krucible.