12 Commits

Author SHA1 Message Date
Ricardo Amador
2e9905afab Update infrastructure python code to be compatible with python 2 and python 3 (flutter/engine#39133)
* Compatibility with python2 and python3

* Formatting

* Updated to use a function instead of decoding bytes in multiple places.

* Formatting and whitespace cleanup.

* Fix import statement.

* Linter change for docstring.

* Formatting.

* Remove function from run_tests.py since it is a pain to import.

* Add todo message for python 2 deprecation.

* Updated copyright year.
2023-01-26 16:04:31 +00:00
Ricardo Amador
9c735ec7dc Move firebase test lab logs to a staging bucket (flutter/engine#35149)
* Updated the bucket for firebase testing to the staging project.

* updated the project.

* Adding environment variables for gcp project and storage bucket.

* Updated to exit if environment variables were not provided.
2022-08-04 16:52:29 -07:00
Zachary Anderson
7572a18ffe pylint a few python scripts and lint in lint.sh (flutter/engine#33675) 2022-06-04 15:21:18 -07:00
Zachary Anderson
1790d5a019 Adds a python formatter (flutter/engine#33797)
* Adds a python formatter

* Apply format
2022-06-03 13:00:14 -07:00
Jia Hao
f9c5d19215 Fix undefined symbol (flutter/engine#29307) 2021-10-25 00:30:21 -07:00
Dan Field
5ad9715fc9 Update firebase_testlab.py (flutter/engine#29239)
Use Pixel 5. Pixel 4 is becoming less available/deprecated on FTL.
2021-10-18 23:53:42 -07:00
Chris Bracken
8803824c64 Migrate all Python hashbangs to Python 3 (flutter/engine#27838)
Migrates all `#!/usr/bin/env python` hashbang lines to use python3.

Also updates the licence tool to treat python3 scripts on par with
python 2 scripts.

Issue: https://github.com/flutter/flutter/issues/83043
2021-07-31 11:09:12 -07:00
Dan Field
298ab24bf5 Reland use a pbuffer surface when in the background (flutter/engine#27629)
* Reland "Use a Pbuffer surface when the onscreen surface is not available for snapshotting on Android (#27141)" (#27607)"

This reverts commit 78663924741a29aeca10648015e39db6fbd28be4.

* Do not let gradle download SDK deps
2021-07-21 15:07:35 -07:00
Dan Field
7866392474 Revert "Use a Pbuffer surface when the onscreen surface is not available for snapshotting on Android (#27141)" (flutter/engine#27607)
This reverts commit 9520cdc6c45bc45f8e944618a0ff641fd5f5429a.
2021-07-20 16:40:55 -07:00
Dan Field
9520cdc6c4 Use a Pbuffer surface when the onscreen surface is not available for snapshotting on Android (flutter/engine#27141) 2021-07-20 16:05:54 -07:00
Dan Field
07dd070024 Fix logcat checking (flutter/engine#27482) 2021-07-16 09:55:26 -07:00
Dan Field
b63739d641 Use python to run firebase testlab, do not expect recipe to know location of APK (flutter/engine#27434) 2021-07-14 23:46:02 -07:00