flutter/packages/flutter_tools/test
Zachary Anderson 118c2df776
Allows adding a storage 'realm' to the storage base URL (#131951)
Context: https://github.com/flutter/flutter/issues/131862

This PR injects a "realm" component to the storage base URL when the contents of the file `bin/internal/engine.realm` is non-empty.

As documented in the PR, when the realm is `flutter_archives_v2`, and `bin/internal/engine.version` contains the commit hash for a commit in a `flutter/engine` PR, then the artifacts pulled by the tool will be the artifacts built by the presubmit checks for the PR.

This works for everything but the following two cases:
1. Fuchsia artifacts are not uploaded to CIPD by the Fuchsia presubmit builds.
2. Web artifacts are not uploaded to gstatic by the web engine presubmit builds.

For (1), the flutter/flutter presubmit `fuchsia_precache` is driven by a shell script outside of the repo. It will fail when the `engine.version` and `engine.realm` don't point to a post-submit engine commit.

For (2), the flutter/flutter web presubmit tests that refer to artifacts in gstatic hang when the artifacts aren't found, so this PR skips them.
2023-08-09 23:26:05 +00:00
..
commands.shard make --dart-define override redundant values in --dart-define-from-file (#131088) 2023-08-04 04:00:12 +00:00
data Bump lower Dart SDK constraints to 3.0 & add class modifiers (#122546) 2023-03-21 20:21:58 +00:00
general.shard Allows adding a storage 'realm' to the storage base URL (#131951) 2023-08-09 23:26:05 +00:00
host_cross_arch.shard [flutter_tools] Use process matcher for multidex test (#127996) 2023-06-01 22:24:08 +00:00
integration.shard Upgrade compile and target sdk versions in tests and benchmarks (#131428) 2023-07-31 18:10:24 +00:00
src Check for simulator runtime in flutter doctor (#131795) 2023-08-04 17:14:06 +00:00
web.shard Add vmservice for android build options (#123034) 2023-04-18 18:16:09 +00:00