jjb: lltng-modules: fix ceiling for stable-2.10 vanilla jobs
[lttng-ci.git] / scripts / system-tests / summarize-results.sh
CommitLineData
b87dc589
FD
1#!/bin/bash -xeu
2# Copyright (C) 2017 - Francis Deslauriers <francis.deslauriers@efficios.com>
3#
4# This program is free software: you can redistribute it and/or modify
5# it under the terms of the GNU General Public License as published by
6# the Free Software Foundation, either version 3 of the License, or
7# (at your option) any later version.
8#
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13#
14# You should have received a copy of the GNU General Public License
15# along with this program. If not, see <http://www.gnu.org/licenses/>.
16
17$SCP_COMMAND -r "$STORAGE_USER@$STORAGE_HOST:$BASE_STORAGE_FOLDER/benchmark-results/$JOB_NAME/" ./plot-data/
18
19PYTHON3="python3"
20
21PYENV_HOME=$WORKSPACE/.pyenv/
22
23# Delete previously built virtualenv
24if [ -d "$PYENV_HOME" ]; then
25 rm -rf "$PYENV_HOME"
26fi
27
28# Create virtualenv and install necessary packages
29virtualenv -p $PYTHON3 "$PYENV_HOME"
30
31set +ux
32. "$PYENV_HOME/bin/activate"
33set -ux
34
35pip install pandas
36pip install matplotlib
37
5b7428b1 38python3 "$LTTNG_CI_PATH"/scripts/system-tests/generate-plots.py ./plot-data/
This page took 0.026787 seconds and 4 git commands to generate.