GitHub Action to install the kubeasy CLI and set up a Kind cluster with infrastructure (Kyverno + local-path-provisioner) for Kubeasy challenges.
- uses: kubeasy-dev/setup-kubeasy@v1
with:
api-key: ${{ secrets.KUBEASY_API_KEY }}| Input | Required | Default | Description |
|---|---|---|---|
version |
No | latest |
Version of kubeasy CLI to install (e.g. v2.5.2) |
api-key |
Yes | Kubeasy API key for authentication |
| Output | Description |
|---|---|
version |
Installed kubeasy CLI version |
- Installs the kubeasy CLI (latest or pinned version)
- Sets the
KUBEASY_API_KEYenvironment variable - Runs
kubeasy setupto create a Kind cluster and install infrastructure
name: Test Challenge
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: kubeasy-dev/setup-kubeasy@v1
with:
api-key: ${{ secrets.KUBEASY_API_KEY }}
- name: Start challenge
run: kubeasy challenge start pod-evicted
- name: Submit solution
run: kubeasy challenge submit pod-evictedSee LICENSE file for details.