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: 38e14ffbc0c441060fc1d8d4ed2fe517cdb74a91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
module Ci
  class PipelineVariable < ActiveRecord::Base
    extend Gitlab::Ci::Model
    include HasVariable

    belongs_to :pipeline

    alias_attribute :secret_value, :value

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