fastlane-plugin-aws_device_farm 0.3.17.pre.alpha.pre.128 → 0.3.21

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: ffb110f0087afc2c52901e6552dc9b2d6248b042fb928f72f1efba883b15510b
4
- data.tar.gz: 956a1771bc3f8282bb3dd34cf093c08396e62b6c86a7c0ceff272c16dd884290
3
+ metadata.gz: 7b4646c951642040f2cf1734a59d6ad9a4737c26ae317040569c493f373b9f27
4
+ data.tar.gz: '039d262a736b71ccf6554ac861b4eac00e3dfb275f5d3527986fde5206fe90b3'
5
5
  SHA512:
6
- metadata.gz: d7daa5498baed3f68c69f053e95dfdde0cfd8033b03fae2be76eb5671ea96dd356e7a53eb2a0e4f2d26e9ec468da3d98294e9db8373bf7366e5989dfb108316c
7
- data.tar.gz: 530b4eadf4494ee3bdd7475cfdda8d56a593b04aa6d7a4ac2426518757bee9dcb45d78f5c7040a732626cb27b1d15ddcbecacd4e0ad39c5d72008e8fa58c9018
6
+ metadata.gz: ef29d0f1eaabb7870350f1cf47e731514b6e6e1592a8c7203d449f6e2ea8147cb1f7498c66e7a04e0fee787e7327cb44a71b59bf3faef2904b97aaea19f5c018
7
+ data.tar.gz: abfa8684f70ec4bc7fffd04acd6403de6c22ce86e2650a8e2b0763eed70d70ddbb8b858fecd1d0917156b90696bafecdcae0fcf000999fefc5d700c351cdfa53
@@ -18,7 +18,6 @@ module Fastlane
18
18
  # Fetch the device pool.
19
19
  device_pool = fetch_device_pool project, params[:device_pool]
20
20
  raise "Device pool '#{params[:device_pool]}' not found. 🙈" if device_pool.nil?
21
-
22
21
  # Create the upload.
23
22
  path = File.expand_path(params[:binary_path])
24
23
  type = File.extname(path) == '.apk' ? 'ANDROID_APP' : 'IOS_APP'
@@ -86,6 +85,9 @@ module Fastlane
86
85
 
87
86
  run
88
87
  end
88
+
89
+
90
+
89
91
  # rubocop:enable Metrics/BlockNesting
90
92
  #
91
93
  #####################################################
@@ -224,6 +226,14 @@ module Fastlane
224
226
  is_string: true,
225
227
  optional: false
226
228
  ),
229
+ FastlaneCore::ConfigItem.new(
230
+ key: :network_profile_arn,
231
+ env_name: 'FL_AWS_DEVICE_FARM_NETWORK_PROFILE_ARN',
232
+ description: 'Network profile arn you want to use for running the applications',
233
+ default_value: nil,
234
+ optional: false,
235
+ is_string: true
236
+ ),
227
237
  FastlaneCore::ConfigItem.new(
228
238
  key: :wait_for_completion,
229
239
  env_name: 'FL_AWS_DEVICE_FARM_WAIT_FOR_COMPLETION',
@@ -405,7 +415,6 @@ module Fastlane
405
415
  })
406
416
  device_pools.device_pools.detect { |p| p.name == device_pool }
407
417
  end
408
-
409
418
  def self.schedule_run(name, project, device_pool, upload, test_upload, type, params)
410
419
  # Prepare the test hash depening if you passed the test apk.
411
420
  test_hash = { type: 'BUILTIN_FUZZ' }
@@ -431,9 +440,14 @@ module Fastlane
431
440
 
432
441
  configuration_hash = {
433
442
  billing_method: params[:billing_method],
434
- locale: params[:locale]
443
+ locale: params[:locale],
435
444
  }
436
445
 
446
+ # 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
450
+
437
451
  @client.schedule_run({
438
452
  name: name,
439
453
  project_arn: project.arn,
@@ -444,6 +458,7 @@ module Fastlane
444
458
  }).run
445
459
  end
446
460
 
461
+
447
462
  def self.fetch_run_status(run)
448
463
  @client.get_run({
449
464
  arn: run.arn
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AwsDeviceFarm
3
- VERSION = "0.3.17"
3
+ VERSION = "0.3.21"
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.17.pre.alpha.pre.128
4
+ version: 0.3.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Helmut Januschka
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-04 00:00:00.000000000 Z
11
+ date: 2020-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -108,7 +108,7 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
- description:
111
+ description:
112
112
  email: helmut@januschka.com
113
113
  executables: []
114
114
  extensions: []
@@ -125,7 +125,7 @@ homepage: https://github.com/hjanuschka/fastlane-plugin-aws_device_farm
125
125
  licenses:
126
126
  - MIT
127
127
  metadata: {}
128
- post_install_message:
128
+ post_install_message:
129
129
  rdoc_options: []
130
130
  require_paths:
131
131
  - lib
@@ -136,13 +136,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  requirements:
139
- - - ">"
139
+ - - ">="
140
140
  - !ruby/object:Gem::Version
141
- version: 1.3.1
141
+ version: '0'
142
142
  requirements: []
143
- rubyforge_project:
144
- rubygems_version: 2.7.7
145
- signing_key:
143
+ rubygems_version: 3.0.8
144
+ signing_key:
146
145
  specification_version: 4
147
146
  summary: Run UI Tests on AWS Devicefarm
148
147
  test_files: []