Commit 3801a0df authored by Grzegorz Bizon's avatar Grzegorz Bizon

Export pipeline stages in import/export feature

parent 469975c7
......@@ -38,6 +38,7 @@ project_tree:
- notes:
- :author
- :events
- :stages
- :statuses
- :triggers
- :pipeline_schedules
......
......@@ -3,6 +3,7 @@ module Gitlab
class RelationFactory
OVERRIDES = { snippets: :project_snippets,
pipelines: 'Ci::Pipeline',
stages: 'Ci::Stage',
statuses: 'commit_status',
triggers: 'Ci::Trigger',
pipeline_schedules: 'Ci::PipelineSchedule',
......
......@@ -91,6 +91,7 @@ merge_request_diff:
pipelines:
- project
- user
- stages
- statuses
- builds
- trigger_requests
......@@ -104,9 +105,15 @@ pipelines:
- artifacts
- pipeline_schedule
- merge_requests
stages:
- project
- pipeline
- statuses
- builds
statuses:
- project
- pipeline
- stage
- user
- auto_canceled_by
variables:
......
......@@ -191,6 +191,13 @@ Ci::Pipeline:
- lock_version
- auto_canceled_by_id
- pipeline_schedule_id
Ci::Stage:
- id
- name
- project_id
- pipeline_id
- created_at
- updated_at
CommitStatus:
- id
- project_id
......
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