fastlane-plugin-run_tests_firebase_testlab 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dd77d3df648dfd0f3228e53dd2c869c0c4c2d4d7
|
|
4
|
+
data.tar.gz: c3db685dec065ee58c9cc26b8b6accbdf26914cf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e51d57e579196d0d0815764219ac787b40abf17354ede3d01001bbe4932be20f833b526cca5475244be0427427005b5d6e66644739207f7555a3ad7f659da370
|
|
7
|
+
data.tar.gz: e4a8b9ac6f94e24c4a2bc7e9b59cd391aa63077ca60e1d6b3cad4c0657a07317c298d393a9edd05326ab6845bb3c80dcd9a93b34cdf130f2b7d227c460add202
|
data/README.md
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
[](https://rubygems.org/gems/fastlane-plugin-run_tests_firebase_testlab)
|
|
4
4
|
[](https://travis-ci.org/pink-room/fastlane-plugin-run_tests_firebase_testlab)
|
|
6
|
+
[](https://badge.fury.io/rb/fastlane-plugin-run_tests_firebase_testlab)
|
|
6
8
|
|
|
7
9
|
Please, read [this](https://medium.com/pink-room-club/android-continuous-integration-using-fastlane-and-circleci-2-0-part-i-7204e2e7b8b) blog post if you want to know better
|
|
8
10
|
how to use this plugin.
|
|
@@ -142,6 +144,13 @@ run_tests_firebase_testlab(
|
|
|
142
144
|
<td>Created from GCLOUD_SERVICE_KEY environment variable</td>
|
|
143
145
|
</tr>
|
|
144
146
|
|
|
147
|
+
<tr>
|
|
148
|
+
<td>should_download_from_firebase</td>
|
|
149
|
+
<td>A flag to control if the firebase files should be downloaded from the bucket or not</td>
|
|
150
|
+
<td>Yes</td>
|
|
151
|
+
<td>true</td>
|
|
152
|
+
</tr>
|
|
153
|
+
|
|
145
154
|
</tbody>
|
|
146
155
|
</table>
|
|
147
156
|
|
data/lib/fastlane/plugin/run_tests_firebase_testlab/actions/run_tests_firebase_testlab_action.rb
CHANGED
|
@@ -49,8 +49,10 @@ module Fastlane
|
|
|
49
49
|
UI.message("bucket: #{params[:bucket_url]}")
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
if params[:download_results_from_firebase]
|
|
53
|
+
UI.message("Downloading instrumentation test results from Firebase Test Lab...")
|
|
54
|
+
Action.sh("#{Commands.download_results} #{params[:bucket_url]} #{params[:output_dir]}")
|
|
55
|
+
end
|
|
54
56
|
|
|
55
57
|
if params[:delete_firebase_files]
|
|
56
58
|
UI.message("Deleting files from firebase storage...")
|
|
@@ -161,7 +163,13 @@ module Fastlane
|
|
|
161
163
|
description: "File path containing the gcloud auth key. Default: Created from GCLOUD_SERVICE_KEY environment variable",
|
|
162
164
|
is_string: true,
|
|
163
165
|
optional: true,
|
|
164
|
-
default_value: nil)
|
|
166
|
+
default_value: nil),
|
|
167
|
+
FastlaneCore::ConfigItem.new(key: :download_results_from_firebase,
|
|
168
|
+
env_name: "SHOULD_DOWNLOAD_FROM_FIREBASE",
|
|
169
|
+
description: "A flag to control if the firebase files should be downloaded from the bucket or not. Default: true",
|
|
170
|
+
is_string: false,
|
|
171
|
+
optional: true,
|
|
172
|
+
default_value: true)
|
|
165
173
|
]
|
|
166
174
|
end
|
|
167
175
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastlane-plugin-run_tests_firebase_testlab
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bruno Correia
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-11-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry
|