From 0dd938d1be423369068f6f57fb0f2e433a90d8ea Mon Sep 17 00:00:00 2001 From: Tin Lam Date: Thu, 19 Sep 2019 16:00:50 -0500 Subject: [PATCH] Add rally environment cleanup This patch set add command to clean up a rally environment after a helm test's execution is completed. Change-Id: I652ee4930e7afb8b278250a0432086a2963a528c Signed-off-by: Tin Lam --- helm-toolkit/templates/scripts/_rally_test.sh.tpl | 1 + 1 file changed, 1 insertion(+) diff --git a/helm-toolkit/templates/scripts/_rally_test.sh.tpl b/helm-toolkit/templates/scripts/_rally_test.sh.tpl index 5c0d01c0f..6d44496d6 100644 --- a/helm-toolkit/templates/scripts/_rally_test.sh.tpl +++ b/helm-toolkit/templates/scripts/_rally_test.sh.tpl @@ -84,5 +84,6 @@ rally verify delete-verifier --id "${RALLY_ENV_NAME}-tempest" --force rally task validate /etc/rally/rally_tests.yaml rally task start /etc/rally/rally_tests.yaml rally task sla-check +rally env cleanup rally deployment destroy --deployment "${RALLY_ENV_NAME}" {{- end }}