Skip to content

Commit 21e6146

Browse files
ci(build): install helm-unittest plugin on ephemeral build runners
The ephemeral oracle-vm image doesn't carry the helm unittest plugin that the persistent self-hosted runner had installed, so 'make unit-tests' fails immediately with 'unknown command "unittest" for "helm"'. Install it if absent before the test step (idempotent; the debug/self-hosted path already has it). Stopgap only -- the durable fix is a container-based builder (separate PR) that bakes the full toolchain into an image rather than depending on host-accreted tools. Part of #2937. Assisted-By: Claude <[email protected]> Signed-off-by: Myasnikov Daniil <[email protected]>
1 parent ebc3117 commit 21e6146

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎.github/workflows/pull-requests.yaml‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,16 @@ jobs:
5757
fetch-depth: 0
5858
fetch-tags: true
5959

60+
# Ephemeral runners don't carry the helm unittest plugin that the
61+
# persistent self-hosted runner accreted. Install it if absent
62+
# (idempotent; the debug/self-hosted path already has it). The durable
63+
# fix is the container-based builder (separate PR) that bakes the full
64+
# toolchain into an image instead of depending on the host.
65+
- name: Set up build toolchain
66+
run: |
67+
helm plugin list 2>/dev/null | grep -q unittest \
68+
|| helm plugin install https://github.com/helm-unittest/helm-unittest
69+
6070
- name: Run unit tests
6171
run: make unit-tests
6272

0 commit comments

Comments
 (0)