class Fastlane::Actions::ConfigureTransporterAction
Public Class Methods
available_options()
click to toggle source
# File lib/fastlane/plugin/transporter/actions/configure_transporter_action.rb, line 32 def self.available_options [ FastlaneCore::ConfigItem.new(key: :install_path, env_name: "CONFIGURE_TRANSPORTER_INSTALL_PATH", description: "Transporter install path", default_value: Transporter::DEFAULT_TRANSPORTER_INSTALL_PATH, type: String), FastlaneCore::ConfigItem.new(key: :root_ca, env_name: "CONFIGURE_TRANSPORTER_ROOT_CA", description: "Add specified root CA to Transporter's keystore", optional: true, type: String), FastlaneCore::ConfigItem.new(key: :enable_basic_auth, env_name: "CONFIGURE_TRANSPORTER_ENABLE_BASIC_AUTH", description: "Enable basic authentication in Transporter configuration", default_value: false, optional: true, type: Boolean) ] end
description()
click to toggle source
# File lib/fastlane/plugin/transporter/actions/configure_transporter_action.rb, line 13 def self.description "Configure Apple iTMSTransporter installation" end
details()
click to toggle source
# File lib/fastlane/plugin/transporter/actions/configure_transporter_action.rb, line 25 def self.details [ "- Add self-signed root Certificate Authority certificate to Transporter keystore", "- Enable basic authentication" ].join("\n") end
is_supported?(platform)
click to toggle source
# File lib/fastlane/plugin/transporter/actions/configure_transporter_action.rb, line 53 def self.is_supported?(platform) [:ios, :mac].include?(platform) end
return_value()
click to toggle source
# File lib/fastlane/plugin/transporter/actions/configure_transporter_action.rb, line 21 def self.return_value # If your method provides a return value, you can describe here what it does end
run(params)
click to toggle source
# File lib/fastlane/plugin/transporter/actions/configure_transporter_action.rb, line 8 def self.run(params) Transporter.add_root_ca(install_path: params[:install_path], root_ca: params[:root_ca]) if params[:root_ca] Transporter.enable_basic_auth(install_path: params[:install_path]) if params[:enable_basic_auth] end