Merge lp://qastaging/~doanac/uci-engine/db-workflow into lp://qastaging/uci-engine
Status: | Merged |
---|---|
Approved by: | Andy Doan |
Approved revision: | 505 |
Merged at revision: | 542 |
Proposed branch: | lp://qastaging/~doanac/uci-engine/db-workflow |
Merge into: | lp://qastaging/uci-engine |
Diff against target: |
378 lines (+147/-14) 11 files modified
lander/bin/lander_process_ticket.py (+4/-2) lander/lander/run_worker.py (+2/-1) lander/lander/tests/test_process_ticket.py (+10/-1) lander/lander/tests/test_service_wrapper.py (+11/-1) lander/lander/workflow.py (+3/-7) ticket_system/setup.py (+1/-0) ticket_system/ticket/admin.py (+7/-1) ticket_system/ticket/management/__init__.py (+28/-0) ticket_system/ticket/migrations/0002_uce0.py (+25/-1) ticket_system/ticket/models.py (+41/-0) ticket_system/ticket/tests/test_models.py (+15/-0) |
To merge this branch: | bzr merge lp://qastaging/~doanac/uci-engine/db-workflow |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Francis Ginther | Approve | ||
Evan (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
William Grant | Pending | ||
Review via email:
|
Commit message
ticket-system: add concept of "workflow"
We have a "todo" in our lander to get the workflow for a ticket
from the ticket-system. This adds a new table that we can store
support workflow-steps in. We'll assign all tickets a workflow. We'll
keep a "default" one for convienice and have django create it
during our initial migration. But over time we could add/remove/change
these workflows based on CI train needs
Description of the change
We've had a TODO in the lander to move its fixed "workflow steps" into the ticket system. This moves the definition into the ticket-system so that we'll be able to set different types of ticket workflows (ie we could add traincon-1 workflow).
This just gets the foundation going. There will be a series of follow-up MPs that will use this new function.
FAILED: Continuous integration, rev:503 s-jenkins. ubuntu- ci:8080/ job/uci- engine- ci/682/
http://
Executed test runs:
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/uci- engine- ci/682/ rebuild
http://