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