match/lib/match/options.rb in fastlane-2.214.0 vs match/lib/match/options.rb in fastlane-2.215.0
- old
+ new
@@ -2,10 +2,11 @@
require 'fastlane/helper/lane_helper'
require 'credentials_manager/appfile_config'
require_relative 'module'
module Match
+ # rubocop:disable Metrics/ClassLength
class Options
# This is match specific, as users can append storage specific options
def self.append_option(option)
self.available_options # to ensure we created the initial `@available_options` array
@available_options << option
@@ -220,10 +221,15 @@
optional: true),
FastlaneCore::ConfigItem.new(key: :s3_object_prefix,
env_name: "MATCH_S3_OBJECT_PREFIX",
description: "Prefix to be used on all objects uploaded to S3",
optional: true),
+ FastlaneCore::ConfigItem.new(key: :s3_skip_encryption,
+ env_name: "MATCH_S3_SKIP_ENCRYPTION",
+ description: "Skip encryption of all objects uploaded to S3. WARNING: only enable this on S3 buckets with sufficiently restricted permissions and server-side encryption enabled. See https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingEncryption.html",
+ type: Boolean,
+ default_value: false),
# Storage: GitLab Secure Files
FastlaneCore::ConfigItem.new(key: :gitlab_project,
env_name: "MATCH_GITLAB_PROJECT",
description: "GitLab Project Path (i.e. 'gitlab-org/gitlab')",
@@ -347,6 +353,7 @@
FastlaneCore::Globals.verbose = true if value
end)
]
end
end
+ # rubocop:enable Metrics/ClassLength
end