3 export PYTHONPATH="${PYTHONPATH}:./reporting"
4 export CONFIG_REPORTING_YAML=./reporting/reporting.yaml
6 declare -a versions=(euphrates danube master)
7 declare -a projects=(functest storperf yardstick qtip vsperf bottlenecks)
12 # create Directories if needed
13 for i in "${versions[@]}"
15 for j in "${projects[@]}"
17 mkdir -p display/$i/$j
21 # copy images, js, css, 3rd_party
22 cp -Rf 3rd_party display
28 # if nothing is precised run all the reporting generation
31 # functest | status, vims, tempest
37 function report_project()
42 echo "********************************"
43 echo " $project reporting "
44 echo "********************************"
45 python ./reporting/$dir/reporting-$type.py
47 echo "$project reporting $type...OK"
49 echo "$project reporting $type...KO"
54 echo "********************************"
55 echo " * Static status reporting *"
56 echo "********************************"
57 for i in "${projects[@]}"
59 report_project $i $i "status"
62 report_project "QTIP" "qtip" "status"
65 echo "Functest reporting vIMS..."
66 report_project "functest" "functest" "vims"
67 echo "reporting vIMS...OK"
69 echo "Functest reporting Tempest..."
70 report_project "functest" "functest" "tempest"
71 echo "reporting Tempest...OK"
76 reporting_type="status"
78 report_project $project $project $reporting_type