Commit graph

216 commits

Author SHA1 Message Date
Jonah Williams 33873cf724
Revert "Allow rebuilding of docker image, re-enable deploy gallery macos (#43362)" (#43557)
This reverts commit 8e8d235dd1.
2019-10-25 18:16:04 -07:00
Christopher Fujino 8e8d235dd1
Allow rebuilding of docker image, re-enable deploy gallery macos (#43362) 2019-10-25 15:10:16 -07:00
Yegor 903ebd714d
Fix and enable most of material tests for Web (#43019) 2019-10-24 21:35:14 -07:00
Ian Hickson 45e9f657c0
ENABLE_ANDROID_EMBEDDING_V2 isn't a general thing. (#43379) 2019-10-23 17:22:07 -07:00
Jonah Williams 22f0bf87e4
Silence presubmit codecov checks (#43183) 2019-10-21 16:54:02 -07:00
Ian Hickson 124dc6617f
Clean up test infrastructure (#43030)
See #41880 for history.
2019-10-18 16:35:39 -07:00
Jonah Williams 1982a5c3ec
Revert "Clean up test infrastructure (#41880)" (#42982)
This reverts commit 1781d5c9bb.
2019-10-17 19:47:16 -07:00
Ian Hickson 1781d5c9bb
Clean up test infrastructure (#41880) 2019-10-17 19:22:47 -07:00
Emmanuel Garcia 08c645b3b2
Test the Android embedding v2 (#42708)
* Test the Android embedding v2

* Update integration tests

* Split into shards
2019-10-16 21:26:10 -07:00
Ray Rischpater, KF6GPE 430f4c13fa
Use Cirrus credits for billing. (#42867) 2019-10-16 13:33:31 -07:00
Yegor 86f069f1c0
Add most of the widget tests; add more web test shards (#42807) 2019-10-16 09:18:44 -07:00
Jenn Magder a62bb3d9ab
Update minimum version to Xcode 10.2 (#42254) 2019-10-14 12:45:40 -07:00
Emmanuel Garcia 6430b440d7
Update docker_builder dependencies (#42462) 2019-10-10 14:14:53 -07:00
Yegor 9cd9680b5e
Shard web tests; enable semantics tests on the Web (#42203)
Shard web tests; enable semantics tests on the Web
2019-10-10 07:04:38 -07:00
Ian Hickson 8c6d60bcfd
Move commands into their own shard (#39140) 2019-10-02 12:46:51 -07:00
Christopher Fujino e70236e36c
Fix tools test verifyVersion() regex (#41744) 2019-10-02 09:32:30 -07:00
Jenn Magder 1eb1e2226b
Skip pod initialization if version >= 1.8.0. (#41491) 2019-09-30 13:14:42 -07:00
Fedor Korotkov fce8c06a21 Explicitly set CocoaPods version (#41145)
Fixes #41144
Merge on red to fix builds.
2019-09-23 22:20:40 -07:00
Jonah Williams 7179b6653d
fix skips to include all channels (#40119) 2019-09-10 07:44:35 -07:00
Jonah Williams 4b655e4b42
Revert "Build flutter_gallery with bitcode (#39851)" (#39912) 2019-09-05 11:02:20 -07:00
Dan Field b6abf0ca3d
Build flutter_gallery with bitcode (#39851) 2019-09-05 10:05:39 -07:00
Ian Hickson 2efbc11b7a
Revert "Keep Flutter.framework binaries writable so they can be code signed (#39539)" (#39859)
This reverts commit 72cacb4040.
2019-09-04 17:47:39 -07:00
Jenn Magder 72cacb4040
Keep Flutter.framework binaries writable so they can be code signed (#39539) 2019-09-03 18:00:45 -07:00
Jenn Magder 2a59acc04e
Skip failing add2app test to unblock roll (#39509) 2019-08-29 12:44:36 -07:00
Dan Field 2a6f1b7342
Fix up iOS Add to App tests (#38603) 2019-08-14 23:01:17 -07:00
Kate Lovett 59a570f618
Re-enabling post-submit gold tests on mac (#38326) 2019-08-12 13:31:32 -07:00
Jonah Williams 7d154e883e
Skip widget tests on non framework change (#37941) 2019-08-12 09:14:51 -07:00
Jonah Williams 445e5e290b
skip docs shard on changes that exclude docs (#37940) 2019-08-09 10:52:58 -07:00
Yegor 9bc298deb6
update dependencies; add a Web smoke test (#37816)
update dependencies; add a Web smoke test
2019-08-09 09:58:49 -07:00
Jonah Williams 210be96408
test tool scheduling (#37904) 2019-08-08 19:51:32 -07:00
Dan Field 9ae76255b3
reduce mac workload (#37880) 2019-08-08 12:43:37 -07:00
jmagman 67e5b9c784
Disable gem documentation generation on Cirrus (#37740) 2019-08-07 18:43:37 -07:00
Emmanuel Garcia 4f88649552
Run Gradle tests on Windows (#36901) 2019-07-29 09:28:40 -07:00
Kate Lovett 616794fca7
Re-land "Part 1: Skia Gold Testing" (#36103) 2019-07-28 12:26:06 -07:00
Kate Lovett 0379dd1c26
Updating cirrus fingerprint script to include goldens version (#36690) 2019-07-23 09:30:41 -07:00
xster 1387e7fe32
Attempt to re-enable integration_tests-macos (#36123) 2019-07-15 15:12:14 -07:00
Christopher Fujino 102ab1e6d9
Reland bundle ios deps (#36093)
This updates the flutter tool cache to download binary files for ideviceinstaller, ios-deploy, libimobiledevice, and dynamically linked dependencies from Flutter's GCP bucket.
2019-07-15 09:22:29 -07:00
Kate Lovett 8809f698cb
Revert "Part 1: Skia Gold Testing (#33688)" (#36094)
This reverts commit eb0b179028.
Skia Gold post-submit test were failing due to the service account not being found on Cirrus.
2019-07-12 13:35:36 -07:00
Kate Lovett eb0b179028
Part 1: Skia Gold Testing (#33688)
* Fresh PR for Gold integration.

* Nits

* WIP

* Artifacts from merge

* Changed some platform dependencies for web, added library prefix notation for Skia Gold test names.

* Updating for CI implementation

* Write out service account

* Writing to skip out

* WIP

* ++

* Fixing depot tools deps

* Windows depot_tools

* Fixing setup scripts

* ++

* depot tools

* ++

* WIP

* Tracing depot_tools clone

* WIP

* ++

* analyzer

* WIP

* chrome typo

* copy artifact

* Working on tests

* Code cleanup

* ++

* Code cleanup, updated tests

* ++ review feedback

* Review

* Analyzer

* Review feedback

* Nits from review

* PRogress

* ++

* Fixing tests

* ++

* Testing repo route

* Just needing documention around new structures.

* cleanup

* Analyzer

* Documentation updates

* Documentation updates

* Cirrus updates

* cirrus nit

* Review feedback

* Review feedback

* Fixing skip comparator

* Fix base directory for Skia Gold case

* ++

* Feedback

* ++

* Fixed uri assertion

* Made GoldensClient abstract, altered SkiaGoldClient constructor

* Analyzer
2019-07-12 12:23:04 -07:00
Christopher Fujino e91822da24
Revert "Bundle ios dependencies (#34669)" (#36071)
This reverts commit 14d489adc5.
2019-07-12 09:03:34 -07:00
Christopher Fujino 14d489adc5
Bundle ios dependencies (#34669)
This updates the flutter tool to cache binary files for ideviceinstaller, ios-deploy, libimobiledevice, and dynamically linked dependencies from Flutter's GCP bucket.
2019-07-12 08:36:18 -07:00
Ian Hickson 176ebfd53e
flutter/tests support (#33140)
This introduces a script that implements the conventions described in https://github.com/flutter/tests/pull/1.
2019-07-10 12:10:28 -07:00
Jonah Williams 41c7f0a9da
disable web tests (#35792) 2019-07-09 06:13:28 -07:00
Jonah Williams c0b932080e
Apply coverage skip math correctly (#35288) 2019-06-28 13:57:10 -07:00
Jonah Williams 8de62ab700
attempt to not skip coverage on post commit (#35246) 2019-06-28 11:09:36 -07:00
Jonah Williams abc2923076
skip tools coverage on unrelated PRs (#35233) 2019-06-27 21:48:49 -07:00
Jonah Williams 92574d9572
Remove skip clause on tools coverage (#35157) 2019-06-27 06:00:25 -07:00
Jonah Williams 33ad5bac34
Attempt to enable tool coverage redux (#35074) 2019-06-26 16:02:49 -07:00
Dan Field bb79ff3b49
More shards (#34877)
Shard tool_tests
2019-06-26 13:55:16 -07:00
Dan Field 3630525673
Shard gradle tests (#34857) 2019-06-21 12:05:06 -07:00
Dan Field a0fc3f3150
Shard framework tests (#34812) 2019-06-20 14:35:33 -07:00
Jonah Williams b9932d55e7
Add linux doctor implementation (#34755) 2019-06-20 08:20:57 -07:00
Dan Field 86c3ae7611
Revert "Backup docs (#34757)" (#34761)
This reverts commit 3ca7609810.
2019-06-19 19:39:49 -07:00
Dan Field 3ca7609810
Backup docs (#34757) 2019-06-19 18:30:39 -07:00
Jonah Williams 830fb38640
Revert "Add basic desktop linux checks (#31873)" (#34753)
This reverts commit f221ad1f92.
2019-06-19 16:03:05 -07:00
Jonah Williams f221ad1f92
Add basic desktop linux checks (#31873) 2019-06-19 15:51:21 -07:00
Dan Field 1d0aa02ac7
Re-enable docs with new container (#34681) 2019-06-18 16:08:28 -07:00
Dan Field 4a60bee7c0
Release diagnostics (#34474)
Skip diagnostics on release mode, add test in firebase testlab
2019-06-18 11:06:09 -07:00
Todd Volkert b8117e2fe3
Disable the docs shard to get the build green (#34654)
https://github.com/flutter/flutter/issues/34435
2019-06-18 10:24:16 -07:00
Todd Volkert 2d1cd482cf
Temporarily allow failures on the docs shard (#34618)
https://github.com/flutter/flutter/issues/34435
2019-06-17 20:27:04 -07:00
Jonah Williams 361e8c75d7
Allow web tests to fail in cirrus config (#34436) 2019-06-13 13:43:20 -07:00
Jenn Magder c8bf7abeee
Disable CocoaPods input and output paths in Xcode build phase and adopt new Xcode build system (#34167)
Updates the Podfile template to use the CocoaPod disable_input_output_paths installation option which prevents the [CP] Embed Pods Frameworks build phase from outputting the Flutter.framework files.
2019-06-10 14:30:28 -07:00
Jonah Williams 7f7c00a4e9
Enable web foundation tests (#34032) 2019-06-09 11:03:46 -07:00
Jonah Williams 698d458dc8
Add chrome stable to dockerfile and web shard (#33787) 2019-06-06 21:10:24 -07:00
Jenn Magder 035e3d37d7
Revert "Disable CocoaPods input and output paths in Xcode build phase and adopt new Xcode build system (#33852)" (#33882)
This reverts commit d053fe5cb3.
2019-06-04 15:35:35 -07:00
Jenn Magder d053fe5cb3
Disable CocoaPods input and output paths in Xcode build phase and adopt new Xcode build system (#33852)
Updates the Podfile template to use the CocoaPod disable_input_output_paths installation option which prevents the [CP] Embed Pods Frameworks build phase from outputting the Flutter.framework files.
2019-06-04 12:17:57 -07:00
Jenn Magder 9734f4ed43 Revert "Disable CocoaPods input and output paths in Xcode build phase and adopt new Xcode build system (#33684)"
This reverts commit ef792fc30d.
2019-06-03 17:19:53 -07:00
Jenn Magder ef792fc30d
Disable CocoaPods input and output paths in Xcode build phase and adopt new Xcode build system (#33684)
Updates the Podfile template to use the CocoaPod disable_input_output_paths installation option which prevents the [CP] Embed Pods Frameworks build phase from outputting the Flutter.framework files.
2019-06-03 16:11:33 -07:00
Fedor Korotkov 4bc8e9c00e [ci] use Windows Container 2019 (#33248)
They are newer and faster to start
2019-05-23 09:35:58 -07:00
xster b04d38be1b
Fix commit message UTF issue for deploy_gallery shard too (#31885) 2019-05-01 16:43:23 -07:00
Dan Field cfc3572572
make windows/mac consistent with linux (#31936) 2019-05-01 15:18:03 -07:00
Jonah Williams 20d8ea78f4
Disable macOS integration tests (#31216) 2019-04-17 16:00:12 -07:00
xster e8c14e639d
Update the upload key which seems to have trouble for some reason (#30871) 2019-04-10 15:49:11 -07:00
xster d0f89c1190
Fix gallery deploy on iOS (#22810) 2019-04-05 18:55:33 -07:00
liyuqian 0b68712246
Change -c to --enable-asserts (#30055)
Unblock the engine roll that includes the Dart roll that removes `-c`.
2019-03-27 12:31:04 -07:00
Fedor Korotkov e525e64270 Speed up CI via mojave-flutter image (#29669) 2019-03-20 14:51:45 -07:00
Fedor Korotkov 1ab1fc6f70 Install JDK and Android SDK only for integration tests (#29229)
* Install JDK and Android SDK only for integration and build tests
2019-03-12 16:08:03 -07:00
Dan Field 837b330fcd
Update .cirrus.yml (#29129)
I inadvertently commented this out in my previous PR around this.
2019-03-10 11:11:59 -07:00
Dan Field 2a644f301e
Run non-perf sensitive tests on Cirrus (#27971)
* Run non-perf sensisitive tests on Cirrus
2019-03-10 07:52:44 -07:00
Dan Field 0360d0f274
print system time on all mac builds (#29025) 2019-03-08 07:08:32 -08:00
Dan Field 20e0f13cc9
Test reporter (#28297)
* Wrap test.main with a custom processor
* Report test results to bigquery table
2019-03-06 13:13:45 -08:00
Reece Dunham d4474128c5 Update macOS version in tests (#28852)
This switches the Cirrus macOS images to use Mojave, since Cirrus has deprecated the High Sierra images.
2019-03-06 09:35:27 -08:00
Reece Dunham 910638b0a4 Removed trailing whitespace from the end of the CI config (#28370) 2019-02-25 10:29:24 -08:00
Dan Field b484a9129c
add2app test (#27712)
* add2app test
2019-02-23 09:56:27 -08:00
Ray Rischpater, KF6GPE d39a72516a
deploy to .dev firebase projects. (#28171)
* deploy to .dev firebase projects.

* Updated secrets for .dev web sites.

* Fixed missing docs.*.io references.
2019-02-21 21:21:43 -08:00
Ian Hickson 58939b70ef Prevent tests from importing other tests. (#27800)
This pattern is problematic when Flutter is ported to build systems
that require each executable end-point to be self-contained (e.g.
Bazel).
2019-02-12 12:29:36 -08:00
Greg Spencer 30ba6575c0
Re-enable compute credites for macOS PRs only. (#26403) 2019-01-11 07:52:09 -08:00
Amir Hardon 3782b6abf2
Workaround the Gradle crash due to non ASCII chars. (#26024)
Cirrus puts the PR description and commit message in environment
variables.
These messages tend to have non ASCII characters sometimes (like
emojis), which triggers a Gradle bug (gradle/gradle#3117) resulting
in Gradle crashing without a helpful error message.

The real solution to this problem should be fixing the Gradle bug.
The better workaround on the Flutter side would be to set a UTF8 locale
on the Cirrus machine, but I have yet figured out how to do it.
For now to avoid more people from hitting this I'm working around by
temporarily unsetting the Cirrus environment variables with the PR
description and commit message.

A non ASCII character to make sure it works: 😄
2019-01-03 16:27:47 -08:00
Danny Tuppeny c19142d8b7
Support ANDROID_SDK_ROOT in addition to ANDROID_HOME (#25221)
* Fall back to ANDROID_SDK_ROOT if ANDROID_HOME is not set

And update descriptions to use the non-deprecated ANDROID_SDK_ROOT.

Fixes #15114.

* Remove trailing whitespace

* Update dev/devicelab/lib/framework/adb.dart

Co-Authored-By: DanTup <danny@tuppeny.com>

* Reformat long line
2018-12-17 17:29:09 +00:00
Dan Field 72926bdff7
Smoke test building IPA and APK on supported platforms (#24601)
* build tests - AOT on all, APK on Linux, IPA on Mac
2018-11-29 09:32:11 -08:00
Fedor Korotkov 9ae2bad10d [ci] add more memory (#24445)
While investigating reports from @gspencergoog about unexpectedly failing tasks I've found out that `tool_tests` sometimes fails with Out Of Memory errors. I've also added detection of such issues to Cirrus CI.
2018-11-16 14:55:14 -08:00
Greg Spencer ada1d29075
Turn of use of compute credits for PR builds. (#24352) 2018-11-14 12:47:39 -08:00
Yegor 8d643013b1
add AOT smoke tests to Cirrus (#22751) 2018-10-08 12:38:46 -07:00
Greg Spencer 3dbcfc73b9
Add correct environment to allow deploy of gallery app. (#21713)
The Gallery deployment was missing some secrets in order to correctly deploy. This adds those missing secrets as encrypted env vars.
2018-10-04 15:59:25 -07:00
Greg Spencer 9f0183eaaf
Turn on compute credits for all contributor builds (#22000) 2018-09-19 12:22:40 -07:00
TL Lee e2167b9f53
Add build test for Flutter codelabs (#19579)
* Add build test for Flutter codelabs

* Fix indentation in build test script

* Correct filename for the codelabs build test run by travis

* Change if statement to elif

* Replace echo statements with set -x

* Add BSD-style license

* Add codelabs build test to Cirrus

* Remove codelabs_build_test from Travis.

* Remove codelabs_build_test from travis_script.sh

* Update documentation for codelabs_build_test.sh

* Update readme for build test

* Add link to open a new issue to MDC-Flutter

* Add phrase to address "if you think you really need to break this test, please escalate this"
2018-09-06 17:16:22 -04:00
Alexander Aprelev 391e91c996
Split analysis steps out of dev/bots/test.dart into dev/bots/analyze.dart (#21174)
* Split analysis steps out of dev/bots/test.dart into dev/bots/analyze.dart.

This allows to run analysis step with command line arguments that are only applicable to flutter analyze(like --dart-sdk, needed for dart-flutter-engine head-head-head bot).

* Add forgotten dev/bots/analyze.dart

* Refactor common code from analyze.dart and test.dart into run_command.dart

* Remove comments, add header
2018-08-30 07:30:25 -07:00
Greg Spencer 68e030052e
Fix a bug in docker_push.sh, and indent in .cirrus.yml (#20308) 2018-08-08 09:54:56 -07:00
Greg Spencer 77645df72c
Try again to switch docs and gallery deployment to Cirrus (#20276)
This switches docs and gallery build and deployment to use Cirrus CI instead of Travis, reapplying the changes from #19925, but updating the Firebase tokens for upload, and refining docs.sh some to limit retries to five times (instead of indefinitely).
2018-08-06 17:33:31 -07:00
Greg Spencer 47bdb54e22
Revert "Move docs and gallery deployment to Cirrus, add Docker image for Linux (#20097)" (#20209)
This reverts commit a5c2ddddaa.
Docs push requires different auth options... Will reland shortly.
2018-08-03 18:16:51 -07:00
Greg Spencer a5c2ddddaa
Move docs and gallery deployment to Cirrus, add Docker image for Linux (#20097)
This adds a Docker image for the linux builds, replacing a lot of the setup code with a Docker build.

Added a docker image build step that has the right gcloud credentials in it.

Also, this finally moves the gallery deployment and docs publishing steps to Cirrus. They were dependent upon some environment setup that was a lot easier to do in Docker than in a setup bash script.
2018-08-03 17:28:34 -07:00
Danny Tuppeny 07e93b385c Add pub cache, artifacts, pkgs to Cirrus cache (#20080)
This adds:
 - pub's cache to the Cirrus cache. It caches based on the checksums in the pubspec (although pub has things in versioned folders, this'll prevent the cache just getting bigger over time).
 - bin/cache/pkg. I think this only includes sky_engine. It caches based on the engine checksum.
 - bin/cache/artifacts. This includes engine, gradle_wrapper, material_fonts. Also caches based on the engine checksum.
2018-08-02 12:45:07 -07:00
Fedor Korotkov 8380e20f28 Run macOS builds only if analyze task passed (#20119)
This will reduce load on macOS community cluster.
2018-08-02 09:58:23 -07:00
Danny Tuppeny ffbaa97b50
Remove SHARD env that was overriding matrix (#20134) 2018-08-02 10:39:33 +01:00
Danny Tuppeny 766982ae3c
Add spaces to path for macOS too (#20088) 2018-08-01 21:32:06 +01:00
Danny Tuppeny c3248b79fc
Merge the two Windows and two Mac sections into one with matrix (#20077) 2018-08-01 17:34:36 +01:00
Greg Spencer 711ecf7f58
Revert "Move docs and gallery deployment to Cirrus (#19925)" (#20003)
This reverts commit c36032c65f, because
we're missing some credentials for pushing the gallery.

Submitting TBR to unbreak the build.

TBR=tvolkert
2018-07-30 12:35:15 -07:00
Greg Spencer c36032c65f
Move docs and gallery deployment to Cirrus (#19925)
This moves the docs generation and gallery upload to Cirrus CI, which is another step in turning off
Travis.
2018-07-30 10:29:57 -07:00
Greg Spencer 1a414990ab
Move commit range determination inside of test.dart (#19777)
Our Cirrus Windows tests were not really working: they reported success even when failing.

This should fix several problems with the Cirrus Windows tests.
2018-07-25 15:19:57 -07:00
Greg Spencer f44f625c06
Fix whitespace detector to handle deleted files. (#19690)
The trailing whitespace detector wasn't handling file deletes very well (at all, really).

This filters the set of files grepped to only include files that exist.

Also, clarified the failure message to make it more obvious what the failure is when the grep finds results.
2018-07-23 15:41:31 -07:00
Greg Spencer 90a5f4613f
Separate tools tests from other tests and put them in a different shard. (#19593) 2018-07-20 10:21:34 -07:00
Greg Spencer 9f39039f7b
Add presubmit test for trailing whitespace. (#19412)
Checks only changed source files (C++, Dart, Java, ObjC) for trailing whitespace.
2018-07-19 23:05:37 -07:00
Greg Spencer 2af2a08288
Turn on MacOS tests on Cirrus (#19424)
Cirrus CI has macOS VMs, so this turns on an instance for tests so that we can evaluate if we can use Cirrus for all three platforms or not.
2018-07-18 15:33:38 -07:00
Fedor Korotkov 67b5ed4aee Use cirrusci/windowsservercore:2016 container for CI (#18202)
* Use `cirrusci/windowsservercore:2016` container for CI

with 4 CPUs

* Removed `Dockerfile.windows`
2018-06-06 08:43:13 -07:00
Fedor Korotkov d0125d94b0 Renamed CI tasks (#17216)
* Renamed CI tasks

`tests` to `tests-linux`
`windows` to `tests-windows`

* Explicitly specify shards everywhere
2018-05-03 11:24:02 -07:00
Fedor Korotkov 7333459916 Configure Cirrus CI (#16224)
* Configure Cirrus CI

* Read file directly instead of shelling a command

* Wait for all streams to finish

* Add LTR `textDirection`

Since `RenderFlex#_debugHasNecessaryDirections` requires it when `direction` is horizontal and there are multiple children.
2018-05-01 15:11:21 -07:00