blob: fab3edc77605fe785501a6ae908d68f2729e2c91 [file] [log] [blame]
Alexa0053b92022-10-14 16:38:28 -05001#!/bin/bash
2tenv=mcc
3. /opt/si-tests/.sivenv/bin/activate
4cd $MY_PROJFOLDER/tmp
5. $MY_PROJFOLDER/${tenv}rc
6. $MY_PROJFOLDER/target-${tenv}
7pytest /opt/si-tests/si_tests/tests/deployment/test_k8s_conformance.py
8unset TARGET_CLUSTER
9unset TARGET_NAMESPACE
10deactivate
11# report
12if [ -d $MY_PROJFOLDER/reports/${tenv}-conformance ]; then
13 echo "# Generating repors"
14 yes | rm $MY_PROJFOLDER/reports/${tenv}-conformance/*
15else
16 mkdir $MY_PROJFOLDER/reports/${tenv}-conformance
17fi
18cp ./artifacts/*.xml $MY_PROJFOLDER/reports/${tenv}-conformance/
19cd $MY_PROJFOLDER/reports/
20tparser -f r_xml --omit-status SKIP --force-single -d -r $MY_CLIENTSHORTNAME-${tenv}-conformance-latest.html $MY_PROJFOLDER/reports/${tenv}-conformance/
21cd $MY_PROJFOLDER