executes the robot test/suite using the given mode in (--path) with -o result-dir/result-file
reads the XML result file from result-dir/result-file
adds the checkMK section header, adds an optional piggyback header to assign the result to another host
saves the XML into cmk-spooldir/result-file
deletes result-dir/result-file
Intentionally there will be no conversion to another format (JSON etc.) to be on server side still compatible with other tools which take the XML as the input source. (See also #10 )
The result filename will be unique by adding --timestampoutputs to the robot args.
Arguments:
--path: Path to the robot suite dir/test file
--pull: do a git pull before calling the test
--piggybackhost: Hostname the result should be assigned on
--result-dir (opt): temporary dir where robot will save the XML results
--result-filename (opt): name of the result file in result-dir
--cmk-spooldir: CMK agent spool directory
--mode: how to start the robot test
local
docker: start a local robot container in Docker/Swarm (spool dir must be mounted)
This wrapper
--path
) with-o result-dir/result-file
result-dir/result-file
piggyback
header to assign the result to another hostcmk-spooldir/result-file
result-dir/result-file
Intentionally there will be no conversion to another format (JSON etc.) to be on server side still compatible with other tools which take the XML as the input source. (See also #10 )
The result filename will be unique by adding
--timestampoutputs
to the robot args.Arguments:
--path
: Path to the robot suite dir/test file--pull
: do agit pull
before calling the test--piggybackhost
: Hostname the result should be assigned on--result-dir
(opt): temporary dir where robot will save the XML results--result-filename
(opt): name of the result file inresult-dir
--cmk-spooldir
: CMK agent spool directory--mode
: how to start the robot testlocal
docker
: start a local robot container in Docker/Swarm (spool dir must be mounted)k8s
: start a robot container in k8s/OpenShiftTODO: