Closed darrenarmstrong85 closed 7 years ago
Evidence:
$ sudo docker run -i -t ubuntu-kdb-qspec
root@03bf33ea552c:/# qspc
bash: qspc: command not found
root@03bf33ea552c:/# qspec
KDB+ 3.4 2017.02.11 Copyright (C) 1993-2017 Kx Systems
l32/ 1()core 1982MB root 03bf33ea552c 172.17.0.3 NONEXPIRE
error: Insufficient arguments
usage: q /qlibs/lib/qspec/app/spec.q .tst.app.args... [ --desc | --describe .tst.app.describeOnly ] [ --xunit .tst.app.xmlOutput ] [ --junit .tst.app.xmlOutput ] [ --perf | --performance .tst.app.runPerformance ] [ --pass .tst.app.passOnly ] [ --noquit .tst.app.exit ] [ --ff | --fail-fast .tst.app.failFast ] [ --fh | --fail-hard .tst.app.failHard ] [ --exclude .tst.app.excludeSpecs ] [ --only .tst.app.runSpecs ] [ --fuzz-display-limt | --fdl .tst.output.fuzzLimit ]
--desc,--describe .tst.app.describeOnly - Enable Flag
--xunit .tst.app.xmlOutput - Enable Flag
--junit .tst.app.xmlOutput - Enable Flag
--perf,--performance .tst.app.runPerformance - Enable Flag
--pass .tst.app.passOnly - Enable Flag
--noquit .tst.app.exit - Disable Flag
--ff,--fail-fast .tst.app.failFast - Enable Flag
--fh,--fail-hard .tst.app.failHard - Enable Flag
--exclude .tst.app.excludeSpecs - "String Literal"
--only .tst.app.runSpecs - "String Literal"
--fuzz-display-limt,--fdl .tst.output.fuzzLimit - INT
root@03bf33ea552c:/#
All CI solutions investigated so far (See #4) seem to involve the creation of a docker container in order to bootstrap the test process.
So it is worth investigating how to do this now.
Plan
Create a docker image containing the q binary to be used and qspec dependencies
Done
Can run qspec tests within docker container.