4 export PYTHONPATH="${PYTHONPATH}:."
5 export CONFIG_REPORTING_YAML=./reporting.yaml
7 declare -a versions=(colorado master)
8 declare -a projects=(functest yardstick)
13 # create Directories if needed
14 for i in "${versions[@]}"
16 for j in "${projects[@]}"
18 mkdir -p display/$i/$j
22 # copy images, js, css, 3rd_party
23 cp -Rf 3rd_party display
29 # if nothing is precised run all the reporting generation
32 # functest | status, vims, tempest
36 echo "********************************"
37 echo " Functest reporting "
38 echo "********************************"
39 echo "reporting vIMS..."
40 python ./functest/reporting-vims.py
41 echo "reporting vIMS...OK"
43 echo "reporting Tempest..."
44 python ./functest/reporting-tempest.py
45 echo "reporting Tempest...OK"
47 echo "reporting status..."
48 python ./functest/reporting-status.py
49 echo "Functest reporting status...OK"
51 echo "********************************"
52 echo " Yardstick reporting "
53 echo "********************************"
54 python ./yardstick/reporting-status.py
55 echo "Yardstick reporting status...OK"
58 reporting_type="status"
60 echo "********************************"
61 echo " $project/$reporting_type reporting "
62 echo "********************************"
63 python ./$project/reporting-$reporting_type.py