1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
kyverno/.github/actions/setup-test-env/action.yaml
dependabot[bot] 0438a65c0c
chore(deps): bump jlumbroso/free-disk-space (#10982)
Bumps [jlumbroso/free-disk-space](https://github.com/jlumbroso/free-disk-space) from 1.2.0 to 1.3.1.
- [Release notes](https://github.com/jlumbroso/free-disk-space/releases)
- [Commits](76866dbe54...54081f1387)

---
updated-dependencies:
- dependency-name: jlumbroso/free-disk-space
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 16:55:57 +00:00

29 lines
774 B
YAML

name: Setup test env
description: Create kind cluster, deploy kyverno, and wait pods are ready.
inputs:
version:
description: kubernetes version
default: v1.30.0
free-disk-space:
description: free disk space
default: 'false'
runs:
using: composite
steps:
- uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
if: ${{ inputs.free-disk-space == 'true' }}
with:
tool-cache: true
android: true
dotnet: true
haskell: true
large-packages: false
swap-storage: false
- shell: bash
run: |
export KIND_IMAGE=kindest/node:${{ inputs.version }}
make kind-create-cluster kind-deploy-kyverno
- uses: ./.github/actions/kyverno-wait-ready