Fix experimental charts and upgrade Helm tooling (#4687)

This commit is contained in:
Nikola Jokic
2026-09-28 15:26:36 +02:00
committed by GitHub
parent 5256d95d89
commit 230e163c77
23 changed files with 1062 additions and 114 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ on:
default: false
env:
HELM_VERSION: v3.8.0
HELM_VERSION: v4.2.2
permissions:
packages: write
+16 -2
View File
@@ -18,7 +18,8 @@ on:
workflow_dispatch:
env:
KUBE_SCORE_VERSION: 1.16.1
HELM_VERSION: v3.19.4
HELM_VERSION: v4.2.2
HELM_UNITTEST_VERSION: 1.1.2
permissions:
contents: read
@@ -105,7 +106,17 @@ jobs:
- name: Install helm-unittest
run: |
helm plugin install https://github.com/helm-unittest/helm-unittest.git
# Pin the upstream signing key independently of the release download.
curl --fail --silent --show-error --location \
https://raw.githubusercontent.com/helm-unittest/helm-unittest/33c48cac798e465deda9a66c8e6c07c0973cf53d/public-key.asc \
--output "${RUNNER_TEMP}/helm-unittest-key.asc"
gpg --batch --yes --dearmor \
--output "${RUNNER_TEMP}/helm-unittest-keyring.gpg" \
"${RUNNER_TEMP}/helm-unittest-key.asc"
helm plugin install \
"https://github.com/helm-unittest/helm-unittest/releases/download/v${HELM_UNITTEST_VERSION}/unittest-${HELM_UNITTEST_VERSION}.tgz" \
--verify \
--keyring "${RUNNER_TEMP}/helm-unittest-keyring.gpg"
- name: Run helm-unittest (gha-runner-scale-set-controller-experimental)
run: |
@@ -125,3 +136,6 @@ jobs:
- name: Test gha-runner-scale-set-controller
run: go test ./charts/gha-runner-scale-set-controller/...
- name: Test gha-runner-scale-set-experimental
run: go test ./charts/gha-runner-scale-set-experimental/...
+9
View File
@@ -5,16 +5,21 @@ on:
- master
paths:
- ".github/workflows/go.yaml"
- "charts/gha-runner-scale-set*/**"
- "**.go"
- "go.mod"
- "go.sum"
pull_request:
paths:
- ".github/workflows/go.yaml"
- "charts/gha-runner-scale-set*/**"
- "**.go"
- "go.mod"
- "go.sum"
env:
HELM_VERSION: v4.2.2
permissions:
contents: read
@@ -86,6 +91,10 @@ jobs:
- uses: actions/setup-go@v7
with:
go-version-file: "go.mod"
- name: Set up Helm
uses: azure/setup-helm@9bc31f4ebc9c6b171d7bfbaa5d006ae7abdb4310
with:
version: ${{ env.HELM_VERSION }}
- run: make manifests
- name: Check diff
run: git diff --exit-code