From: Philippe Mathieu-Daudé Date: Tue, 25 May 2021 04:46:56 +0000 (+0200) Subject: gitlab: Keep Avocado reports during 1 week X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f230dba714e7777098ede5758d62b21922e7ec2f;p=qemu.git gitlab: Keep Avocado reports during 1 week Sometimes pull requests are merged during the week-end, triggering a CI pipeline. Currently if such pipeline fails, the Avocado reports are available for 2 days. For the reviewers working on the project during office hours, the reports are already discarded when they want to look at them. Increase this time to 1 week, which should give reviewers enough time. Only keep the reports on failure, which is the only case we'll look at them. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée Reviewed-by: Willian Rampazzo Message-Id: <20210525082556.4011380-8-f4bug@amsat.org> --- diff --git a/.gitlab-ci.d/buildtest-template.yml b/.gitlab-ci.d/buildtest-template.yml index 530d30746c..aabd6c07d2 100644 --- a/.gitlab-ci.d/buildtest-template.yml +++ b/.gitlab-ci.d/buildtest-template.yml @@ -46,8 +46,8 @@ policy: pull-push artifacts: name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG" - when: always - expire_in: 2 days + when: on_failure + expire_in: 7 days paths: - build/tests/results/latest/results.xml - build/tests/results/latest/test-results