send_qa_email: Add directory to save logs too

The logs take up too much space in the git repo, save them separately.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2024-11-25 15:59:44 +00:00
parent a63dedc4e0
commit 89d58d91af

View File

@ -188,7 +188,7 @@ def send_qa_email():
utils.printheader("Storing results") utils.printheader("Storing results")
if not args.dry_run: if not args.dry_run:
subprocess.check_call([resulttool, "store", "--revision", revision, args.results_dir, tempdir]) subprocess.check_call([resulttool, "store", "--revision", revision, "-l", args.results_dir + "/../../testresult-logarchives" , args.results_dir, tempdir])
if basebranch: if basebranch:
subprocess.check_call(["git", "push", "--all", "--force"], cwd=tempdir) subprocess.check_call(["git", "push", "--all", "--force"], cwd=tempdir)
subprocess.check_call(["git", "push", "--tags", "--force"], cwd=tempdir) subprocess.check_call(["git", "push", "--tags", "--force"], cwd=tempdir)