Skip to content

ci: pin+ensure KinD version is up-to-date #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 9, 2025

Conversation

tarilabs
Copy link
Member

No description provided.

tarilabs added 3 commits May 28, 2025 13:59
Signed-off-by: tarilabs <[email protected]>
This reverts commit 4ad931d.

Signed-off-by: tarilabs <[email protected]>
@tarilabs
Copy link
Member Author

without specifying version it defaults to a not-latest KinD,

Run helm/kind-action@v1
  with:
    install_only: true
    version: v0.[2](https://github.com/containers/olot/actions/runs/15299589386/job/43036619298#step:7:2)6.0
    cluster_name: chart-testing
    wait: 60s
    verbosity: 0
    kubectl_version: v1.[3](https://github.com/containers/olot/actions/runs/15299589386/job/43036619298#step:7:3)1.4
    registry: false
    registry_image: registry:2
    registry_name: kind-registry
    registry_port: 5000
    registry_enable_delete: false
    ignore_failed_clean: false
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.9.22/x6[4](https://github.com/containers/olot/actions/runs/15299589386/job/43036619298#step:7:4)
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.9.22/x64/lib/pkgconfig
    Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.22/x64
    Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.22/x64
    Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.22/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.9.22/x64/lib
Installing kind...
/opt/hostedtoolcache/kind/v0.26.0/amd64/kind/bin ~/work/olot/olot
kind-linux-amd64: OK
~/work/olot/olot
Adding kind directory to PATH...
Installing kubectl...
Adding kubectl directory to PATH...
kind v0.26.0 go1.23.4 linux/amd64
Client Version: v1.31.4
Kustomize Version: v[5](https://github.com/containers/olot/actions/runs/15299589386/job/43036619298#step:7:5).4.2

so we need to pin the version to the helm/kind-action for the latest install.

@tarilabs
Copy link
Member Author

tarilabs commented Jun 9, 2025

make available "installed" the latest K8s version in KinD, demostrated in the output from the e2e tests:

  "serverVersion": {
    "major": "1",
    "minor": "33",
    "gitVersion": "v1.33.1",
    "gitCommit": "8adc0f041b8e7ad1d30e29cc59c6ae7a15e19828",
    "gitTreeState": "clean",
    "buildDate": "2025-05-15T08:19:08Z",
    "goVersion": "go1.24.2",
    "compiler": "gc",
    "platform": "linux/amd64"
  }
}

@tarilabs tarilabs merged commit c7832af into containers:main Jun 9, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant