fastlane-plugin-run_tests_firebase_testlab 0.2.1 → 0.2.2

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: 4a10d969f2555ff26e10ae66859426c9f32996f5
4
- data.tar.gz: 264aa03f45c6d91e65cc61f611f1d977c6c689ed
3
+ metadata.gz: dd77d3df648dfd0f3228e53dd2c869c0c4c2d4d7
4
+ data.tar.gz: c3db685dec065ee58c9cc26b8b6accbdf26914cf
5
5
  SHA512:
6
- metadata.gz: 0c9f8d00706533372151ac7ef8da21bc96434f87eff234aa33e07abb8f0c6131b1087eff5268b803cb5ac22d0df9c2d54d05a0d22c776424dd2ee61054340c25
7
- data.tar.gz: ce01898eedf65708c75a91a87e699f7e9696a2473b9d645567ac9be486079f1c6877c99f88a20f1956b206e846d706c1edd2dcf135a60a12a4d6cde6f8b67fb5
6
+ metadata.gz: e51d57e579196d0d0815764219ac787b40abf17354ede3d01001bbe4932be20f833b526cca5475244be0427427005b5d6e66644739207f7555a3ad7f659da370
7
+ data.tar.gz: e4a8b9ac6f94e24c4a2bc7e9b59cd391aa63077ca60e1d6b3cad4c0657a07317c298d393a9edd05326ab6845bb3c80dcd9a93b34cdf130f2b7d227c460add202
data/README.md CHANGED
@@ -3,6 +3,8 @@
3
3
  [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-run_tests_firebase_testlab)
4
4
  [![Build
5
5
  Status](https://travis-ci.org/pink-room/fastlane-plugin-run_tests_firebase_testlab.svg?branch=master)](https://travis-ci.org/pink-room/fastlane-plugin-run_tests_firebase_testlab)
6
+ [![Gem
7
+ Version](https://badge.fury.io/rb/fastlane-plugin-run_tests_firebase_testlab.svg)](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
 
@@ -49,8 +49,10 @@ module Fastlane
49
49
  UI.message("bucket: #{params[:bucket_url]}")
50
50
  end
51
51
 
52
- UI.message("Downloading instrumentation test results from Firebase Test Lab...")
53
- Action.sh("#{Commands.download_results} #{params[:bucket_url]} #{params[:output_dir]}")
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
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module RunTestsFirebaseTestlab
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
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.1
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-09-27 00:00:00.000000000 Z
11
+ date: 2018-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry