diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/models/ci/secure_file.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/models/ci/secure_file.rb b/app/models/ci/secure_file.rb index d9e717df1d0..ffff7eebbee 100644 --- a/app/models/ci/secure_file.rb +++ b/app/models/ci/secure_file.rb @@ -7,7 +7,7 @@ module Ci FILE_SIZE_LIMIT = 5.megabytes.freeze CHECKSUM_ALGORITHM = 'sha256' - PARSABLE_EXTENSIONS = %w[cer p12].freeze + PARSABLE_EXTENSIONS = %w[cer p12 mobileprovision].freeze self.limit_scope = :project self.limit_name = 'project_ci_secure_files' @@ -51,6 +51,8 @@ module Ci Gitlab::Ci::SecureFiles::Cer.new(file.read) when 'p12' Gitlab::Ci::SecureFiles::P12.new(file.read) + when 'mobileprovision' + Gitlab::Ci::SecureFiles::MobileProvision.new(file.read) end end |