Skip to content

Commit 19097a7

Browse files
authored
Merge pull request #360 from oracle/test-inttest-with-1-1
integration tests with helm charts
2 parents c6f780f + a679215 commit 19097a7

File tree

2 files changed

+224
-57
lines changed

2 files changed

+224
-57
lines changed

src/integration-tests/bash/cleanup.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,12 @@ echo "@@ RESULT_ROOT=$RESULT_ROOT TMP_DIR=$TMP_DIR RESULT_DIR=$RESULT_DIR PROJEC
437437

438438
mkdir -p $TMP_DIR || fail No permision to create directory $TMP_DIR
439439

440+
# if helm is installed, delete all installed helm charts
441+
if [ -x "$(command -v helm)" ]; then
442+
echo @@ Deleting installed helm charts
443+
helm list --short | xargs -L1 helm delete --purge
444+
fi
445+
440446
# first, try to delete with labels since the conversion is that all created resources need to
441447
# have the proper label(s)
442448
echo @@ Starting deleteWithLabels

0 commit comments

Comments
 (0)