mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-03 16:37:04 +02:00
ci: 🧠
This commit is contained in:
parent
d2443fedc0
commit
f5d7891eff
2 changed files with 59 additions and 50 deletions
16
.github/workflows/charts-lint.yaml
vendored
16
.github/workflows/charts-lint.yaml
vendored
|
@ -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 != ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue