fastlane 2.185.1 → 2.189.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +86 -86
- data/fastlane/lib/fastlane/actions/appledoc.rb +45 -45
- data/fastlane/lib/fastlane/actions/automatic_code_signing.rb +1 -2
- data/fastlane/lib/fastlane/actions/create_keychain.rb +5 -2
- data/fastlane/lib/fastlane/actions/deploygate.rb +1 -2
- data/fastlane/lib/fastlane/actions/docs/build_app.md +1 -1
- data/fastlane/lib/fastlane/actions/docs/capture_android_screenshots.md +25 -26
- data/fastlane/lib/fastlane/actions/docs/capture_ios_screenshots.md +2 -2
- data/fastlane/lib/fastlane/actions/docs/create_app_online.md +171 -67
- data/fastlane/lib/fastlane/actions/download_app_privacy_details_from_app_store.rb +1 -1
- data/fastlane/lib/fastlane/actions/download_dsyms.rb +3 -4
- data/fastlane/lib/fastlane/actions/dsym_zip.rb +1 -1
- data/fastlane/lib/fastlane/actions/ensure_git_branch.rb +0 -1
- data/fastlane/lib/fastlane/actions/ensure_git_status_clean.rb +3 -4
- data/fastlane/lib/fastlane/actions/ensure_no_debug_code.rb +3 -5
- data/fastlane/lib/fastlane/actions/ensure_xcode_version.rb +1 -2
- data/fastlane/lib/fastlane/actions/environment_variable.rb +13 -21
- data/fastlane/lib/fastlane/actions/erb.rb +2 -5
- data/fastlane/lib/fastlane/actions/get_build_number_repository.rb +1 -1
- data/fastlane/lib/fastlane/actions/get_ipa_info_plist_value.rb +0 -1
- data/fastlane/lib/fastlane/actions/get_managed_play_store_publishing_rights.rb +29 -34
- data/fastlane/lib/fastlane/actions/get_push_certificate.rb +1 -1
- data/fastlane/lib/fastlane/actions/git_add.rb +5 -10
- data/fastlane/lib/fastlane/actions/git_commit.rb +2 -6
- data/fastlane/lib/fastlane/actions/git_remote_branch.rb +57 -0
- data/fastlane/lib/fastlane/actions/github_api.rb +2 -5
- data/fastlane/lib/fastlane/actions/gradle.rb +12 -20
- data/fastlane/lib/fastlane/actions/hg_commit_version_bump.rb +1 -1
- data/fastlane/lib/fastlane/actions/hg_push.rb +1 -1
- data/fastlane/lib/fastlane/actions/hipchat.rb +4 -5
- data/fastlane/lib/fastlane/actions/hockey.rb +5 -12
- data/fastlane/lib/fastlane/actions/ifttt.rb +3 -6
- data/fastlane/lib/fastlane/actions/import_from_git.rb +2 -4
- data/fastlane/lib/fastlane/actions/increment_build_number.rb +1 -2
- data/fastlane/lib/fastlane/actions/install_on_device.rb +3 -6
- data/fastlane/lib/fastlane/actions/installr.rb +22 -25
- data/fastlane/lib/fastlane/actions/ipa.rb +2 -2
- data/fastlane/lib/fastlane/actions/jazzy.rb +8 -14
- data/fastlane/lib/fastlane/actions/latest_testflight_build_number.rb +3 -4
- data/fastlane/lib/fastlane/actions/lcov.rb +0 -4
- data/fastlane/lib/fastlane/actions/mailgun.rb +21 -27
- data/fastlane/lib/fastlane/actions/make_changelog_from_jenkins.rb +1 -1
- data/fastlane/lib/fastlane/actions/modify_services.rb +59 -24
- data/fastlane/lib/fastlane/actions/nexus_upload.rb +2 -2
- data/fastlane/lib/fastlane/actions/notarize.rb +1 -4
- data/fastlane/lib/fastlane/actions/number_of_commits.rb +1 -1
- data/fastlane/lib/fastlane/actions/oclint.rb +15 -14
- data/fastlane/lib/fastlane/actions/pod_push.rb +0 -2
- data/fastlane/lib/fastlane/actions/podio_item.rb +0 -7
- data/fastlane/lib/fastlane/actions/prompt.rb +3 -4
- data/fastlane/lib/fastlane/actions/push_git_tags.rb +1 -1
- data/fastlane/lib/fastlane/actions/puts.rb +1 -2
- data/fastlane/lib/fastlane/actions/register_devices.rb +0 -1
- data/fastlane/lib/fastlane/actions/reset_git_repo.rb +5 -8
- data/fastlane/lib/fastlane/actions/reset_simulator_contents.rb +0 -2
- data/fastlane/lib/fastlane/actions/resign.rb +2 -9
- data/fastlane/lib/fastlane/actions/rsync.rb +3 -6
- data/fastlane/lib/fastlane/actions/run_tests.rb +1 -1
- data/fastlane/lib/fastlane/actions/s3.rb +1 -1
- data/fastlane/lib/fastlane/actions/say.rb +2 -3
- data/fastlane/lib/fastlane/actions/scp.rb +4 -10
- data/fastlane/lib/fastlane/actions/set_build_number_repository.rb +1 -1
- data/fastlane/lib/fastlane/actions/set_changelog.rb +1 -1
- data/fastlane/lib/fastlane/actions/set_github_release.rb +2 -8
- data/fastlane/lib/fastlane/actions/set_info_plist_value.rb +1 -1
- data/fastlane/lib/fastlane/actions/set_pod_key.rb +3 -4
- data/fastlane/lib/fastlane/actions/setup_ci.rb +1 -2
- data/fastlane/lib/fastlane/actions/setup_circle_ci.rb +1 -1
- data/fastlane/lib/fastlane/actions/setup_jenkins.rb +7 -12
- data/fastlane/lib/fastlane/actions/setup_travis.rb +1 -1
- data/fastlane/lib/fastlane/actions/sh.rb +2 -4
- data/fastlane/lib/fastlane/actions/slack.rb +6 -8
- data/fastlane/lib/fastlane/actions/slather.rb +3 -19
- data/fastlane/lib/fastlane/actions/sonar.rb +12 -19
- data/fastlane/lib/fastlane/actions/sourcedocs.rb +62 -98
- data/fastlane/lib/fastlane/actions/splunkmint.rb +2 -2
- data/fastlane/lib/fastlane/actions/spm.rb +3 -3
- data/fastlane/lib/fastlane/actions/ssh.rb +5 -10
- data/fastlane/lib/fastlane/actions/testfairy.rb +0 -1
- data/fastlane/lib/fastlane/actions/tryouts.rb +2 -3
- data/fastlane/lib/fastlane/actions/twitter.rb +0 -5
- data/fastlane/lib/fastlane/actions/unlock_keychain.rb +3 -3
- data/fastlane/lib/fastlane/actions/update_app_group_identifiers.rb +1 -4
- data/fastlane/lib/fastlane/actions/update_code_signing_settings.rb +8 -15
- data/fastlane/lib/fastlane/actions/update_fastlane.rb +2 -2
- data/fastlane/lib/fastlane/actions/update_icloud_container_identifiers.rb +1 -4
- data/fastlane/lib/fastlane/actions/update_info_plist.rb +1 -1
- data/fastlane/lib/fastlane/actions/update_keychain_access_groups.rb +1 -4
- data/fastlane/lib/fastlane/actions/update_plist.rb +1 -1
- data/fastlane/lib/fastlane/actions/update_project_provisioning.rb +2 -2
- data/fastlane/lib/fastlane/actions/update_urban_airship_configuration.rb +0 -1
- data/fastlane/lib/fastlane/actions/update_url_schemes.rb +15 -26
- data/fastlane/lib/fastlane/actions/upload_app_privacy_details_to_app_store.rb +1 -2
- data/fastlane/lib/fastlane/actions/upload_symbols_to_sentry.rb +3 -10
- data/fastlane/lib/fastlane/actions/validate_play_store_json_key.rb +40 -44
- data/fastlane/lib/fastlane/actions/version_get_podspec.rb +1 -2
- data/fastlane/lib/fastlane/actions/xcode_server_get_assets.rb +3 -3
- data/fastlane/lib/fastlane/documentation/docs_generator.rb +1 -1
- data/fastlane/lib/fastlane/documentation/markdown_docs_generator.rb +1 -1
- data/fastlane/lib/fastlane/helper/git_helper.rb +17 -5
- data/fastlane/lib/fastlane/plugins/template/.circleci/config.yml +1 -1
- data/fastlane/lib/fastlane/plugins/template/.github/workflows/test.yml +1 -1
- data/fastlane/lib/fastlane/swift_fastlane_function.rb +1 -1
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/Deliverfile.swift +1 -1
- data/fastlane/swift/DeliverfileProtocol.swift +1 -1
- data/fastlane/swift/Fastlane.swift +158 -125
- data/fastlane/swift/Gymfile.swift +1 -1
- data/fastlane/swift/GymfileProtocol.swift +1 -1
- data/fastlane/swift/Matchfile.swift +1 -1
- data/fastlane/swift/MatchfileProtocol.swift +1 -1
- data/fastlane/swift/Precheckfile.swift +1 -1
- data/fastlane/swift/PrecheckfileProtocol.swift +1 -1
- data/fastlane/swift/Scanfile.swift +1 -1
- data/fastlane/swift/ScanfileProtocol.swift +5 -1
- data/fastlane/swift/Screengrabfile.swift +1 -1
- data/fastlane/swift/ScreengrabfileProtocol.swift +4 -4
- data/fastlane/swift/Snapshotfile.swift +1 -1
- data/fastlane/swift/SnapshotfileProtocol.swift +1 -1
- data/fastlane/swift/formatting/Brewfile.lock.json +19 -11
- data/fastlane_core/lib/fastlane_core/configuration/config_item.rb +13 -0
- data/match/lib/match/importer.rb +3 -0
- data/match/lib/match/nuke.rb +2 -3
- data/pilot/lib/pilot.rb +0 -1
- data/pilot/lib/pilot/build_manager.rb +0 -3
- data/pilot/lib/pilot/manager.rb +4 -1
- data/precheck/lib/precheck/module.rb +2 -0
- data/precheck/lib/precheck/options.rb +3 -3
- data/produce/lib/produce/commands_generator.rb +99 -27
- data/produce/lib/produce/developer_center.rb +42 -4
- data/produce/lib/produce/options.rb +1 -1
- data/produce/lib/produce/service.rb +270 -179
- data/scan/lib/scan/detect_values.rb +22 -13
- data/scan/lib/scan/module.rb +1 -0
- data/scan/lib/scan/options.rb +12 -1
- data/scan/lib/scan/test_command_generator.rb +29 -6
- data/screengrab/lib/screengrab/android_environment.rb +2 -52
- data/screengrab/lib/screengrab/dependency_checker.rb +0 -20
- data/screengrab/lib/screengrab/options.rb +5 -2
- data/screengrab/lib/screengrab/runner.rb +109 -107
- data/snapshot/lib/assets/SnapfileTemplate +2 -1
- data/snapshot/lib/assets/SnapfileTemplate.swift +2 -1
- data/snapshot/lib/assets/SnapshotHelper.swift +14 -10
- data/snapshot/lib/snapshot/reports_generator.rb +3 -1
- data/snapshot/lib/snapshot/test_command_generator.rb +16 -2
- data/spaceship/lib/spaceship/client.rb +13 -3
- data/spaceship/lib/spaceship/connect_api/api_client.rb +30 -5
- data/spaceship/lib/spaceship/connect_api/models/beta_tester.rb +3 -1
- data/spaceship/lib/spaceship/connect_api/models/build.rb +3 -1
- data/spaceship/lib/spaceship/connect_api/models/bundle_id.rb +8 -0
- data/spaceship/lib/spaceship/connect_api/models/bundle_id_capability.rb +58 -17
- data/spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb +41 -1
- data/spaceship/lib/spaceship/connect_api/testflight/testflight.rb +13 -0
- data/supply/lib/supply/client.rb +7 -1
- data/supply/lib/supply/options.rb +5 -0
- metadata +27 -32
- data/fastlane/lib/fastlane/.erb_template_helper.rb.swp +0 -0
- data/fastlane/lib/fastlane/actions/.git_commit.rb.swp +0 -0
- data/gym/lib/gym/generators/.package_command_generator_xcode7.rb.swp +0 -0
- data/pilot/lib/pilot/features.rb +0 -0
- data/spaceship/lib/spaceship/.DS_Store +0 -0
- data/spaceship/lib/spaceship/connect_api/models/.app_store_version_submission.rb.swp +0 -0
@@ -149,7 +149,7 @@ module Fastlane
|
|
149
149
|
env_name: "FL_SET_CHANGELOG_TEAM_ID",
|
150
150
|
description: "The ID of your App Store Connect team if you're in multiple teams",
|
151
151
|
optional: true,
|
152
|
-
|
152
|
+
skip_type_validation: true, # as we also allow integers, which we convert to strings anyway
|
153
153
|
code_gen_sensitive: true,
|
154
154
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_id),
|
155
155
|
default_value_dynamic: true,
|
@@ -180,7 +180,6 @@ module Fastlane
|
|
180
180
|
conflicting_options: [:api_bearer],
|
181
181
|
sensitive: true,
|
182
182
|
code_gen_sensitive: true,
|
183
|
-
is_string: true,
|
184
183
|
default_value: ENV["GITHUB_API_TOKEN"],
|
185
184
|
default_value_dynamic: true,
|
186
185
|
optional: true),
|
@@ -195,22 +194,18 @@ module Fastlane
|
|
195
194
|
FastlaneCore::ConfigItem.new(key: :tag_name,
|
196
195
|
env_name: "FL_SET_GITHUB_RELEASE_TAG_NAME",
|
197
196
|
description: "Pass in the tag name",
|
198
|
-
is_string: true,
|
199
197
|
optional: false),
|
200
198
|
FastlaneCore::ConfigItem.new(key: :name,
|
201
199
|
env_name: "FL_SET_GITHUB_RELEASE_NAME",
|
202
200
|
description: "Name of this release",
|
203
|
-
is_string: true,
|
204
201
|
optional: true),
|
205
202
|
FastlaneCore::ConfigItem.new(key: :commitish,
|
206
203
|
env_name: "FL_SET_GITHUB_RELEASE_COMMITISH",
|
207
204
|
description: "Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch (usually master)",
|
208
|
-
is_string: true,
|
209
205
|
optional: true),
|
210
206
|
FastlaneCore::ConfigItem.new(key: :description,
|
211
207
|
env_name: "FL_SET_GITHUB_RELEASE_DESCRIPTION",
|
212
208
|
description: "Description of this release",
|
213
|
-
is_string: true,
|
214
209
|
optional: true,
|
215
210
|
default_value: Actions.lane_context[SharedValues::FL_CHANGELOG],
|
216
211
|
default_value_dynamic: true),
|
@@ -219,18 +214,17 @@ module Fastlane
|
|
219
214
|
description: "Whether the release should be marked as draft",
|
220
215
|
optional: true,
|
221
216
|
default_value: false,
|
222
|
-
|
217
|
+
type: Boolean),
|
223
218
|
FastlaneCore::ConfigItem.new(key: :is_prerelease,
|
224
219
|
env_name: "FL_SET_GITHUB_RELEASE_IS_PRERELEASE",
|
225
220
|
description: "Whether the release should be marked as prerelease",
|
226
221
|
optional: true,
|
227
222
|
default_value: false,
|
228
|
-
|
223
|
+
type: Boolean),
|
229
224
|
FastlaneCore::ConfigItem.new(key: :upload_assets,
|
230
225
|
env_name: "FL_SET_GITHUB_RELEASE_UPLOAD_ASSETS",
|
231
226
|
description: "Path to assets to be uploaded with the release",
|
232
227
|
optional: true,
|
233
|
-
is_string: false,
|
234
228
|
type: Array,
|
235
229
|
verify_block: proc do |value|
|
236
230
|
UI.user_error!("upload_assets must be an Array of paths to assets") unless value.kind_of?(Array)
|
@@ -53,7 +53,7 @@ module Fastlane
|
|
53
53
|
FastlaneCore::ConfigItem.new(key: :value,
|
54
54
|
env_name: "FL_SET_INFO_PLIST_PARAM_VALUE",
|
55
55
|
description: "Value to setup",
|
56
|
-
|
56
|
+
skip_type_validation: true, # allow String, Hash
|
57
57
|
optional: false),
|
58
58
|
FastlaneCore::ConfigItem.new(key: :path,
|
59
59
|
env_name: "FL_SET_INFO_PLIST_PATH",
|
@@ -36,22 +36,21 @@ module Fastlane
|
|
36
36
|
FastlaneCore::ConfigItem.new(key: :use_bundle_exec,
|
37
37
|
env_name: "FL_SET_POD_KEY_USE_BUNDLE_EXEC",
|
38
38
|
description: "Use bundle exec when there is a Gemfile presented",
|
39
|
-
|
39
|
+
type: Boolean,
|
40
40
|
default_value: true),
|
41
41
|
FastlaneCore::ConfigItem.new(key: :key,
|
42
42
|
env_name: "FL_SET_POD_KEY_ITEM_KEY",
|
43
43
|
description: "The key to be saved with cocoapods-keys",
|
44
|
-
is_string: true,
|
45
44
|
optional: false),
|
46
45
|
FastlaneCore::ConfigItem.new(key: :value,
|
47
46
|
env_name: "FL_SET_POD_KEY_ITEM_VALUE",
|
48
47
|
description: "The value to be saved with cocoapods-keys",
|
49
|
-
|
48
|
+
sensitive: true,
|
49
|
+
code_gen_sensitive: true,
|
50
50
|
optional: false),
|
51
51
|
FastlaneCore::ConfigItem.new(key: :project,
|
52
52
|
env_name: "FL_SET_POD_KEY_PROJECT",
|
53
53
|
description: "The project name",
|
54
|
-
is_string: true,
|
55
54
|
optional: true)
|
56
55
|
]
|
57
56
|
end
|
@@ -92,12 +92,11 @@ module Fastlane
|
|
92
92
|
FastlaneCore::ConfigItem.new(key: :force,
|
93
93
|
env_name: "FL_SETUP_CI_FORCE",
|
94
94
|
description: "Force setup, even if not executed by CI",
|
95
|
-
|
95
|
+
type: Boolean,
|
96
96
|
default_value: false),
|
97
97
|
FastlaneCore::ConfigItem.new(key: :provider,
|
98
98
|
env_name: "FL_SETUP_CI_PROVIDER",
|
99
99
|
description: "CI provider. If none is set, the provider is detected automatically",
|
100
|
-
is_string: true,
|
101
100
|
optional: true,
|
102
101
|
verify_block: proc do |value|
|
103
102
|
value = value.to_s
|
@@ -118,34 +118,32 @@ module Fastlane
|
|
118
118
|
FastlaneCore::ConfigItem.new(key: :force,
|
119
119
|
env_name: "FL_SETUP_JENKINS_FORCE",
|
120
120
|
description: "Force setup, even if not executed by Jenkins",
|
121
|
-
|
121
|
+
type: Boolean,
|
122
122
|
default_value: false),
|
123
123
|
|
124
124
|
# Keychain
|
125
125
|
FastlaneCore::ConfigItem.new(key: :unlock_keychain,
|
126
126
|
env_name: "FL_SETUP_JENKINS_UNLOCK_KEYCHAIN",
|
127
127
|
description: "Unlocks keychain",
|
128
|
-
|
128
|
+
type: Boolean,
|
129
129
|
default_value: true),
|
130
130
|
FastlaneCore::ConfigItem.new(key: :add_keychain_to_search_list,
|
131
131
|
env_name: "FL_SETUP_JENKINS_ADD_KEYCHAIN_TO_SEARCH_LIST",
|
132
|
-
description: "Add to keychain search list",
|
133
|
-
|
132
|
+
description: "Add to keychain search list, valid values are true, false, :add, and :replace",
|
133
|
+
skip_type_validation: true, # allow Boolean, Symbol
|
134
134
|
default_value: :replace),
|
135
135
|
FastlaneCore::ConfigItem.new(key: :set_default_keychain,
|
136
136
|
env_name: "FL_SETUP_JENKINS_SET_DEFAULT_KEYCHAIN",
|
137
137
|
description: "Set keychain as default",
|
138
|
-
|
138
|
+
type: Boolean,
|
139
139
|
default_value: true),
|
140
140
|
FastlaneCore::ConfigItem.new(key: :keychain_path,
|
141
141
|
env_name: "KEYCHAIN_PATH",
|
142
142
|
description: "Path to keychain",
|
143
|
-
is_string: true,
|
144
143
|
optional: true),
|
145
144
|
FastlaneCore::ConfigItem.new(key: :keychain_password,
|
146
145
|
env_name: "KEYCHAIN_PASSWORD",
|
147
146
|
description: "Keychain password",
|
148
|
-
is_string: true,
|
149
147
|
sensitive: true,
|
150
148
|
default_value: ""),
|
151
149
|
|
@@ -153,29 +151,26 @@ module Fastlane
|
|
153
151
|
FastlaneCore::ConfigItem.new(key: :set_code_signing_identity,
|
154
152
|
env_name: "FL_SETUP_JENKINS_SET_CODE_SIGNING_IDENTITY",
|
155
153
|
description: "Set code signing identity from CODE_SIGNING_IDENTITY environment",
|
156
|
-
|
154
|
+
type: Boolean,
|
157
155
|
default_value: true),
|
158
156
|
FastlaneCore::ConfigItem.new(key: :code_signing_identity,
|
159
157
|
env_name: "CODE_SIGNING_IDENTITY",
|
160
158
|
description: "Code signing identity",
|
161
|
-
is_string: true,
|
162
159
|
optional: true),
|
163
160
|
|
164
161
|
# Xcode parameters
|
165
162
|
FastlaneCore::ConfigItem.new(key: :output_directory,
|
166
163
|
env_name: "FL_SETUP_JENKINS_OUTPUT_DIRECTORY",
|
167
164
|
description: "The directory in which the ipa file should be stored in",
|
168
|
-
is_string: true,
|
169
165
|
default_value: "./output"),
|
170
166
|
FastlaneCore::ConfigItem.new(key: :derived_data_path,
|
171
167
|
env_name: "FL_SETUP_JENKINS_DERIVED_DATA_PATH",
|
172
168
|
description: "The directory where built products and other derived data will go",
|
173
|
-
is_string: true,
|
174
169
|
default_value: "./derivedData"),
|
175
170
|
FastlaneCore::ConfigItem.new(key: :result_bundle,
|
176
171
|
env_name: "FL_SETUP_JENKINS_RESULT_BUNDLE",
|
177
172
|
description: "Produce the result bundle describing what occurred will be placed",
|
178
|
-
|
173
|
+
type: Boolean,
|
179
174
|
default_value: true)
|
180
175
|
]
|
181
176
|
end
|
@@ -24,17 +24,15 @@ module Fastlane
|
|
24
24
|
[
|
25
25
|
FastlaneCore::ConfigItem.new(key: :command,
|
26
26
|
description: 'Shell command to be executed',
|
27
|
-
optional: false,
|
28
|
-
is_string: true),
|
27
|
+
optional: false),
|
29
28
|
FastlaneCore::ConfigItem.new(key: :log,
|
30
29
|
description: 'Determines whether fastlane should print out the executed command itself and output of the executed command. If command line option --troubleshoot is used, then it overrides this option to true',
|
31
30
|
optional: true,
|
32
|
-
|
31
|
+
type: Boolean,
|
33
32
|
default_value: true),
|
34
33
|
FastlaneCore::ConfigItem.new(key: :error_callback,
|
35
34
|
description: 'A callback invoked with the command output if there is a non-zero exit status',
|
36
35
|
optional: true,
|
37
|
-
is_string: false,
|
38
36
|
type: :string_callback,
|
39
37
|
default_value: nil)
|
40
38
|
]
|
@@ -195,7 +195,7 @@ module Fastlane
|
|
195
195
|
env_name: "FL_SLACK_USE_WEBHOOK_CONFIGURED_USERNAME_AND_ICON",
|
196
196
|
description: "Use webhook's default username and icon settings? (true/false)",
|
197
197
|
default_value: false,
|
198
|
-
|
198
|
+
type: Boolean,
|
199
199
|
optional: true),
|
200
200
|
FastlaneCore::ConfigItem.new(key: :slack_url,
|
201
201
|
env_name: "SLACK_URL",
|
@@ -208,19 +208,17 @@ module Fastlane
|
|
208
208
|
env_name: "FL_SLACK_USERNAME",
|
209
209
|
description: "Overrides the webhook's username property if use_webhook_configured_username_and_icon is false",
|
210
210
|
default_value: "fastlane",
|
211
|
-
is_string: true,
|
212
211
|
optional: true),
|
213
212
|
FastlaneCore::ConfigItem.new(key: :icon_url,
|
214
213
|
env_name: "FL_SLACK_ICON_URL",
|
215
214
|
description: "Overrides the webhook's image property if use_webhook_configured_username_and_icon is false",
|
216
215
|
default_value: "https://fastlane.tools/assets/img/fastlane_icon.png",
|
217
|
-
is_string: true,
|
218
216
|
optional: true),
|
219
217
|
FastlaneCore::ConfigItem.new(key: :payload,
|
220
218
|
env_name: "FL_SLACK_PAYLOAD",
|
221
219
|
description: "Add additional information to this post. payload must be a hash containing any key with any value",
|
222
220
|
default_value: {},
|
223
|
-
|
221
|
+
type: Hash),
|
224
222
|
FastlaneCore::ConfigItem.new(key: :default_payloads,
|
225
223
|
env_name: "FL_SLACK_DEFAULT_PAYLOADS",
|
226
224
|
description: "Specifies default payloads to include. Pass an empty array to suppress all the default payloads",
|
@@ -230,25 +228,25 @@ module Fastlane
|
|
230
228
|
env_name: "FL_SLACK_ATTACHMENT_PROPERTIES",
|
231
229
|
description: "Merge additional properties in the slack attachment, see https://api.slack.com/docs/attachments",
|
232
230
|
default_value: {},
|
233
|
-
|
231
|
+
type: Hash),
|
234
232
|
FastlaneCore::ConfigItem.new(key: :success,
|
235
233
|
env_name: "FL_SLACK_SUCCESS",
|
236
234
|
description: "Was this build successful? (true/false)",
|
237
235
|
optional: true,
|
238
236
|
default_value: true,
|
239
|
-
|
237
|
+
type: Boolean),
|
240
238
|
FastlaneCore::ConfigItem.new(key: :fail_on_error,
|
241
239
|
env_name: "FL_SLACK_FAIL_ON_ERROR",
|
242
240
|
description: "Should an error sending the slack notification cause a failure? (true/false)",
|
243
241
|
optional: true,
|
244
242
|
default_value: true,
|
245
|
-
|
243
|
+
type: Boolean),
|
246
244
|
FastlaneCore::ConfigItem.new(key: :link_names,
|
247
245
|
env_name: "FL_SLACK_LINK_NAMES",
|
248
246
|
description: "Find and link channel names and usernames (true/false)",
|
249
247
|
optional: true,
|
250
248
|
default_value: false,
|
251
|
-
|
249
|
+
type: Boolean)
|
252
250
|
]
|
253
251
|
end
|
254
252
|
|
@@ -158,90 +158,76 @@ module Fastlane
|
|
158
158
|
FastlaneCore::ConfigItem.new(key: :buildkite,
|
159
159
|
env_name: "FL_SLATHER_BUILDKITE_ENABLED", # The name of the environment variable
|
160
160
|
description: "Tell slather that it is running on Buildkite",
|
161
|
-
is_string: false,
|
162
161
|
type: Boolean,
|
163
162
|
optional: true),
|
164
163
|
FastlaneCore::ConfigItem.new(key: :teamcity,
|
165
164
|
env_name: "FL_SLATHER_TEAMCITY_ENABLED", # The name of the environment variable
|
166
165
|
description: "Tell slather that it is running on TeamCity",
|
167
|
-
is_string: false,
|
168
166
|
type: Boolean,
|
169
167
|
optional: true),
|
170
168
|
FastlaneCore::ConfigItem.new(key: :jenkins,
|
171
169
|
env_name: "FL_SLATHER_JENKINS_ENABLED", # The name of the environment variable
|
172
170
|
description: "Tell slather that it is running on Jenkins",
|
173
|
-
is_string: false,
|
174
171
|
type: Boolean,
|
175
172
|
optional: true),
|
176
173
|
FastlaneCore::ConfigItem.new(key: :travis,
|
177
174
|
env_name: "FL_SLATHER_TRAVIS_ENABLED", # The name of the environment variable
|
178
175
|
description: "Tell slather that it is running on TravisCI",
|
179
|
-
is_string: false,
|
180
176
|
type: Boolean,
|
181
177
|
optional: true),
|
182
178
|
FastlaneCore::ConfigItem.new(key: :travis_pro,
|
183
179
|
env_name: "FL_SLATHER_TRAVIS_PRO_ENABLED", # The name of the environment variable
|
184
180
|
description: "Tell slather that it is running on TravisCI Pro",
|
185
|
-
is_string: false,
|
186
181
|
type: Boolean,
|
187
182
|
optional: true),
|
188
183
|
FastlaneCore::ConfigItem.new(key: :circleci,
|
189
184
|
env_name: "FL_SLATHER_CIRCLECI_ENABLED",
|
190
185
|
description: "Tell slather that it is running on CircleCI",
|
191
|
-
is_string: false,
|
192
186
|
type: Boolean,
|
193
187
|
optional: true),
|
194
188
|
FastlaneCore::ConfigItem.new(key: :coveralls,
|
195
189
|
env_name: "FL_SLATHER_COVERALLS_ENABLED",
|
196
190
|
description: "Tell slather that it should post data to Coveralls",
|
197
|
-
is_string: false,
|
198
191
|
type: Boolean,
|
199
192
|
optional: true),
|
200
193
|
FastlaneCore::ConfigItem.new(key: :simple_output,
|
201
194
|
env_name: "FL_SLATHER_SIMPLE_OUTPUT_ENABLED",
|
202
195
|
description: "Tell slather that it should output results to the terminal",
|
203
|
-
is_string: false,
|
204
196
|
type: Boolean,
|
205
197
|
optional: true),
|
206
198
|
FastlaneCore::ConfigItem.new(key: :gutter_json,
|
207
199
|
env_name: "FL_SLATHER_GUTTER_JSON_ENABLED",
|
208
200
|
description: "Tell slather that it should output results as Gutter JSON format",
|
209
|
-
is_string: false,
|
210
201
|
type: Boolean,
|
211
202
|
optional: true),
|
212
203
|
FastlaneCore::ConfigItem.new(key: :cobertura_xml,
|
213
204
|
env_name: "FL_SLATHER_COBERTURA_XML_ENABLED",
|
214
205
|
description: "Tell slather that it should output results as Cobertura XML format",
|
215
|
-
is_string: false,
|
216
206
|
type: Boolean,
|
217
207
|
optional: true),
|
218
208
|
FastlaneCore::ConfigItem.new(key: :sonarqube_xml,
|
219
209
|
env_name: "FL_SLATHER_SONARQUBE_XML_ENABLED",
|
220
210
|
description: "Tell slather that it should output results as SonarQube Generic XML format",
|
221
|
-
is_string: false,
|
222
211
|
type: Boolean,
|
223
212
|
optional: true),
|
224
213
|
FastlaneCore::ConfigItem.new(key: :llvm_cov,
|
225
214
|
env_name: "FL_SLATHER_LLVM_COV_ENABLED",
|
226
215
|
description: "Tell slather that it should output results as llvm-cov show format",
|
227
|
-
|
216
|
+
type: Boolean,
|
228
217
|
optional: true),
|
229
218
|
FastlaneCore::ConfigItem.new(key: :json,
|
230
219
|
env_name: "FL_SLATHER_JSON_ENABLED",
|
231
220
|
description: "Tell slather that it should output results as static JSON report",
|
232
|
-
is_string: false,
|
233
221
|
type: Boolean,
|
234
222
|
optional: true),
|
235
223
|
FastlaneCore::ConfigItem.new(key: :html,
|
236
224
|
env_name: "FL_SLATHER_HTML_ENABLED",
|
237
225
|
description: "Tell slather that it should output results as static HTML pages",
|
238
|
-
is_string: false,
|
239
226
|
type: Boolean,
|
240
227
|
optional: true),
|
241
228
|
FastlaneCore::ConfigItem.new(key: :show,
|
242
229
|
env_name: "FL_SLATHER_SHOW_ENABLED",
|
243
230
|
description: "Tell slather that it should open static html pages automatically",
|
244
|
-
is_string: false,
|
245
231
|
type: Boolean,
|
246
232
|
default_value: false),
|
247
233
|
FastlaneCore::ConfigItem.new(key: :source_directory,
|
@@ -260,13 +246,11 @@ module Fastlane
|
|
260
246
|
FastlaneCore::ConfigItem.new(key: :verbose,
|
261
247
|
env_name: "FL_SLATHER_VERBOSE",
|
262
248
|
description: "Tell slather to enable verbose mode",
|
263
|
-
is_string: false,
|
264
249
|
type: Boolean,
|
265
250
|
optional: true),
|
266
251
|
FastlaneCore::ConfigItem.new(key: :use_bundle_exec,
|
267
252
|
env_name: "FL_SLATHER_USE_BUNDLE_EXEC",
|
268
253
|
description: "Use bundle exec to execute slather. Make sure it is in the Gemfile",
|
269
|
-
is_string: false,
|
270
254
|
type: Boolean,
|
271
255
|
default_value: false),
|
272
256
|
FastlaneCore::ConfigItem.new(key: :binary_basename,
|
@@ -287,13 +271,13 @@ module Fastlane
|
|
287
271
|
FastlaneCore::ConfigItem.new(key: :source_files,
|
288
272
|
env_name: "FL_SLATHER_SOURCE_FILES",
|
289
273
|
description: "A Dir.glob compatible pattern used to limit the lookup to specific source files. Ignored in gcov mode",
|
290
|
-
|
274
|
+
skip_type_validation: true, # skipping validation for backwards compatibility with Boolean type
|
291
275
|
default_value: false,
|
292
276
|
optional: true),
|
293
277
|
FastlaneCore::ConfigItem.new(key: :decimals,
|
294
278
|
env_name: "FL_SLATHER_DECIMALS",
|
295
279
|
description: "The amount of decimals to use for % coverage reporting",
|
296
|
-
|
280
|
+
skip_type_validation: true, # allow Integer, String
|
297
281
|
default_value: false,
|
298
282
|
optional: true)
|
299
283
|
]
|
@@ -60,12 +60,12 @@ module Fastlane
|
|
60
60
|
def self.available_options
|
61
61
|
[
|
62
62
|
FastlaneCore::ConfigItem.new(key: :project_configuration_path,
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
63
|
+
env_name: "FL_SONAR_RUNNER_PROPERTIES_PATH",
|
64
|
+
description: "The path to your sonar project configuration file; defaults to `sonar-project.properties`", # default is enforced by sonar-scanner binary
|
65
|
+
optional: true,
|
66
|
+
verify_block: proc do |value|
|
67
|
+
UI.user_error!("Couldn't find file at path '#{value}'") unless value.nil? || File.exist?(value)
|
68
|
+
end),
|
69
69
|
FastlaneCore::ConfigItem.new(key: :project_key,
|
70
70
|
env_name: "FL_SONAR_RUNNER_PROJECT_KEY",
|
71
71
|
description: "The key sonar uses to identify the project, e.g. `name.gretzki.awesomeApp`. Must either be specified here or inside the sonar project configuration file",
|
@@ -102,38 +102,31 @@ module Fastlane
|
|
102
102
|
env_name: "FL_SONAR_LOGIN",
|
103
103
|
description: "Pass the Sonar Login token (e.g: xxxxxxprivate_token_XXXXbXX7e)",
|
104
104
|
optional: true,
|
105
|
-
is_string: true,
|
106
105
|
sensitive: true),
|
107
106
|
FastlaneCore::ConfigItem.new(key: :sonar_url,
|
108
107
|
env_name: "FL_SONAR_URL",
|
109
108
|
description: "Pass the url of the Sonar server",
|
110
|
-
optional: true,
|
111
|
-
is_string: true),
|
109
|
+
optional: true),
|
112
110
|
FastlaneCore::ConfigItem.new(key: :sonar_organization,
|
113
111
|
env_name: "FL_SONAR_ORGANIZATION",
|
114
112
|
description: "Key of the organization on SonarCloud",
|
115
|
-
optional: true,
|
116
|
-
is_string: true),
|
113
|
+
optional: true),
|
117
114
|
FastlaneCore::ConfigItem.new(key: :branch_name,
|
118
115
|
env_name: "FL_SONAR_RUNNER_BRANCH_NAME",
|
119
116
|
description: "Pass the branch name which is getting scanned",
|
120
|
-
optional: true,
|
121
|
-
is_string: true),
|
117
|
+
optional: true),
|
122
118
|
FastlaneCore::ConfigItem.new(key: :pull_request_branch,
|
123
119
|
env_name: "FL_SONAR_RUNNER_PULL_REQUEST_BRANCH",
|
124
120
|
description: "The name of the branch that contains the changes to be merged",
|
125
|
-
optional: true,
|
126
|
-
is_string: true),
|
121
|
+
optional: true),
|
127
122
|
FastlaneCore::ConfigItem.new(key: :pull_request_base,
|
128
123
|
env_name: "FL_SONAR_RUNNER_PULL_REQUEST_BASE",
|
129
124
|
description: "The long-lived branch into which the PR will be merged",
|
130
|
-
optional: true,
|
131
|
-
is_string: true),
|
125
|
+
optional: true),
|
132
126
|
FastlaneCore::ConfigItem.new(key: :pull_request_key,
|
133
127
|
env_name: "FL_SONAR_RUNNER_PULL_REQUEST_KEY",
|
134
128
|
description: "Unique identifier of your PR. Must correspond to the key of the PR in GitHub or TFS",
|
135
|
-
optional: true
|
136
|
-
is_string: true)
|
129
|
+
optional: true)
|
137
130
|
]
|
138
131
|
end
|
139
132
|
|