This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2022-07-27 11:15:03 +02:00
parent d2443fedc0
commit f5d7891eff
No known key found for this signature in database
GPG key ID: BC5E2BD907F9A8EC
2 changed files with 59 additions and 50 deletions

View file

@ -6,9 +6,6 @@ on:
checkoutCommit:
required: true
type: string
chartChangesDetected:
required: true
type: string
chartChanges:
required: true
type: string
@ -37,19 +34,6 @@ jobs:
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.2.1
# - name: Collect changes
# id: list-changed
# if: inputs.chartChangesDetected == 'true'
# run: |
# EXCLUDED=$(yq eval -o=json '.excluded-charts // []' .ci/ct/ct-lint.yaml)
# CHARTS=$(ct list-changed --config .ci/ct/ct-lint.yaml)
# CHARTS_JSON=$(echo "${CHARTS}" | jq -R -s -c 'split("\n")[:-1]')
# OUTPUT_JSON=$(echo "{\"excluded\": ${EXCLUDED}, \"all\": ${CHARTS_JSON}}" | jq -c '.all-.excluded')
# echo ::set-output name=charts::${OUTPUT_JSON}
# if [[ $(echo ${OUTPUT_JSON} | jq -c '. | length') -gt 0 ]]; then
# echo "::set-output name=detected::true"
# fi
- name: Run chart-testing (lint)
id: lint
if: inputs.chartChanges != ''