Commit 8d58c09a authored by GitLab Bot's avatar GitLab Bot

Automatic merge of gitlab-org/gitlab-ce master

parents 6a1b79aa 0899537e
---
title: Ignore legacy artifact columns in Project Import/Export
merge_request: 29427
author:
type: fixed
...@@ -169,6 +169,9 @@ excluded_attributes: ...@@ -169,6 +169,9 @@ excluded_attributes:
- :when - :when
- :artifacts_file - :artifacts_file
- :artifacts_metadata - :artifacts_metadata
- :artifacts_file_store
- :artifacts_metadata_store
- :artifacts_size
- :commands - :commands
push_event_payload: push_event_payload:
- :event_id - :event_id
......
...@@ -155,6 +155,9 @@ module Gitlab ...@@ -155,6 +155,9 @@ module Gitlab
@relation_hash.delete('trace') # old export files have trace @relation_hash.delete('trace') # old export files have trace
@relation_hash.delete('token') @relation_hash.delete('token')
@relation_hash.delete('commands') @relation_hash.delete('commands')
@relation_hash.delete('artifacts_file_store')
@relation_hash.delete('artifacts_metadata_store')
@relation_hash.delete('artifacts_size')
imported_object imported_object
elsif @relation_name == :merge_requests elsif @relation_name == :merge_requests
......
...@@ -6224,7 +6224,10 @@ ...@@ -6224,7 +6224,10 @@
"erased_by_id": null, "erased_by_id": null,
"erased_at": null, "erased_at": null,
"type": "Ci::Build", "type": "Ci::Build",
"token": "abcd" "token": "abcd",
"artifacts_file_store": 1,
"artifacts_metadata_store": 1,
"artifacts_size": 10
}, },
{ {
"id": 72, "id": 72,
......
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