fastlane-plugin-android_testlab_script_swit 0.1.66 → 0.1.67

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: 27eda109932850f31989ededefe7a0e92b2db4c2f2d4fe7e90919e47de074a39
4
- data.tar.gz: 5c7887bed19cef9ceb484f4f5cf172904bb74bfafc0d598530e5aefa1e7d9299
3
+ metadata.gz: eef5cd9e7d20a0fb21a970fef400180279170dc10379cd0b5174ee2c5ffffeab
4
+ data.tar.gz: 443b6ac87cecdb260f5da2bd40b8cd8b5cc30f1f16f17747e65e8327430108b6
5
5
  SHA512:
6
- metadata.gz: 795f14d58a32319bb75b985117b92f7ee6b572b338a618437a851a605be9ebdef8a73b290a31e027b98505de780a400c186cf66f190457f2bb34a4ab0cbecd4b
7
- data.tar.gz: 631b931276e14c421f22b852868cb22bb1af534acc21755734f9b8c41c157b58cb82602afb5ec89c6628e04d97d8307173c6bcfb8ee8fca4f3d15bd6a3d9ab4a
6
+ metadata.gz: e2f414a3c3fa42ef43c47ef1394f8e80f93618b710fdda8671dac04b881bf8d5c0163773a565fbce655afb865df61347999e81119c09ec75e2227f954f0821d9
7
+ data.tar.gz: 94db7c616f20fe752a02bad703a0be98bf9a9042d15d2cc1986246048e81c87687dae7bd562da069be7444ca47d36feb42520f35c16e13d9673001adcc75bdcf
@@ -27,42 +27,42 @@ module Fastlane
27
27
  UI.message(params[:gcloud_components_channel])
28
28
 
29
29
  # Run Firebase Test Lab
30
- Helper.run_tests(params[:gcloud_components_channel], "--type #{params[:type]} "\
31
- "--app #{params[:app_apk]} "\
32
- "#{"--test #{params[:app_test_apk]} " unless params[:app_test_apk].nil?}"\
33
- "#{"--use-orchestrator " if params[:type] == "instrumentation" && params[:use_orchestrator]}"\
34
- "#{params[:devices].map { |d| "--device model=#{d[:model]},version=#{d[:version]},locale=#{d[:locale]},orientation=#{d[:orientation]} " }.join}"\
35
- "--timeout #{params[:timeout]} "\
36
- "--results-bucket #{results_bucket} "\
37
- "--results-dir #{results_dir} "\
38
- "#{params[:extra_options]} "\
39
- "#{robo_script_option}"\
40
- "--format=json 1>#{Helper.if_need_dir(params[:console_log_file_name])}"
41
- )
42
-
43
- json = JSON.parse(File.read(params[:console_log_file_name]))
44
- UI.message("Test status: #{json}")
30
+ # Helper.run_tests(params[:gcloud_components_channel], "--type #{params[:type]} "\
31
+ # "--app #{params[:app_apk]} "\
32
+ # "#{"--test #{params[:app_test_apk]} " unless params[:app_test_apk].nil?}"\
33
+ # "#{"--use-orchestrator " if params[:type] == "instrumentation" && params[:use_orchestrator]}"\
34
+ # "#{params[:devices].map { |d| "--device model=#{d[:model]},version=#{d[:version]},locale=#{d[:locale]},orientation=#{d[:orientation]} " }.join}"\
35
+ # "--timeout #{params[:timeout]} "\
36
+ # "--results-bucket #{results_bucket} "\
37
+ # "--results-dir #{results_dir} "\
38
+ # "#{params[:extra_options]} "\
39
+ # "#{robo_script_option}"\
40
+ # "--format=json 1>#{Helper.if_need_dir(params[:console_log_file_name])}"
41
+ # )
42
+
43
+ # json = JSON.parse(File.read(params[:console_log_file_name]))
44
+ # UI.message("Test status: #{json}")
45
45
 
46
46
  #
47
47
  payload_string = params[:swit_webhook_payload]
48
48
 
49
49
  # 각 JSON 객체에 대해 반복
50
- json.each do |item|
51
- # 정보 추출하기
52
- axis_value = item["axis_value"]
53
- outcome = item["outcome"]
54
- test_details = item["test_details"]
55
-
56
- # 'axis_value' 분리하기
57
- parts = axis_value.split('-')
58
-
59
- # 출력하기
60
- UI.message("Outcome: #{outcome}, Test Details: #{test_details}")
61
-
62
- parts.each_with_index do |part, index|
63
- UI.message("Part #{index + 1}: #{part}")
64
- end
65
- end
50
+ # json.each do |item|
51
+ # # 정보 추출하기
52
+ # axis_value = item["axis_value"]
53
+ # outcome = item["outcome"]
54
+ # test_details = item["test_details"]
55
+ #
56
+ # # 'axis_value' 분리하기
57
+ # parts = axis_value.split('-')
58
+ #
59
+ # # 출력하기
60
+ # UI.message("Outcome: #{outcome}, Test Details: #{test_details}")
61
+ #
62
+ # parts.each_with_index do |part, index|
63
+ # UI.message("Part #{index + 1}: #{part}")
64
+ # end
65
+ # end
66
66
 
67
67
  # params[:devices].each_with_index do |device, index|
68
68
  # payload_string = +{,
@@ -77,16 +77,16 @@ module Fastlane
77
77
 
78
78
 
79
79
  # Fetch results
80
- download_dir = params[:download_dir]
81
- if download_dir
82
- UI.message("Fetch results from Firebase Test Lab results bucket")
83
- json.each do |status|
84
- axis = status["axis_value"]
85
- Helper.if_need_dir("#{download_dir}/#{axis}")
86
- Helper.copy_from_gcs("#{results_bucket}/#{results_dir}/#{axis}", download_dir)
87
- Helper.set_public("#{results_bucket}/#{results_dir}/#{axis}")
88
- end
89
- end
80
+ # download_dir = params[:download_dir]
81
+ # if download_dir
82
+ # UI.message("Fetch results from Firebase Test Lab results bucket")
83
+ # json.each do |status|
84
+ # axis = status["axis_value"]
85
+ # Helper.if_need_dir("#{download_dir}/#{axis}")
86
+ # Helper.copy_from_gcs("#{results_bucket}/#{results_dir}/#{axis}", download_dir)
87
+ # Helper.set_public("#{results_bucket}/#{results_dir}/#{axis}")
88
+ # end
89
+ # end
90
90
 
91
91
 
92
92
  # Swit Message
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AndroidTestlabScriptSwit
3
- VERSION = "0.1.66"
3
+ VERSION = "0.1.67"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-android_testlab_script_swit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.66
4
+ version: 0.1.67
5
5
  platform: ruby
6
6
  authors:
7
7
  - 나비이쁜이