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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2049d1fe850442a4495012f14add74b4990884b6eb13d6ab2fbdc95ccd1c086b
|
4
|
+
data.tar.gz: c9b00dfd95aa2c3df50dd2f4121bae116bd889f94cbf54a8c9ef899036090d2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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-
|
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
|
-
|
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
|