fastlane-plugin-firebase_app_distribution 0.9.0.pre.4 → 0.9.0
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ed146d48ff09a46b608e01e483f207ce62a2809d9a8ded675c56d0b22802ba7
|
4
|
+
data.tar.gz: 18b893dc6b1a79a339fb7aeb8c432c13bd419d04df78dc4c5606dbfd24db64a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afa135119953bc3ee405aa868e1f5012b0e1dc9ac1240b02a895f437125b142b5e58a9930e4dc137fcfac92e3711db9ac364d07c98f33e61a6de652e878bdf46
|
7
|
+
data.tar.gz: c263365d7d45466c43486fb78548c7b0191b3f502e4e207f83b4674180badb457cb35e0f14e927f3a7c82841b6544ff5d44e0e05f99837f6ae45331dda9dbd92
|
data/lib/fastlane/plugin/firebase_app_distribution/actions/firebase_app_distribution_action.rb
CHANGED
@@ -88,8 +88,9 @@ module Fastlane
|
|
88
88
|
get_value_from_value_or_file(params[:test_devices], params[:test_devices_file])
|
89
89
|
if present?(test_devices)
|
90
90
|
UI.message("🤖 Starting automated tests. Note: This feature is in beta.")
|
91
|
-
|
92
|
-
|
91
|
+
test_password = test_password_from_params(params)
|
92
|
+
release_test = test_release(alpha_client, release, test_devices, params[:test_username], test_password, params[:test_username_resource], params[:test_password_resource])
|
93
|
+
unless params[:test_non_blocking]
|
93
94
|
poll_test_finished(alpha_client, release_test.name)
|
94
95
|
end
|
95
96
|
end
|
@@ -133,6 +134,12 @@ module Fastlane
|
|
133
134
|
"Release your beta builds with Firebase App Distribution"
|
134
135
|
end
|
135
136
|
|
137
|
+
def self.test_password_from_params(params)
|
138
|
+
test_password = get_value_from_value_or_file(params[:test_password], params[:test_password_file])
|
139
|
+
# Remove trailing newline if present
|
140
|
+
test_password && test_password.sub(/\r?\n$/, "")
|
141
|
+
end
|
142
|
+
|
136
143
|
def self.app_id_from_params(params)
|
137
144
|
if params[:app]
|
138
145
|
app_id = params[:app]
|
@@ -522,23 +529,33 @@ module Fastlane
|
|
522
529
|
optional: true,
|
523
530
|
type: String),
|
524
531
|
FastlaneCore::ConfigItem.new(key: :test_username,
|
532
|
+
env_name: "FIREBASEAPPDISTRO_TEST_USERNAME",
|
525
533
|
description: "Username for automatic login",
|
526
534
|
optional: true,
|
527
535
|
type: String),
|
528
536
|
FastlaneCore::ConfigItem.new(key: :test_password,
|
529
|
-
|
537
|
+
env_name: "FIREBASEAPPDISTRO_TEST_PASSWORD",
|
538
|
+
description: "Password for automatic login. If using a real password consider using test_password_file or setting FIREBASEAPPDISTRO_TEST_PASSWORD to avoid exposing sensitive info",
|
530
539
|
optional: true,
|
531
540
|
type: String),
|
541
|
+
FastlaneCore::ConfigItem.new(key: :test_password_file,
|
542
|
+
env_name: "FIREBASEAPPDISTRO_TEST_PASSWORD_FILE",
|
543
|
+
description: "Path to file containing password for automatic login",
|
544
|
+
optional: true,
|
545
|
+
type: String),
|
532
546
|
FastlaneCore::ConfigItem.new(key: :test_username_resource,
|
547
|
+
env_name: "FIREBASEAPPDISTRO_TEST_USERNAME_RESOURCE",
|
533
548
|
description: "Resource name for the username field for automatic login",
|
534
549
|
optional: true,
|
535
550
|
type: String),
|
536
551
|
FastlaneCore::ConfigItem.new(key: :test_password_resource,
|
552
|
+
env_name: "FIREBASEAPPDISTRO_TEST_PASSWORD_RESOURCE",
|
537
553
|
description: "Resource name for the password field for automatic login",
|
538
554
|
optional: true,
|
539
555
|
type: String),
|
540
|
-
FastlaneCore::ConfigItem.new(key: :
|
541
|
-
|
556
|
+
FastlaneCore::ConfigItem.new(key: :test_non_blocking,
|
557
|
+
env_name: "FIREBASEAPPDISTRO_TEST_NON_BLOCKING",
|
558
|
+
description: "Run automated tests without waiting for them to finish. Visit the Firebase console for the test results",
|
542
559
|
optional: false,
|
543
560
|
default_value: false,
|
544
561
|
type: Boolean),
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-firebase_app_distribution
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.0
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Natchev
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2024-02-
|
13
|
+
date: 2024-02-08 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: google-apis-firebaseappdistribution_v1
|