Merge "Tempest: add option to execute cleanup always"

This commit is contained in:
Zuul 2018-08-29 22:12:17 +00:00 committed by Gerrit Code Review
commit 1985da999e
2 changed files with 6 additions and 0 deletions

View File

@ -20,6 +20,10 @@ set -ex
tempest cleanup --init-saved-state
if [ "true" == "{{- .Values.conf.cleanup.force -}}" ]; then
trap "tempest cleanup; exit" 1 ERR
fi
{{ .Values.conf.script }}
tempest cleanup

View File

@ -198,6 +198,8 @@ conf:
volume-feature-enabled:
api_v1: False
api_v3: True
cleanup:
force: false
pvc:
enabled: true