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

rules.rb « protection « container_registry « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cbd5c9d86524e3609c4a376869cc67f3fff6b583 (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

FactoryBot.define do
  factory :container_registry_protection_rule, class: 'ContainerRegistry::Protection::Rule' do
    project
    container_path_pattern { '@my_scope/my_container' }
    delete_protected_up_to_access_level { :developer }
    push_protected_up_to_access_level { :developer }
  end
end