Commit b70aabf9 authored by Gabriel Mazetto's avatar Gabriel Mazetto

Backport expired job artifact trait

parent 8112fb37
...@@ -8,6 +8,10 @@ FactoryBot.define do ...@@ -8,6 +8,10 @@ FactoryBot.define do
file_type :archive file_type :archive
file_format :zip file_format :zip
trait :expired do
expire_at { Date.yesterday }
end
trait :remote_store do trait :remote_store do
file_store JobArtifactUploader::Store::REMOTE file_store JobArtifactUploader::Store::REMOTE
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment