Directly specify keystore to prevent debug key signing flake in Deferred components integration test. (#89606)

This commit is contained in:
Gary Qian 2021-09-08 13:08:41 -07:00 committed by GitHub
parent 41101b7058
commit 13b38add89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,12 +27,12 @@ rm -f build/app/outputs/bundle/release/run_logcat.log
flutter build appbundle flutter build appbundle
java -jar $bundletool_jar_path build-apks --bundle=build/app/outputs/bundle/release/app-release.aab --output=build/app/outputs/bundle/release/app-release.apks --local-testing java -jar $bundletool_jar_path build-apks --bundle=build/app/outputs/bundle/release/app-release.aab --output=build/app/outputs/bundle/release/app-release.apks --local-testing --ks android/testing-keystore.jks --ks-key-alias testing_key --ks-pass pass:012345
java -jar $bundletool_jar_path install-apks --apks=build/app/outputs/bundle/release/app-release.apks java -jar $bundletool_jar_path install-apks --apks=build/app/outputs/bundle/release/app-release.apks
$adb_path shell " $adb_path shell "
am start -n io.flutter.integration.deferred_components_test/.MainActivity am start -n io.flutter.integration.deferred_components_test/.MainActivity
sleep 12 sleep 20
exit exit
" "
$adb_path logcat -d -t "$script_start_time" -s "flutter" > build/app/outputs/bundle/release/run_logcat.log $adb_path logcat -d -t "$script_start_time" -s "flutter" > build/app/outputs/bundle/release/run_logcat.log