Skip to content

Commit

Permalink
Bump helm/kind-action from 1.5.0 to 1.8.0 (#75)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Giovanni Toraldo <[email protected]>
  • Loading branch information
dependabot[bot] and gionn authored Aug 23, 2023
1 parent b1ea179 commit cc801aa
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
runs-on: ubuntu-latest
env:
INSTALL_NAMESPACE: alfresco
# See latest https://github.com/kubernetes-sigs/kind/releases for the latest available builds
KIND_NODE_IMAGE: kindest/node:v1.24.7@sha256:577c630ce8e509131eab1aea12c022190978dd2f745aac5eb1fe65c0807eb315
# See https://github.com/kubernetes-sigs/kind/releases for the latest available images
KIND_NODE_IMAGE: kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
TEST_ALL_CHARTS: ${{ contains(github.event.pull_request.labels.*.name, 'ci-test-all') && 'true' || 'false' }}
TEST_ALL_CHARTS_ARG: ${{ contains(github.event.pull_request.labels.*.name, 'ci-test-all') && '--all' || '' }}
steps:
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
run: ct lint --config ct-lint.yaml $TEST_ALL_CHARTS_ARG

- name: Create kind cluster
uses: helm/kind-action@v1.5.0
uses: helm/kind-action@v1.8.0
with:
node_image: ${{ env.KIND_NODE_IMAGE }}
if: steps.list-changed.outputs.changed == 'true'
Expand All @@ -77,11 +77,16 @@ jobs:
- name: Prepare charts mocks for testing
if: steps.list-changed.outputs.changed == 'true'
run: |
for C in $(ct lsc --config ct-lint.yaml); do
ITER_CMD="ct lsc --config ct-lint.yaml"
if [[ "$TEST_ALL_CHARTS" == "true" ]]; then
ITER_CMD="ls -1 charts | awk -v prefix='charts/' '{print prefix \$0}'"
fi
for C in $(eval $ITER_CMD); do
if [ -d "${C}/ci/kustomize/" ]; then
echo "Prepare mocks for ${C}"
pushd "${C}/ci/kustomize/"
kubectl kustomize --enable-helm . | \
kubectl -n "$INSTALL_NAMESPACE" apply -f -
kubectl -n "$INSTALL_NAMESPACE" apply -f -
popd
fi
done
Expand Down

0 comments on commit cc801aa

Please sign in to comment.