Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3801a0df
Commit
3801a0df
authored
Jun 05, 2017
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Export pipeline stages in import/export feature
parent
469975c7
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
0 deletions
+16
-0
lib/gitlab/import_export/import_export.yml
lib/gitlab/import_export/import_export.yml
+1
-0
lib/gitlab/import_export/relation_factory.rb
lib/gitlab/import_export/relation_factory.rb
+1
-0
spec/lib/gitlab/import_export/all_models.yml
spec/lib/gitlab/import_export/all_models.yml
+7
-0
spec/lib/gitlab/import_export/safe_model_attributes.yml
spec/lib/gitlab/import_export/safe_model_attributes.yml
+7
-0
No files found.
lib/gitlab/import_export/import_export.yml
View file @
3801a0df
...
...
@@ -38,6 +38,7 @@ project_tree:
-
notes
:
-
:author
-
:events
-
:stages
-
:statuses
-
:triggers
-
:pipeline_schedules
...
...
lib/gitlab/import_export/relation_factory.rb
View file @
3801a0df
...
...
@@ -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'
,
...
...
spec/lib/gitlab/import_export/all_models.yml
View file @
3801a0df
...
...
@@ -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
:
...
...
spec/lib/gitlab/import_export/safe_model_attributes.yml
View file @
3801a0df
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment