]> git.ipfire.org Git - thirdparty/asterisk.git/commit
CI: Pass work directory to runTestsuite
authorGeorge Joseph <gjoseph@digium.com>
Sat, 17 Nov 2018 19:07:32 +0000 (12:07 -0700)
committerGeorge Joseph <gjoseph@digium.com>
Sat, 17 Nov 2018 22:05:24 +0000 (17:05 -0500)
commit0552bc2a94c1b44bfb1f4ad5b664d5f6c81da071
treee74d5efd1e48ad42b580f81902aebbdf14b54816
parent0ba1993887f9e544b776bc19d27e9859af997d48
CI:  Pass work directory to runTestsuite

The testsuite can now use a user-specified work directory for
all it's temp files.  This allows the docker containers to use
a tmpfs backed directory for the temp files instead of it's
own write-layer image.

* runTestsuite.sh now accepts a --work-dir command line argument
  that gets exported as AST_WORK_DIR before running the testsuite.

* gates.jenkinsfile now specifies --work-dir to be
  <testsuite_dir>/astroot.

Since the Asterisk CI docker hosts now mount /srv/jenkins/workspace
on a tmpfs, asterisk should be compiled and the testsuite run all in
memory.

Change-Id: If5ee905a15821296c355bb84cda38950ad8edc45
(cherry picked from commit a335f4c9adb0a00211345634f61917bdf5b412c2)
tests/CI/gates.jenkinsfile
tests/CI/runTestsuite.sh