fix(ci): fetch clustertool for charts ci

This commit is contained in:
Kjeld Schouten
2025-04-07 22:04:37 +02:00
parent 973258b6bc
commit 3a391df091
+18 -1
View File
@@ -57,6 +57,23 @@ jobs:
with:
version: v3.14.0
- name: Install ./clustertool
shell: bash
run: |
VERSION="2.0.0-BETA-4"
FILENAME="clustertool_${VERSION}_linux_amd64.tar.gz"
URL="https://github.com/truecharts/public/releases/download/v${VERSION}/${FILENAME}"
mkdir -p temp
cd temp
# Download the archive
curl -L -o "$FILENAME" "$URL"
# Extract the archive
tar -xzf "$FILENAME"
cd ..
- name: Prep Helm
if: inputs.chartChangesDetected == 'true'
run: |
@@ -105,7 +122,7 @@ jobs:
charts_path: "./"
run: |
CHANGED=$(echo '${{ steps.list-changed.outputs.CHANGED_CHARTS }}' | jq --raw-output '.[]')
./clustertool-bin deps ${CHANGED}
./temp/clustertool-bin deps ${CHANGED}
- name: Run Chart Linting
continue-on-error: true