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

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: 2049d1fe850442a4495012f14add74b4990884b6eb13d6ab2fbdc95ccd1c086b
4
+ data.tar.gz: c9b00dfd95aa2c3df50dd2f4121bae116bd889f94cbf54a8c9ef899036090d2d
5
5
  SHA512:
6
- metadata.gz: d7daa5498baed3f68c69f053e95dfdde0cfd8033b03fae2be76eb5671ea96dd356e7a53eb2a0e4f2d26e9ec468da3d98294e9db8373bf7366e5989dfb108316c
7
- data.tar.gz: 530b4eadf4494ee3bdd7475cfdda8d56a593b04aa6d7a4ac2426518757bee9dcb45d78f5c7040a732626cb27b1d15ddcbecacd4e0ad39c5d72008e8fa58c9018
6
+ metadata.gz: 1dc70a616c75a6b3379bff9a9a54734dc2f6dc20933873ced913d38305c11799ed8604d1fe958d8e117f342bb0fe12039263fa600c8b54103d56580ba86acd64
7
+ data.tar.gz: 365bbf4a553bb0331abdefd8794243fb244dc82f7ed1a3f5449f62cbcad655c131b13599721583d84c166a0c3e9de95a0e125d0b9411754918a709316c6b1c88
@@ -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.pre.alpha.pre.192
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-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
@@ -140,8 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  - !ruby/object:Gem::Version
141
141
  version: 1.3.1
142
142
  requirements: []
143
- rubyforge_project:
144
- rubygems_version: 2.7.7
143
+ rubygems_version: 3.0.8
145
144
  signing_key:
146
145
  specification_version: 4
147
146
  summary: Run UI Tests on AWS Devicefarm