Switch the spire tests to always run (#250)
This patch sets the spire chart tests to always run. This enables changes in tests to be tested and sets a base for split out charts. --------- Signed-off-by: Kevin Fox <[email protected]>
This commit is contained in:
@@ -92,14 +92,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
version: ${{ env.CHART_TESTING_VERSION }}
|
version: ${{ env.CHART_TESTING_VERSION }}
|
||||||
|
|
||||||
- name: Run chart-testing (list-changed)
|
|
||||||
id: list-changed
|
|
||||||
run: |
|
|
||||||
changed=$(ct list-changed --target-branch ${{ github.base_ref }})
|
|
||||||
if [[ -n "$changed" ]]; then
|
|
||||||
echo "changed=true" >> $GITHUB_OUTPUT
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Run chart-testing (lint)
|
- name: Run chart-testing (lint)
|
||||||
run: |
|
run: |
|
||||||
ct lint --debug ${{ github.base_ref != 'release' && '--check-version-increment=false' || '' }} \
|
ct lint --debug ${{ github.base_ref != 'release' && '--check-version-increment=false' || '' }} \
|
||||||
@@ -114,8 +106,6 @@ jobs:
|
|||||||
|
|
||||||
needs: [lint-chart]
|
needs: [lint-chart]
|
||||||
|
|
||||||
if: needs.lint-chart.outputs.changed == 'true'
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/[email protected]
|
uses: actions/[email protected]
|
||||||
@@ -137,8 +127,6 @@ jobs:
|
|||||||
- lint-chart
|
- lint-chart
|
||||||
- build-matrix
|
- build-matrix
|
||||||
|
|
||||||
if: needs.lint-chart.outputs.changed == 'true'
|
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@@ -209,6 +197,7 @@ jobs:
|
|||||||
"${TEST_DIR}/install.sh"
|
"${TEST_DIR}/install.sh"
|
||||||
else
|
else
|
||||||
ct install --debug \
|
ct install --debug \
|
||||||
|
--charts "charts/spire" \
|
||||||
--namespace "${scenario}" \
|
--namespace "${scenario}" \
|
||||||
--target-branch ${{ github.base_ref }} \
|
--target-branch ${{ github.base_ref }} \
|
||||||
--exclude-deprecated \
|
--exclude-deprecated \
|
||||||
|
|||||||
Reference in New Issue
Block a user