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
395491d4
Commit
395491d4
authored
Jul 01, 2017
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Exclude schedule variables from Import/Export feature
parent
b6f41544
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
app/models/ci/pipeline_schedule_variable.rb
app/models/ci/pipeline_schedule_variable.rb
+1
-1
lib/gitlab/import_export/import_export.yml
lib/gitlab/import_export/import_export.yml
+1
-2
No files found.
app/models/ci/pipeline_schedule_variable.rb
View file @
395491d4
...
...
@@ -5,6 +5,6 @@ module Ci
belongs_to
:pipeline_schedule
validates
:key
,
uniqueness:
{
scope: :pipeline_schedule_id
}
,
presence:
{
unless: :importing?
}
validates
:key
,
uniqueness:
{
scope: :pipeline_schedule_id
}
end
end
lib/gitlab/import_export/import_export.yml
View file @
395491d4
...
...
@@ -42,8 +42,7 @@ project_tree:
-
:stages
-
:statuses
-
:triggers
-
pipeline_schedules
:
-
:variables
-
:pipeline_schedules
-
:services
-
:hooks
-
protected_branches
:
...
...
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