Open major opened 6 years ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
sktm/init.py | 0 | 12 | 0.0% | ||
<!-- | Total: | 16 | 28 | 57.14% | --> |
Totals | |
---|---|
Change from base Build 343: | 1.0% |
Covered Lines: | 323 |
Relevant Lines: | 924 |
@veruu What if we did something like this:
patch
table as soon as sktm sees thempatch
table to hold the Jenkins job name/build id (this would signify that the patch is currently being tested)pendingpatches
tableid
in the patch
table to be an auto incremented integerid
to patch_id
in the patch
tablepatchsource_id
and patch_id
in the patch
tableThis would reduce the complexity in the database and let the patch
table be the source of truth for sktm.
The downside would be that we would have the Jenkins data appearing repeatedly in the patch
table. We could still have a pendingjobs
table and link to that if it makes more sense.
This PR adjusts
sktm
to store patches in the database as soon as they are received. It also transforms thependingpatches
table into a linkage between a list of patches and a Jenkins job that is testing those patches.This work is required so that sktm can exit after queueing jobs and check on those jobs later as described in #110.