mozilla-releng / bouncerscript

1 stars 9 forks source link

automate nightly latest bouncer products #32

Closed lisajguo closed 6 years ago

lisajguo commented 6 years ago

https://bugzilla.mozilla.org/show_bug.cgi?id=1432656

lisajguo commented 6 years ago

Based on Mihai's task https://tools.taskcluster.net/groups/RRARPYuXT6qHChjOW7ubyw/tasks/N9YyF5s-TuCSuvCqn4HLSA/details

lisajguo commented 6 years ago

@MihaiTabara Next to-do here:

MihaiTabara commented 6 years ago

Status update, leftovers:

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 107


Changes 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 Coverage Status
Change from base Build 105: -21.8%
Covered Lines: 233
Relevant Lines: 298

💛 - Coveralls
coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 122


Totals Coverage Status
Change from base Build 119: 0.0%
Covered Lines: 316
Relevant Lines: 316

💛 - Coveralls
MihaiTabara commented 6 years ago

@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)

MihaiTabara commented 6 years ago

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!

MihaiTabara commented 6 years ago

@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.

MihaiTabara commented 6 years ago

Re-testing things more staging bouncer-locations jobs look good on maple.

MihaiTabara commented 6 years ago

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!