Add user-specified download path for lftools sign 04/11604/6
authorAnil Belur <abelur@linuxfoundation.org>
Fri, 29 Jun 2018 12:16:57 +0000 (22:16 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Mon, 9 Jul 2018 23:12:52 +0000 (09:12 +1000)
commite51dc8a8bee8511d333be967b82fc21cfe680651
tree3b4e07454b0ca575fcb1ff3c66fd7a3bb06a9ecb
parent5bfd530d84fc21577df707650a09e4e76419aa8d
Add user-specified download path for lftools sign

Add a user-specified download location for lftools sign
deploy-nexus command. The default download location
is "/tmp/gpg-signatures.*" where '*' is random generated
suffix added to a directory name returned by mkdtemp()

Projects like ODL require more than 5 GiB free space
which might not be available in the returned path
therefore we should allow the user to use an alternative
download path.

ex:

lftools sign deploy-nexus -d <path> <URL> <repo> <profile-id>

JIRA: RELENG-928
Change-Id: I960e6c2dd5b5311ec0551834c6b96a297a2eb8bd
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
lftools/cli/sign.py