Repository navigation
ci: install helm and kubeconform with mise - #996
Merged
Merged
Conversation
The stateless agent's pre-command hook already installs .tool-versions with mise and caches the result in GCS. Pinning helm and kubeconform there drops the per-step apt-get update, which refreshes every Ubuntu index and stalled Schema Validation for ~40 minutes in build 3158 when the Ubuntu mirrors were slow. The pinned versions match what CI installed before: helm 4.3.0 from apt and kubeconform 0.4.12. Amp-Thread-ID: https://ampcode.com/threads/T-01a1c3ec-4b75-75e0-b2e3-5a4781a461d2
michaellzc
enabled auto-merge (squash)
November 10, 2026 06:19
devdinu
approved these changes
Nov 10, 2026
5 of 6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Every Unit Tests, Schema Validation and Lint step ran
sudo apt-get updateto install helm, which refreshes every Ubuntu index on the agent. When the Ubuntu mirrors slowed down, Schema Validation in build 3158 spent about 40 minutes there, and Lint in build 3156 failed withMirror sync in progress?.The stateless agent's
pre-commandhook already runsmise installfrom.tool-versionsand caches the installed tools in GCS. This PR pins helm 4.3.0 and kubeconform 0.4.12 there, the versions CI installed before. It also deletesinstall-helm-env.shand the kubeconform download invalidate-schema.sh. The first build misses the mise cache once, because the cache key changes with.tool-versions.Checklist
Test plan
mise installfrom the new.tool-versions,helmis v4.3.0 andkubeconformis 0.4.12, both from mise's install directory.scripts/ci/helm-unittest.shpasses 253 tests across 4 charts,scripts/ci/lint.shpasses all 4 charts, andscripts/ci/validate-schema.shvalidates all 4 charts with 0 invalid resources.