diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 74d5a7d..43d37b2 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -10,14 +10,14 @@ jobs: chart-verifier: runs-on: ubuntu-latest env: - CHART_VERIFIER_VERSION: '1.13.0' + CHART_VERIFIER_VERSION: "1.13.7" steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Setup test tools uses: ./.github/actions/setup-test-tools - - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 + - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 with: - go-version: '1.21.3' + go-version: "1.22.5" - run: go install "github.com/redhat-certification/chart-verifier@${CHART_VERIFIER_VERSION}" - run: bats --tap --timing ./test/chart permissions: diff --git a/test/chart/_helpers.bash b/test/chart/_helpers.bash index 4d24657..ac4c23b 100644 --- a/test/chart/_helpers.bash +++ b/test/chart/_helpers.bash @@ -3,7 +3,7 @@ # chart_dir returns the directory for the chart chart_dir() { - echo ${BATS_TEST_DIRNAME}/../.. + echo ${BATS_TEST_DIRNAME}/../../charts/openbao } # check_result checks if the specified test passed diff --git a/test/chart/verifier.bats b/test/chart/verifier.bats index 2d0c336..bcbb3c3 100644 --- a/test/chart/verifier.bats +++ b/test/chart/verifier.bats @@ -6,7 +6,7 @@ setup_file() { cd `chart_dir` export VERIFY_OUTPUT="/$BATS_RUN_TMPDIR/verify.json" export CHART_VOLUME=openbao-helm-chart-src - local IMAGE="quay.io/redhat-certification/chart-verifier:1.10.1" + local IMAGE="quay.io/redhat-certification/chart-verifier:1.13.7" # chart-verifier requires an openshift version if a cluster isn't available local OPENSHIFT_VERSION="4.12" local DISABLED_TESTS="chart-testing"