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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-10-15 21:09:16 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-10-15 21:09:16 +0300
commit5b7ffe0a758eaeeccdd7b7af90355b13779083b9 (patch)
tree9531373586d32c2b83204e878457e9af9e7e91a8 /app
parent4e6d1709abf877f80a40eacf63f7123cd89d15d1 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app')
-rw-r--r--app/models/ci/secure_file.rb4
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