Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
39954a09
Unverified
Commit
39954a09
authored
Apr 07, 2020
by
Tong Wu
Committed by
GitHub
Apr 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[cleanup] Remove unused script (#54155)
parent
de1baeea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
56 deletions
+0
-56
debug_smoke_ftl.sh
dev/bots/debug_smoke_ftl.sh
+0
-56
No files found.
dev/bots/debug_smoke_ftl.sh
deleted
100755 → 0
View file @
de1baeea
#!/usr/bin/env bash
# Copyright 2014 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
set
-e
GIT_REVISION
=
$(
git rev-parse HEAD
)
# New contributors will not have permissions to run this test - they won't be
# able to access the service account information. We should just mark the test
# as passed - it will run fine on post submit, where it will still catch
# failures.
# We can also still make sure that building a release app bundle still works.
if
[[
$GCLOUD_FIREBASE_TESTLAB_KEY
==
ENCRYPTED
*
]]
;
then
echo
"This user does not have permission to run this test."
exit
0
fi
echo
$GCLOUD_FIREBASE_TESTLAB_KEY
>
${
HOME
}
/gcloud-service-key.json
gcloud auth activate-service-account
--key-file
=
${
HOME
}
/gcloud-service-key.json
gcloud
--quiet
config
set
project flutter-infra
pushd
dev/integration_tests/release_smoke_test
../../../bin/flutter build appbundle
\
--debug
\
--target
"test_adapter/hello_world_test.dart"
pushd
android
./gradlew assembleAndroidTest
popd
# Firebase Test Lab tests are currently known to be failing with
# "Firebase Test Lab infrastructure failure: Error during preprocessing"
# Remove "|| exit 0" once the failures are resolved
# https://github.com/flutter/flutter/issues/36501
# Runs on an emulator because it's cheaper.
gcloud firebase
test
android run
\
--type
=
instrumentation
\
--app
=
"build/app/outputs/bundle/debug/app.aab"
\
--test
=
"build/app/outputs/apk/androidTest/debug/app-debug-androidTest.apk"
\
--device
=
"model=Pixel2,version=28,locale=en,orientation=portrait"
\
--timeout
2m
\
--results-bucket
=
gs://flutter_firebase_testlab
\
--results-dir
=
release_smoke_test/
$GIT_REVISION
/
$CIRRUS_BUILD_ID
||
exit
0
popd
# Check logcat for "E/flutter" - if it's there, something's wrong.
gsutil
cp
gs://flutter_firebase_testlab/release_smoke_test/
$GIT_REVISION
/
$CIRRUS_BUILD_ID
/Pixel2-28-en-portrait/logcat /tmp/logcat
!
grep
"E/flutter"
/tmp/logcat
||
false
grep
"I/flutter"
/tmp/logcat
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment