This repository was archived by the owner on Feb 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6k
[web] add a CIPD browser roller (Chromium only for now) #31740
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
94dc6f3
[web] add a CIPD browser roller (Chromium only for now)
yjbanov f8100a7
Add getChromeDriverDownloadUrl to PlatformBinding
ditman 8f21aaa
Update build IDs for Chromium 96 and link to docs.
ditman 0984d73
Convert file from CRLF to LF
ditman d400a93
Added a chromedriver roller.
ditman fa62398
Some tweaks from the review. Ensure the ZIP format is what we want in…
ditman 916cc5a
Enable cipd create command.
ditman bf10956
Package backwards/forward compatible.
ditman d9ec43e
Update README.md
ditman b173b9d
fix Windows file structure; disable concurrency
yjbanov ea415af
Make docs more similar to the Canvaskit roller ones.
ditman adb1c59
Document, and implement, the quirks of how our browsers are rolled to…
ditman 5ffbc26
Roll smaller packages as 96.2
ditman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,49 +1,55 @@ | ||
| # Please refer to the "Upgrade Browser Version" section in the README.md for | ||
| # more details on how to update browser version numbers. | ||
| chrome: | ||
| # It seems Chrome can't always release from the same build for all operating | ||
| # systems, so we specify per-OS build number. | ||
| # | ||
| # The OS names here must match what recipe Python expression | ||
| # `self.m.platform.name.capitalize()` evaluates to. See: | ||
| # | ||
| # recipe_modules/web_util/api.py | ||
| Linux: 927388 # Major version 96 | ||
| Mac: 927385 # Major version 96 | ||
| Win: 927369 # Major version 96 | ||
|
|
||
| ## Firefox does not use CIPD. To update the version, simply update it in this | ||
| ## file. | ||
| firefox: | ||
| version: '83.0' | ||
|
|
||
| edge: | ||
| launcher_version: '1.2.0.0' | ||
|
|
||
| safari_ios: | ||
| # Make sure this version is the same version supported by LUCI macOS bots. | ||
| # XCode on these bots will be updated once a year, do not forget to update | ||
| # `heightOfHeader` during this time. | ||
| major_version: 13 | ||
| minor_version: 0 | ||
| device: 'iPhone 11' | ||
| # `xcrun simctl` command is used to take screenshots. It takes the screenshot | ||
| # of the entire simulator. Therefore we need to crop all the parts other than | ||
| # the browsers' content. This file must be in sync with the local and LUCI | ||
| # versions of macOS, iOS Simulator, and Xcode. | ||
| # `heightOfHeader` is the number of pixels taken by the phone's header menu | ||
| # and the browsers address bar. | ||
| # TODO: https://github.com/flutter/flutter/issues/65672 | ||
| height_of_header: 189 | ||
| # `heightOfFooter` is the number of pixels taken by the phone's navigation | ||
| # menu. | ||
| height_of_footer: 250 | ||
| # Most of the time tests use a portion of the screen to compare goldens | ||
| # instead of the entire screen. This area is reprented by a rectangle | ||
| # when taking screenshots. However the rectangle dimensions are in logical | ||
| # coordinates. In order to convert these coordinates to coordinates on the | ||
| # phone screeen we enlarge or shrink the area by applying a linear | ||
| # transformation by a scale_factor (a.k.a. we perform isotropic scaling). | ||
| # This value will be differ depending on the phone. | ||
| # For iOS 13.0 iPhone 11 Pro, this number is 1.15. | ||
| scale_factor: 1.00 | ||
| # Please refer to the "Upgrade Browser Version" section in the README.md for | ||
| # more details on how to update browser version numbers. | ||
| chrome: | ||
| # It seems Chrome can't always release from the same build for all operating | ||
| # systems, so we specify per-OS build number. | ||
| # | ||
| # Follow these instructions to find the correct build number for a specific | ||
| # Chromium version + OS combo: | ||
| # | ||
| # https://www.chromium.org/getting-involved/download-chromium/#downloading-old-builds-of-chrome-chromium | ||
| # | ||
| # The OS names here must match what recipe Python expression | ||
| # `self.m.platform.name.capitalize()` evaluates to. See: | ||
| # | ||
| # recipe_modules/web_util/api.py | ||
| Linux: 929514 | ||
| Mac: 929514 | ||
| Win: 929514 | ||
| version: '96.2' # CIPD tag for the above Build IDs. Normally "ChromeMajorVersion.UploadAttempt". ;) | ||
|
|
||
| ## Firefox does not use CIPD. To update the version, simply update it in this | ||
| ## file. | ||
| firefox: | ||
| version: '83.0' | ||
|
|
||
| edge: | ||
| launcher_version: '1.2.0.0' | ||
|
|
||
| safari_ios: | ||
| # Make sure this version is the same version supported by LUCI macOS bots. | ||
| # XCode on these bots will be updated once a year, do not forget to update | ||
| # `heightOfHeader` during this time. | ||
| major_version: 13 | ||
| minor_version: 0 | ||
| device: 'iPhone 11' | ||
| # `xcrun simctl` command is used to take screenshots. It takes the screenshot | ||
| # of the entire simulator. Therefore we need to crop all the parts other than | ||
| # the browsers' content. This file must be in sync with the local and LUCI | ||
| # versions of macOS, iOS Simulator, and Xcode. | ||
| # `heightOfHeader` is the number of pixels taken by the phone's header menu | ||
| # and the browsers address bar. | ||
| # TODO: https://github.com/flutter/flutter/issues/65672 | ||
| height_of_header: 189 | ||
| # `heightOfFooter` is the number of pixels taken by the phone's navigation | ||
| # menu. | ||
| height_of_footer: 250 | ||
| # Most of the time tests use a portion of the screen to compare goldens | ||
| # instead of the entire screen. This area is reprented by a rectangle | ||
| # when taking screenshots. However the rectangle dimensions are in logical | ||
| # coordinates. In order to convert these coordinates to coordinates on the | ||
| # phone screeen we enlarge or shrink the area by applying a linear | ||
| # transformation by a scale_factor (a.k.a. we perform isotropic scaling). | ||
| # This value will be differ depending on the phone. | ||
| # For iOS 13.0 iPhone 11 Pro, this number is 1.15. | ||
| scale_factor: 1.00 | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.