Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Optimize tooling of kind #46

Merged
merged 1 commit into from
Aug 9, 2022
Merged

Optimize tooling of kind #46

merged 1 commit into from
Aug 9, 2022

Conversation

ccremer
Copy link
Contributor

@ccremer ccremer commented Aug 8, 2022

Summary

  • Changes the default artifact directory to .work instead of .kind
  • Instead of having the kind binary managed in go.mod, we'll use go install instead. go install doesn't required a go.mod, go.sum or tools.go, as opposed to go build or go run. This removes a bunch of boilerplate files.
  • Instead of having a fixed version to install, we'll install latest. This should eliminate some Renovate noise, I've rarely seen issues with kind that can be blamed to a certain version. If there is still a version pin required, we can easily do so.
  • We'll install the binaries to a local work dir .work/bin by setting our own $GOBIN instead of installing in the user's home dir (usually ~/go/bin), as there are concerns of conflicting versions and binaries used by other projects.

Checklist

  • Categorize the PR by setting a good title and adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog

@ccremer ccremer added the change label Aug 8, 2022
@ccremer ccremer merged commit 033a447 into master Aug 9, 2022
@ccremer ccremer deleted the tooling branch August 9, 2022 09:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant