fix(ci): fetch clustertool for charts ci
This commit is contained in:
@@ -57,6 +57,23 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
version: v3.14.0
|
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
|
- name: Prep Helm
|
||||||
if: inputs.chartChangesDetected == 'true'
|
if: inputs.chartChangesDetected == 'true'
|
||||||
run: |
|
run: |
|
||||||
@@ -105,7 +122,7 @@ jobs:
|
|||||||
charts_path: "./"
|
charts_path: "./"
|
||||||
run: |
|
run: |
|
||||||
CHANGED=$(echo '${{ steps.list-changed.outputs.CHANGED_CHARTS }}' | jq --raw-output '.[]')
|
CHANGED=$(echo '${{ steps.list-changed.outputs.CHANGED_CHARTS }}' | jq --raw-output '.[]')
|
||||||
./clustertool-bin deps ${CHANGED}
|
./temp/clustertool-bin deps ${CHANGED}
|
||||||
|
|
||||||
- name: Run Chart Linting
|
- name: Run Chart Linting
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|||||||
Reference in New Issue
Block a user