• Zachary Anderson's avatar
    Allows adding a storage 'realm' to the storage base URL (#131951) · 118c2df7
    Zachary Anderson authored
    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.
    118c2df7
Name
Last commit
Last update
..
README.md Loading commit data...
canvaskit.version Loading commit data...
engine.merge_method Loading commit data...
engine.realm Loading commit data...
engine.version Loading commit data...
exit_with_errorlevel.bat Loading commit data...
flutter_packages.version Loading commit data...
fuchsia-linux.version Loading commit data...
fuchsia-mac.version Loading commit data...
gradle_wrapper.version Loading commit data...
ios-deploy.version Loading commit data...
libimobiledevice.version Loading commit data...
libplist.version Loading commit data...
libzip.version Loading commit data...
material_fonts.version Loading commit data...
openssl.version Loading commit data...
shared.bat Loading commit data...
shared.sh Loading commit data...
update_dart_sdk.ps1 Loading commit data...
update_dart_sdk.sh Loading commit data...
usbmuxd.version Loading commit data...