fastlane-plugin-aws_device_farm 0.1.6.pre.alpha.pre.20 → 0.1.6.pre.alpha.pre.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
  SHA1:
3
- metadata.gz: a96788c1a0341c3b4acc0f8dabf64de86cd2894d
4
- data.tar.gz: 83e1b7c70e507c93b2eaf07d6837f2d4412d629d
3
+ metadata.gz: 04804046012f4e2c7eedf486608d2874d76d6e84
4
+ data.tar.gz: 4409400cfa89707e10bff64814383920302a26e9
5
5
  SHA512:
6
- metadata.gz: 1bd2d7c3eaa6ed751c53d857f3ebf23c5e7ae256c0a8f5e170a9be0e53d45b025d98d8efe5e048eb1f6a6d1559b617d237a189b56121a83289aa3b113f1a65ed
7
- data.tar.gz: f58a095c9ec71fc57d2bae6f1b44465133d33a51364328a18d8cb6f745b71bbea29f0643d7771cea7423758c0d20c4c4dcbe012cabb0f5f866ed68391471f5df
6
+ metadata.gz: 2807b32a7fd6a53acd0100f00d82ba868e75f775f28899dd6ad42131fd8340f9acc23bba7ce72ca2ac2dfe5bdac537189935ae2c80fa9ac993dae15db9c8ba4d
7
+ data.tar.gz: 21c0f314de8c8c4b2ae5f157a74d8d71bc103e23aa1f3bdb5735b31910f49507d2f58bdb75cf2168b25d426184dcf9e0d571e23ba98873cd03199651f760f8f8
@@ -53,7 +53,7 @@ module Fastlane
53
53
  raise 'Binary upload failed. 🙈' unless upload.status == 'SUCCEEDED'
54
54
 
55
55
  # Schedule the run.
56
- run = schedule_run project, device_pool, upload, test_upload, type
56
+ run = schedule_run params[:run_name], project, device_pool, upload, test_upload, type
57
57
 
58
58
  # Wait for run to finish.
59
59
  if params[:wait_for_completion]
@@ -89,6 +89,13 @@ module Fastlane
89
89
  default_value: 'fastlane',
90
90
  optional: false
91
91
  ),
92
+ FastlaneCore::ConfigItem.new(
93
+ key: :run_name,
94
+ env_name: 'FL_AWS_DEVICE_FARM_RUN_NAME',
95
+ description: 'Define the name of the device farm run',
96
+ is_string: true,
97
+ optional: true
98
+ ),
92
99
  FastlaneCore::ConfigItem.new(
93
100
  key: :binary_path,
94
101
  env_name: 'FL_AWS_DEVICE_FARM_PATH',
@@ -201,7 +208,7 @@ module Fastlane
201
208
  device_pools.device_pools.detect { |p| p.name == device_pool }
202
209
  end
203
210
 
204
- def self.schedule_run(project, device_pool, upload, test_upload, type)
211
+ def self.schedule_run(name, project, device_pool, upload, test_upload, type)
205
212
  # Prepare the test hash depening if you passed the test apk.
206
213
  test_hash = { type: 'BUILTIN_FUZZ' }
207
214
  if test_upload
@@ -213,6 +220,7 @@ module Fastlane
213
220
  end
214
221
 
215
222
  @client.schedule_run({
223
+ name: name,
216
224
  project_arn: project.arn,
217
225
  app_arn: upload.arn,
218
226
  device_pool_arn: device_pool.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.1.6.pre.alpha.pre.20
4
+ version: 0.1.6.pre.alpha.pre.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: 2016-11-25 00:00:00.000000000 Z
11
+ date: 2016-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk