]> 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 19:07:32 +0000 (12:07 -0700)
commita335f4c9adb0a00211345634f61917bdf5b412c2
tree197b286e0edda8713bd1449302861905e88d6a88
parente0fbf92372fea50f270ba58fd0f0b26ddc3b0e3b
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
tests/CI/gates.jenkinsfile
tests/CI/runTestsuite.sh