Add more detailed new revision job handling
Create a new events table for the new guix revision jobs, and update this when processing a job starts, as well as finished with success or failure. Additionally, remove the dependnency on open-inferior/container, as this functionality isn't merged in to Guix master yet.
This commit is contained in:
parent
4ccf3132b6
commit
5d06a28577
6 changed files with 160 additions and 83 deletions
|
|
@ -46,7 +46,7 @@
|
|||
"
|
||||
SELECT NULL AS id, load_new_guix_revision_jobs.id AS job_id, commit, source
|
||||
FROM load_new_guix_revision_jobs
|
||||
WHERE git_repository_id = $1
|
||||
WHERE git_repository_id = $1 AND succeeded_at IS NULL
|
||||
UNION
|
||||
SELECT id, NULL, commit, NULL
|
||||
FROM guix_revisions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue