mirror of
https://github.com/mulgadc/spinifex.git
synced 2026-10-19 10:52:04 +00:00
fix: scope golangci-lint cache per worktree, correct eks-node-gpu catalog description (#629)
* fix: scope golangci-lint cache per worktree golangci-lint's default cache under ~/.cache/golangci-lint is keyed by module path rather than worktree path, so parallel worktrees of this module collide and surface each other's lint issues, including from worktrees that have since been deleted. * fix: correct eks-node-gpu catalog description to match agent-only image The GPU node image never installs eks-token-webhook or a server/agent role selector, per scripts/images/eks-node-gpu/manifest.conf; it ships ecr-credential-provider only and is agent-only because GPU nodes never run the EKS control plane.
This commit is contained in:
@@ -37,3 +37,6 @@ Thumbs.db
|
||||
|
||||
# Test reports
|
||||
*-report.txt
|
||||
|
||||
# Per-worktree golangci-lint cache
|
||||
/.cache/
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
GO_PROJECT_NAME := spx
|
||||
SHELL := /bin/bash
|
||||
|
||||
# golangci-lint's default cache (~/.cache/golangci-lint) is keyed by module
|
||||
# path, not worktree path, so parallel worktrees of this module collide and
|
||||
# surface each other's issues. Scope it per worktree.
|
||||
export GOLANGCI_LINT_CACHE := $(CURDIR)/.cache/golangci-lint
|
||||
|
||||
# Detect architecture for cross-platform support
|
||||
ARCH := $(shell uname -m)
|
||||
ifeq ($(ARCH),x86_64)
|
||||
|
||||
@@ -440,7 +440,7 @@ var AvailableImages = map[string]Images{
|
||||
// tags — CreateNodegroup selects it for GPU instance types instead of the Alpine AMI.
|
||||
"spinifex-eks-node-gpu": {
|
||||
Name: "spinifex-eks-node-gpu",
|
||||
Description: "Mulga EKS GPU node image — Ubuntu 26.04 + NVIDIA driver + K3s v1.32.5 + eks-token-webhook (server|agent role selected at first boot)",
|
||||
Description: "Mulga EKS GPU node image — Ubuntu 26.04 + NVIDIA driver + K3s v1.32.5, agent-only (GPU nodes never run the EKS control plane, so no role selector or eks-token-webhook)",
|
||||
Distro: "ubuntu",
|
||||
Version: "26.04",
|
||||
Arch: "x86_64",
|
||||
|
||||
Reference in New Issue
Block a user