Different fixes added/backported
List of changes:
* fixed path of automated reports to /artifacts/reports/
* fixed toolset full and min dockerfiles
* fixed typo in rally mos dry-run json
* added copying spt reports
Related-PROD: PROD-37187
Change-Id: I80d9eaa359aa9bb60c3a4a8c51f0d2494e4d36d4
diff --git a/k8s/workspace/run-openstack-spt.sh b/k8s/workspace/run-openstack-spt.sh
index 13287aa..13a0e2b 100644
--- a/k8s/workspace/run-openstack-spt.sh
+++ b/k8s/workspace/run-openstack-spt.sh
@@ -25,3 +25,8 @@
echo "# Public network not set: TEMPEST_CUSTOM_PUBLIC_NET=${TEMPEST_CUSTOM_PUBLIC_NET}"
exit 1
fi
+
+echo "# Copying SPT HTML test report"
+mkdir -p /artifacts/reports/mos-spt
+kubectl exec toolset --stdin --tty -n qa-space -- bash -c "mkdir -p /opt/mos-spt/html_reports && cp /opt/mos-spt/*.html /opt/mos-spt/html_reports"
+kubectl cp qa-space/toolset:/opt/mos-spt/html_reports/ /artifacts/reports/mos-spt/
\ No newline at end of file