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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b4646c951642040f2cf1734a59d6ad9a4737c26ae317040569c493f373b9f27
|
4
|
+
data.tar.gz: '039d262a736b71ccf6554ac861b4eac00e3dfb275f5d3527986fde5206fe90b3'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
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-
|
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:
|
141
|
+
version: '0'
|
142
142
|
requirements: []
|
143
|
-
|
144
|
-
|
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: []
|