Merge ~cjwatson/launchpad:fix-cibuild-deletion into launchpad:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | 5721a104512416403b09eaf7bc25d252ba04d86a |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:fix-cibuild-deletion |
Merge into: | launchpad:master |
Diff against target: |
116 lines (+49/-3) 2 files modified
lib/lp/code/model/cibuild.py (+32/-3) lib/lp/code/model/tests/test_cibuild.py (+17/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jürgen Gmach | Approve | ||
Review via email: mp+427772@code.launchpad.net |
Commit message
Fix CI build deletion when deleting a Git repository
Description of the change
We need to delete associated `BuildQueue` and `BuildFarmJob` rows as well, otherwise various things break if there happens to be a running CI build for a repository that's being deleted.
To post a comment you must log in.