mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
ci: integration: Set an expiration on logs artifacts
The default expiry time is 30 days. Since the RPM artifacts coming from the previous pipeline stages are set to expire in 1 day we can set the failed integration job log artifacts to the same value. The sentiment here is that if an integration job legitimately failed (i.e. not with an infrastructure failure) unless it was fixed in the meantime it will fail the next day with the scheduled pipeline again, meaning, that even if the older log artifacts are removed, they'll be immediately replaced with fresh ones. Signed-off-by: Erik Skultety <eskultet@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
12a3bee389
commit
ad00beffa6
@ -94,6 +94,7 @@
|
||||
SCRATCH_DIR: "/tmp/scratch"
|
||||
artifacts:
|
||||
name: logs
|
||||
expire_in: 1 day
|
||||
paths:
|
||||
- logs
|
||||
when: on_failure
|
||||
|
Loading…
Reference in New Issue
Block a user