summaryrefslogtreecommitdiff
path: root/devstack/plugin.sh
diff options
context:
space:
mode:
authorIlya Shakhat <shakhat@gmail.com>2018-09-14 12:00:08 +0200
committerIlya Shakhat <shakhat@gmail.com>2018-09-17 18:02:30 +0200
commit175cfeef5c98e67299842d5ff3e36ed5e1978c4b (patch)
tree6d4e4518ba15a14ee47ba72ed8efe0ae3ae06367 /devstack/plugin.sh
parent2b4786b5cc819c5d321d97e3cf9e1d5f24ebdb97 (diff)
downloadosprofiler-175cfeef5c98e67299842d5ff3e36ed5e1978c4b.tar.gz
Add a job to run full Tempest with enabled profiler
Default Tempest jobs only execute tests, but do not configure osprofiler library. This patch adds a job that executes full Tempest with enabled osprofiler. Currently the job is non-voting. Depends-on: I64f30c36adbf7fb26609142f22d3e305ac9e82b5 Change-Id: Ib0ad4d22b62dba7cfea76283be2d87574f010c87
Diffstat (limited to 'devstack/plugin.sh')
-rw-r--r--devstack/plugin.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/devstack/plugin.sh b/devstack/plugin.sh
index b2b6b6d..199d138 100644
--- a/devstack/plugin.sh
+++ b/devstack/plugin.sh
@@ -14,6 +14,11 @@ if [[ "$1" == "stack" && "$2" == "pre-install" ]]; then
elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
echo_summary "Configuring OSProfiler"
configure_osprofiler
+
+elif [[ "$1" == "stack" && "$2" == "test-config" ]]; then
+ echo_summary "Configuring Tempest"
+ configure_osprofiler_in_tempest
+
fi
# Restore xtrace