diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-15 21:09:16 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-15 21:09:16 +0300 |
commit | 5b7ffe0a758eaeeccdd7b7af90355b13779083b9 (patch) | |
tree | 9531373586d32c2b83204e878457e9af9e7e91a8 /app | |
parent | 4e6d1709abf877f80a40eacf63f7123cd89d15d1 (diff) |
Add latest changes from gitlab-org/gitlab@master
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 |