Welcome to mirror list, hosted at ThFree Co, Russian Federation.

pipeline_variable.rb « ci « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: de5aae17a150c36992c24dfb18320bf748e61857 (plain)
1
2
3
4
5
6
7
8
9
10
module Ci
  class PipelineVariable < ActiveRecord::Base
    extend Gitlab::Ci::Model
    include HasVariable

    belongs_to :pipeline

    validates :key, uniqueness: { scope: :pipeline_id }
  end
end