Commit graph

47 commits

Author SHA1 Message Date
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