Unverified Commit 6d8a59c8 authored by Dan Field's avatar Dan Field Committed by GitHub

pass new users for release_smoke_tests (#35130)

parent f9118c0f
......@@ -8,6 +8,16 @@ pushd dev/integration_tests/release_smoke_test
../../../bin/flutter build appbundle --target-platform android-arm,android-arm64
# 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment