Skip to content

Conversation

jacobweinstock
Copy link
Member

@jacobweinstock jacobweinstock commented Aug 14, 2025

Description

This gets the version population working. Additionally, removes a lot of unused code and simplifies other parts.

Why is this needed

Fixes: #

How Has This Been Tested?

How are existing users impacted? What migration steps/scripts do we need?

Checklist:

I have:

  • updated the documentation and/or roadmap (if required)
  • added unit or e2e tests
  • provided instructions on how to upgrade

The previous way pulled in an unneeded dependency
and didn't even work.

Signed-off-by: Jacob Weinstock <[email protected]>
Remove unused goals/targets and associated
files and directories.

Signed-off-by: Jacob Weinstock <[email protected]>
Signed-off-by: Jacob Weinstock <[email protected]>
Neither of these are used or needed.

Signed-off-by: Jacob Weinstock <[email protected]>
@jacobweinstock jacobweinstock changed the title Clean up Get version working; Code clean up Aug 14, 2025
@jacobweinstock jacobweinstock requested a review from Copilot August 14, 2025 17:45
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements version information functionality and performs code cleanup by removing unused scripts and dependencies. The main goals are to get version population working with a custom build package and simplify the build process by removing complex versioning scripts.

  • Implements custom version handling using Go module pseudo-version parsing
  • Removes numerous unused build scripts and boilerplate checking tools
  • Updates dependencies by removing unused imports and tools
  • Simplifies the build system by removing complex LDFLAGS generation

Reviewed Changes

Copilot reviewed 31 out of 34 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
pkg/build/build.go New package implementing pseudo-version parsing for Git revision information
pkg/build/build_test.go Comprehensive test suite for the new build package functionality
main.go Updates version logging to use new build.GitRevision() instead of k8s component-base
tools.go Removes unused tool dependencies (ginkgo, kustomize)
go.mod Removes dependencies no longer needed after tool cleanup
Makefile Simplifies build process by removing complex versioning and unused tool management
templates/cluster-template.yaml Updates kube-vip container version from v0.6.4 to v0.9.2
Multiple hack/ files Removes unused build scripts, boilerplate checking, and related tooling
.github/workflows/ Updates CI/CD to use simplified build process without custom LDFLAGS

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@jacobweinstock jacobweinstock added the ready-to-merge Signal to Mergify to merge the PR. label Aug 14, 2025
@mergify mergify bot merged commit a9b1c16 into tinkerbell:main Aug 14, 2025
12 checks passed
@jacobweinstock jacobweinstock deleted the clean-ups branch August 14, 2025 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge Signal to Mergify to merge the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant