Releases: engineerd/setup-kind
Fix release installable in GitHub Actions
v0.6.2 Merge pull request #256 from RoadRunnr/fix/json5
Update default KinD version to v0.24.0
This is a maintenance release that updates the default KinD version to v0.24.0, and bumps all Node.js dependencies used.
Fix path deprecation in Actions environment
As described in #28 and in the GitHub deprecation notice, the implementation of core.addPath
used by this action will no longer be supported.
This release updates the @actions
, and specifically the @actions/core
package to version 1.2.6
, which contains an updated implementation for addPath
.
Users will have to manually update to this version (v0.5.0) in order for the actions to keep working after the GitHub deprecation.
Update @actions/toolkit core packages to mitigate bug in moving Kind
This release addresses #21, which reported errors in moving the Kind binary from the temporary download directory in the /home/runner/bin
directory, issue likely caused by the two directories no longer being mounted on the same filesystem:
EXDEV: cross-device link not permitted, rename '/home/runner/work/_temp/174cfcc2-60fa-4457-beaa-ccc15123e9e8' -> '/home/runner/bin/kind'
EXDEV oldpath and newpath are not on the same mounted filesystem.
(Linux permits a filesystem to be mounted at multiple points,
but rename() does not work across different mount points, even
if the same filesystem is mounted on both.)
Updating the @actions/toolkit
packages mitigated the issue, and now the kind
binary is moved under a default location, and depending on the version, the binary can be found in:
/opt/hostedtoolcache/kind/0.7.0/x64/kind
Thanks to @ryanzhang-oss for reporting the issue.
Update Kind to v0.7.0
This release updates the default Kind version to v0.7.0
name: "Create cluster using KinD"
on: [pull_request, push]
jobs:
kind:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: engineerd/setup-kind@v0.3.0
- name: Testing
run: |
kubectl cluster-info
kubectl get pods -n kube-system
Update Kind to v0.6.1
This release updates Kind to the latest version, v0.6.1.
The biggest update is that you no longer have to manually export the KUBECOFIG
environment variable after creating the cluster, since the context is automatically merged.
name: "Create cluster using Kind"
on: [pull_request, push]
jobs:
kind:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: engineerd/setup-kind@v0.2.0
- name: Testing
run: |
kubectl cluster-info
kubectl get pods -n kube-system
Big shoutout to the Kind team!
Kubernetes in Docker 🎉
Run a Kubernetes cluster in your GitHub Action:
jobs:
kind:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: engineerd/setup-kind@v0.1.0
- name: Testing
run: |
export KUBECONFIG="$(kind get kubeconfig-path)"
kubectl cluster-info
kubectl get pods -n kube-system