-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devops: encode build number together with Chromium revision (#3769)
This is an alternative approach to #3698 that was setting up a custom mapping between chromium revisions and our mirrored builds. For example, we were taking chromium `792639` and re-packaging it to our CDN as Chromium 1000. One big downside of this opaque mapping was inability to quickly understand which Chromium is mirrored to CDN. To solve this, this patch starts treating browser revision as a fractional number, with and integer part being a chromium revision, and fractional part being our build number. For example, we can generate builds `792639`, `792639.1`, `792639.2` etc, all of which will pick Chromium `792639` and re-package it to our CDN. In the Playwright code itself, there are a handful of places that treat browser revision as integer, exclusively to compare revision with some particular revision numbers. This code would still work as-is, but I changed these places to use `parseFloat` instead of `parseInt` for correctness.
- Loading branch information
1 parent
dfc0006
commit a755d10
Showing
3 changed files
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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 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 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