fastlane-plugin-aws_device_farm 0.3.21 → 0.3.22

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b4646c951642040f2cf1734a59d6ad9a4737c26ae317040569c493f373b9f27
4
- data.tar.gz: '039d262a736b71ccf6554ac861b4eac00e3dfb275f5d3527986fde5206fe90b3'
3
+ metadata.gz: 544099256d12f0d4004bf995b4637165af3e9cb3f0f1025b83ae0811a85dcd18
4
+ data.tar.gz: c9d236866960147a9cc11b2e790448ee6e8a59820d2a6f4b698c399045a6eea4
5
5
  SHA512:
6
- metadata.gz: ef29d0f1eaabb7870350f1cf47e731514b6e6e1592a8c7203d449f6e2ea8147cb1f7498c66e7a04e0fee787e7327cb44a71b59bf3faef2904b97aaea19f5c018
7
- data.tar.gz: abfa8684f70ec4bc7fffd04acd6403de6c22ce86e2650a8e2b0763eed70d70ddbb8b858fecd1d0917156b90696bafecdcae0fcf000999fefc5d700c351cdfa53
6
+ metadata.gz: f67516db86753025e49530d857f347f7531d8c0692ecc773476eebd980dd11246604c9531cdf224e9d574d94816eec4eac90b95ab824d07b5227c7f7a4ce7f24
7
+ data.tar.gz: 38123de0baf6645c47ef6b35dcc0e93d981f565fc8c1c85c136d10664c395acd31e23efc96eb1c6a6030d121cd74e2b2824e5a6e532b3c4d8bcecb1e388320e6
data/README.md CHANGED
@@ -84,21 +84,32 @@ The plugin also exposes two ENV variables in case you want to make additional ca
84
84
 
85
85
  * **aws_device_farm**
86
86
 
87
- | Option | Default | Description | Type |
88
- |---|---|---|---|
89
- | name | fastlane | AWS Device Farm Project Name | String |
90
- | binary_path | | Path to App Binary | String |
91
- | test_binary_path | | Path to test bundle | String |
92
- | test_package_type | | Type of test package | String |
93
- | test_type | | Type of test | String |
94
- | device_pool | IOS | AWS Device Farm Device Pool | String |
95
- | wait_for_completion | true | Wait for Test-Run to be completed | Boolean |
96
- | allow_device_errors | false | Do you want to allow device booting errors? | Boolean |
97
- | allow_failed_tests | false | Do you want to allow failing tests? | Boolean |
98
- | test_spec | | Define the device farm custom TestSpec ARN to use (can be obtained using the AWS CLI `devicefarm list-uploads` command) | String |
87
+ | Option | Default | Description | Type | Required |
88
+ |---|---|---|---|---|
89
+ | name | `fastlane` | AWS Device Farm Project Name | String | :white_check_mark: |
90
+ | run_name | | Define the name of the device farm run | String | |
91
+ | binary_path | | Path to App Binary | String | :white_check_mark: |
92
+ | test_binary_path | | Path to test bundle | String | |
93
+ | test_package_type | | Type of test package | String | |
94
+ | test_type | | Type of test | String | |
95
+ | path | | Define the path of the application binary (apk or ipa) to upload to the device farm project | String | :white_check_mark: |
96
+ | device_pool | `IOS` | AWS Device Farm Device Pool | String | :white_check_mark: |
97
+ | network_profile_arn | | Network profile arn you want to use for running the applications | String | |
98
+ | wait_for_completion | `true` | Wait for Test-Run to be completed | Boolean | |
99
+ | allow_device_errors | `false` | Do you want to allow device booting errors? | Boolean | |
100
+ | allow_failed_tests | `false` | Do you want to allow failing tests? | Boolean | |
99
101
  | filter | | Define a filter for your test run and only run the tests in the filter (note that using `test_spec` overrides the `filter` option) | String |
100
- | print_web_url_of_run | false | Do you want to print the web url of run in the messages? | Boolean |
101
- | print_waiting_periods | true | Do you want to print `.` while waiting for a run? | Boolean
102
+ | billing_method | `METERED` | Specify the billing method for the run | String | |
103
+ | locale | `en_US` | Specify the locale for the run | String | |
104
+ | test_spec | | Define the device farm custom TestSpec ARN to use (can be obtained using the AWS CLI `devicefarm list-uploads` command) | String |
105
+ | print_web_url_of_run | `false` | Do you want to print the web url of run in the messages? | Boolean | |
106
+ | print_waiting_periods | `true` | Do you want to print `.` while waiting for a run? | Boolean | |
107
+ | junit_xml_output_path | `junit.xml` | JUnit xml output path | String | |
108
+ | junit_xml | `false` | Do you want to create JUnit.xml? | Boolean | |
109
+ | artifact | `false` | Do you want to download Artifact? | Boolean | |
110
+ | artifact_output_dir | `./test_outputs` | Artifact output directory | String | |
111
+ | artifact_types | `[]` | Specify the artifact types one wants to download | Array | |
112
+
102
113
 
103
114
  Possible types see: http://docs.aws.amazon.com/sdkforruby/api/Aws/DeviceFarm/Client.html#create_upload-instance_method
104
115
 
@@ -230,8 +230,7 @@ module Fastlane
230
230
  key: :network_profile_arn,
231
231
  env_name: 'FL_AWS_DEVICE_FARM_NETWORK_PROFILE_ARN',
232
232
  description: 'Network profile arn you want to use for running the applications',
233
- default_value: nil,
234
- optional: false,
233
+ optional: true,
235
234
  is_string: true
236
235
  ),
237
236
  FastlaneCore::ConfigItem.new(
@@ -350,7 +349,13 @@ module Fastlane
350
349
  'SCREENSHOT']
351
350
  raise "Artifact type concludes invalid values are: '#{(value - valid_values)}'. 🙈".red unless (value - valid_values).empty?
352
351
  end
353
- )
352
+ ),
353
+ FastlaneCore::ConfigItem.new(
354
+ key: :additional_configuration,
355
+ description: 'Additional configuration settings',
356
+ type: Hash,
357
+ optional: true,
358
+ ),
354
359
  ]
355
360
  end
356
361
 
@@ -444,9 +449,14 @@ module Fastlane
444
449
  }
445
450
 
446
451
  # Get the network profile from params if value is provided
447
- if params[:network_profile_arn]
448
- configuration_hash[:network_profile_arn] = params[:network_profile_arn]
449
- end
452
+ if params[:network_profile_arn]
453
+ configuration_hash[:network_profile_arn] = params[:network_profile_arn]
454
+ end
455
+
456
+ # Add additional configuration arguments if provided.
457
+ if params[:additional_configuration]
458
+ configuration_hash.update(params[:additional_configuration])
459
+ end
450
460
 
451
461
  @client.schedule_run({
452
462
  name: name,
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AwsDeviceFarm
3
- VERSION = "0.3.21"
3
+ VERSION = "0.3.22"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-aws_device_farm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.21
4
+ version: 0.3.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Helmut Januschka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-28 00:00:00.000000000 Z
11
+ date: 2021-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -140,7 +140,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  - !ruby/object:Gem::Version
141
141
  version: '0'
142
142
  requirements: []
143
- rubygems_version: 3.0.8
143
+ rubyforge_project:
144
+ rubygems_version: 2.7.9
144
145
  signing_key:
145
146
  specification_version: 4
146
147
  summary: Run UI Tests on AWS Devicefarm