From: David Garcia Date: Thu, 27 May 2021 14:17:51 +0000 (+0200) Subject: Minor fix: fail when tox not passes X-Git-Tag: release-v11.0-start~57 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=d0cb0efebf646b6ef9870ae2aacbc3915829d42a;p=osm%2Fdevops.git Minor fix: fail when tox not passes Also, add the exporters to the list of charms tested by the stage-test script Change-Id: Ibb5e4d5ff057a517386384633d6829b8b84252ce Signed-off-by: David Garcia --- diff --git a/devops-stages/stage-test.sh b/devops-stages/stage-test.sh index 51b35139..a8b7fe68 100755 --- a/devops-stages/stage-test.sh +++ b/devops-stages/stage-test.sh @@ -18,10 +18,9 @@ CURRENT_DIR=`pwd` # Execute tests for charms CHARM_PATH="./installers/charm" -CHARM_NAMES="keystone lcm mon nbi ng-ui pla pol prometheus ro grafana" +CHARM_NAMES="keystone lcm mon nbi ng-ui pla pol prometheus ro grafana mongodb-exporter mysqld-exporter kafka-exporter" for charm in $CHARM_NAMES; do cd $CHARM_PATH/$charm - OUTPUT=$(TOX_PARALLEL_NO_SPINNER=1 tox --parallel=auto) - printf "$OUTPUT\n" + TOX_PARALLEL_NO_SPINNER=1 tox --parallel=auto cd $CURRENT_DIR done \ No newline at end of file