diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2018-09-04 15:40:20 +0000 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-09-04 15:40:20 +0000 |
commit | f17e48c84ebf3eb9a65f396f48195caad30dcb64 (patch) | |
tree | b8d067825300b1bb45b25f5ca3219f89f05b043f /spec/factories | |
parent | 13f557d0b86667eb35d4170af55bc874ac22f845 (diff) | |
parent | ffa2637a0cfabf269c0ab6bd4f7ac6e56fb5c66d (diff) | |
download | gitlab-ce-f17e48c84ebf3eb9a65f396f48195caad30dcb64.tar.gz |
Merge branch 'add-background-migration-for-legacy-traces' into 'master'
Migrate job artifacts data from `ci_builds` to `ci_job_artifacts` table (with Background migrations)
Closes #46652
See merge request gitlab-org/gitlab-ce!18615
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/ci/job_artifacts.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/factories/ci/job_artifacts.rb b/spec/factories/ci/job_artifacts.rb index 46aaaf6aa5d..f028803ca74 100644 --- a/spec/factories/ci/job_artifacts.rb +++ b/spec/factories/ci/job_artifacts.rb @@ -24,6 +24,12 @@ FactoryBot.define do end end + trait :legacy_archive do + archive + + file_location :legacy_path + end + trait :metadata do file_type :metadata file_format :gzip |