Closed lisajguo closed 6 years ago
@MihaiTabara Next to-do here:
Find out exactly what get_locations_paths returns for nightly locations
Add correct regexes for firefox-nightly-ssl, firefox-nightly-latest-l10n, and firefox-nightly-latest-l10n-ssl. I don't have access to bouncer so I can't see what the links look like. I had a screenshot for firefox-nightly-latest, so that should be okay.
Add unit tests for script.bouncer_locations, utils.get_nightly_version, utils.version_bumped_path, task.check_product_names_match_nightly_locations
Status update, leftovers:
get_locations_paths
get_locations_info
. I misread that function initiallyChanges Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
bouncerscript/utils.py | 16 | 27 | 59.26% | ||
bouncerscript/task.py | 3 | 16 | 18.75% | ||
bouncerscript/script.py | 3 | 44 | 6.82% | ||
<!-- | Total: | 25 | 90 | 27.78% | --> |
Totals | |
---|---|
Change from base Build 105: | -21.8% |
Covered Lines: | 233 |
Relevant Lines: | 298 |
Totals | |
---|---|
Change from base Build 119: | 0.0% |
Covered Lines: | 316 |
Relevant Lines: | 316 |
@JohanLorenzo
This is supposed to replace the existing mergeduty steps from here. This job is supposed to run along with the nightly graph twice a day and check if the version has bumped. For most of the cases, the check will be a no-op as the in-tree version will coincide with the bouncer one. But every six weeks, after mergeduty day 2 steps, we bump and tag central + respin nightlies. In that graph, that specific bouncer locations
job will bump that automatically.
(CC-ing @escapewindow to keep him in the loop as he was the first to suggest this improvement)
Triggered a bunch of staging tasks to test the behavior in as many cases as I could cover in the code and things look good!
@JohanLorenzo Thanks again for thorough review! I addressed most of your comments (with 1-2 exceptions where I justified my reasoning). Can you please eye-roll this again to make sure things look good? There's also a thread/conversation/question for you here.
Re-testing things more staging bouncer-locations
jobs look good on maple.
Thank you again @lisajguo for your groundwork contribution here! 👍 Took longer than expected to see this in production but here goes, just landed it! Great work, thanks again!
https://bugzilla.mozilla.org/show_bug.cgi?id=1432656