BigW Consortium Gitlab

pipeline_variables.rb 207 Bytes
Newer Older
1
FactoryBot.define do
Shinya Maeda committed
2 3 4 5 6 7 8
  factory :ci_pipeline_variable, class: Ci::PipelineVariable do
    sequence(:key) { |n| "VARIABLE_#{n}" }
    value 'VARIABLE_VALUE'

    pipeline factory: :ci_empty_pipeline
  end
end