Skip to content

Commit

Permalink
helm UT
Browse files Browse the repository at this point in the history
  • Loading branch information
ebeaty-cisco committed May 10, 2024
1 parent 112e0ac commit c8e4727
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions scripts/commit-check-new
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ set -e

# trap cleanup EXIT

# @@@ Needed
# shellcheck
# helm-sa
# helm ut


#=====================================================
# Run checks
Expand All @@ -45,6 +40,15 @@ ct lint --config .github/config/ct.yml --target-branch $DEFAULT_BRANCH
# chart-testing (check-version-increment)
ct lint --config .github/config/ct-version-increment.yml --target-branch $DEFAULT_BRANCH

# Build container for UT
docker build tests/ -t helm-tests

# Control Plane unit tests
docker run -v "$PWD/:/charts" helm-tests bats tests/ut/xrd-control-plane

# vRouter unit tests
docker run -v "$PWD/:/charts" helm-tests bats tests/ut/xrd-vrouter


# echo
# echo "Running shellcheck..."
Expand Down

0 comments on commit c8e4727

Please sign in to comment.