fastlane-plugin-aws_device_farm 0.1.9 → 0.2.0

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: 168275a9388e77a11bdc15737bc09fdf4b138d3a
4
- data.tar.gz: d35760bb53419e5b5f963d31a50460a7bc9d8c20
3
+ metadata.gz: b1cacb7979a3e535319a9ab553f3a197e655194d
4
+ data.tar.gz: 30241618463c0436cae053c74c3fe4a328200a12
5
5
  SHA512:
6
- metadata.gz: 8ee2d05fa68647f822f207097850f9e3a5277ea9269d062340206ccbd277f654598f26d36f8e72feb529f91675b549899b6ac3244ff2011eae7e7cb4c77671ce
7
- data.tar.gz: 8e90f9958cd208ae8528ec88b0d18260b9db3f972e036b77a0e7ed4e53bb4e3debe9734ea0ab851700ac1eb3fde33fb2cc22c0178895fd20f7ffa8ecf77f4fa0
6
+ metadata.gz: 7567a21a561ee1e23da5f2186801459b3d887993a24e9d460f67e40efa9b433dec3328e578a4fdea7b447c2dc6b93913cb01047b95bd0fbd32a9e9d8deaf7377
7
+ data.tar.gz: aff5087e77a846b56c28a282dfb6063f080312738dbc87bca4df715e07f98cd6490e8a434164bebc2977db9ff899e4edb7cffa487178217b0450394c7eb59a12
data/README.md CHANGED
@@ -35,7 +35,6 @@ lane :aws_device_run_ios do
35
35
  ENV['AWS_ACCESS_KEY_ID'] = 'xxxxx'
36
36
  ENV['AWS_SECRET_ACCESS_KEY'] = 'xxxxx'
37
37
  ENV['AWS_REGION'] = 'us-west-2'
38
-
39
38
  #Build For Testing
40
39
  xcodebuild(
41
40
  scheme: 'UITests',
@@ -78,7 +77,7 @@ end
78
77
  ## Options
79
78
 
80
79
  * **aws_device_farm**
81
-
80
+
82
81
  | Option | Default | Description | Type |
83
82
  |---|---|---|---|
84
83
  | name | fastlane | AWS Device Farm Project Name | String |
@@ -86,7 +85,7 @@ end
86
85
  | test_binary_path | | Path to App Binary | String |
87
86
  | device_pool | IOS | AWS Device Farm Device Pool | String |
88
87
  | wait_for_completion | true | Wait for Test-Run to be completed | Boolean |
89
-
88
+ | allow_device_errors | false | Do you want to allow device booting errors? | Boolean |
90
89
 
91
90
 
92
91
  * **aws_device_farm_package**
@@ -97,7 +96,6 @@ end
97
96
  | derrived_data_path | Development | Specify the Build-Configuration that was used e.g.: Development | String |
98
97
 
99
98
 
100
-
101
99
  ## Credit
102
100
  it is based on a custom action by @icapps (https://github.com/icapps/fastlane-configuration)
103
101
  added the following:
@@ -105,7 +103,7 @@ added the following:
105
103
  * support current `fastlane` version
106
104
  * improve output
107
105
  * make it available as a `fastlane` plugin
108
-
106
+
109
107
 
110
108
  ## Troubleshooting
111
109
 
@@ -59,8 +59,11 @@ module Fastlane
59
59
  if params[:wait_for_completion]
60
60
  UI.message 'Waiting for the run to complete. ☕️'
61
61
  run = wait_for_run run
62
- raise "#{run.message} Failed 🙈" unless %w(PASSED WARNED).include? run.result
63
-
62
+ if params[:allow_device_errors] == true
63
+ raise "#{run.message} Failed 🙈" unless %w[PASSED WARNED ERRORED].include? run.result
64
+ else
65
+ raise "#{run.message} Failed 🙈" unless %w[PASSED WARNED].include? run.result
66
+ end
64
67
  UI.message 'Successfully tested the application on the AWS device farm. ✅'.green
65
68
  else
66
69
  UI.message 'Successfully scheduled the tests on the AWS device farm. ✅'.green
@@ -115,7 +118,6 @@ module Fastlane
115
118
  verify_block: proc do |value|
116
119
  raise "Test binary not found at path '#{value}'. 🙈".red unless File.exist?(File.expand_path(value))
117
120
  end
118
-
119
121
  ),
120
122
  FastlaneCore::ConfigItem.new(
121
123
  key: :path,
@@ -142,6 +144,14 @@ module Fastlane
142
144
  is_string: false,
143
145
  optional: true,
144
146
  default_value: true
147
+ ),
148
+ FastlaneCore::ConfigItem.new(
149
+ key: :allow_device_errors,
150
+ env_name: 'FL_AWS_DEVICE_FARM_ALLOW_ERROR',
151
+ description: 'Do you want to allow device booting errors?',
152
+ is_string: false,
153
+ optional: true,
154
+ default_value: false
145
155
  )
146
156
  ]
147
157
  end
@@ -249,9 +259,11 @@ module Fastlane
249
259
  rows = []
250
260
  job.jobs.each do |j|
251
261
  if j.result == "PASSED"
252
- status = "💚"
262
+ status = "💚 (#{j.result})"
263
+ elsif j.result == "ERRORED"
264
+ status = "📵 (#{j.result})"
253
265
  else
254
- status = "💥"
266
+ status = "💥 (#{j.result})"
255
267
  end
256
268
  rows << [status, j.name, j.device.form_factor, j.device.platform, j.device.os]
257
269
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AwsDeviceFarm
3
- VERSION = "0.1.9"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,111 +1,111 @@
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.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Helmut Januschka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-09 00:00:00.000000000 Z
11
+ date: 2017-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pry
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rubocop
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: fastlane
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: 1.105.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: 1.105.0
111
111
  description:
@@ -114,13 +114,13 @@ executables: []
114
114
  extensions: []
115
115
  extra_rdoc_files: []
116
116
  files:
117
+ - LICENSE
118
+ - README.md
119
+ - lib/fastlane/plugin/aws_device_farm.rb
117
120
  - lib/fastlane/plugin/aws_device_farm/actions/aws_device_farm_action.rb
118
121
  - lib/fastlane/plugin/aws_device_farm/actions/aws_device_farm_package.rb
119
122
  - lib/fastlane/plugin/aws_device_farm/helper/aws_device_farm_helper.rb
120
123
  - lib/fastlane/plugin/aws_device_farm/version.rb
121
- - lib/fastlane/plugin/aws_device_farm.rb
122
- - README.md
123
- - LICENSE
124
124
  homepage: https://github.com/hjanuschka/fastlane-plugin-aws_device_farm
125
125
  licenses:
126
126
  - MIT
@@ -131,17 +131,17 @@ require_paths:
131
131
  - lib
132
132
  required_ruby_version: !ruby/object:Gem::Requirement
133
133
  requirements:
134
- - - '>='
134
+ - - ">="
135
135
  - !ruby/object:Gem::Version
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
141
  version: '0'
142
142
  requirements: []
143
143
  rubyforge_project:
144
- rubygems_version: 2.0.14.1
144
+ rubygems_version: 2.6.8
145
145
  signing_key:
146
146
  specification_version: 4
147
147
  summary: Run UI Tests on AWS Devicefarm