fix chart verifier tests
Signed-off-by: Jan Martens <jan@martens.eu.org>
This commit is contained in:
parent
5d545983bf
commit
5fba05f8f8
3 changed files with 5 additions and 5 deletions
6
.github/workflows/tests.yaml
vendored
6
.github/workflows/tests.yaml
vendored
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue