3 export PYTHONPATH="${PYTHONPATH}:./reporting"
4 export CONFIG_REPORTING_YAML=./reporting/reporting.yaml
6 declare -a versions=(danube master)
7 declare -a projects=(functest storperf yardstick qtip)
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
36 function report_project()
41 echo "********************************"
42 echo " $project reporting "
43 echo "********************************"
44 python ./reporting/$dir/reporting-$type.py
46 echo "$project reporting $type...OK"
48 echo "$project reporting $type...KO"
53 echo "********************************"
54 echo " * Static status reporting *"
55 echo "********************************"
56 for i in "${projects[@]}"
58 report_project $i $i "status"
61 report_project "QTIP" "qtip" "status"
64 echo "Functest reporting vIMS..."
65 report_project "functest" "functest" "vims"
66 echo "reporting vIMS...OK"
68 echo "Functest reporting Tempest..."
69 report_project "functest" "functest" "tempest"
70 echo "reporting Tempest...OK"
75 reporting_type="status"
77 report_project $project $project $reporting_type