Exclude schedule variables from Import/Export feature

This commit is contained in:
Shinya Maeda 2017-07-01 19:30:01 +09:00
parent b6f41544d8
commit 395491d435
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -42,8 +42,7 @@ project_tree:
- :stages
- :statuses
- :triggers
- pipeline_schedules:
- :variables
- :pipeline_schedules
- :services
- :hooks
- protected_branches: