Commit graph

7488 commits

Author SHA1 Message Date
Mike McLean
7a6ab7aafa unit test fixes 2023-10-30 11:49:56 +01:00
Mike McLean
455f37f1ec also include renew time 2023-10-30 11:49:56 +01:00
Tomas Kopecek
efcef6a65a PR#3911: Display two decimal points for the task load in hosts page
Merges #3911
https://pagure.io/koji/pull-request/3911

Fixes #3916
https://pagure.io/koji/issue/3916
2023-10-30 09:09:59 +01:00
alisboav
b178d6b36c Display two decimal points for the task load in hosts page 2023-10-30 09:09:52 +01:00
Tomas Kopecek
9f0583f797 PR#3897: Retrieve task_id for older OSBS builds
Merges #3897
https://pagure.io/koji/pull-request/3897

Fixes #3906
https://pagure.io/koji/issue/3906
2023-10-26 11:20:59 +02:00
Tomas Kopecek
0c58cd954d Retrieve task_id for older OSBS builds
Related: https://pagure.io/koji/issue/3906
2023-10-23 14:24:16 +02:00
Tomas Kopecek
268d07caf4 PR#3884: short option for watch-logs --follow
Merges #3884
https://pagure.io/koji/pull-request/3884

Related: #3909
https://pagure.io/koji/issue/3909
2023-10-23 14:21:01 +02:00
Tomas Kopecek
15bdb0cdf9 Revert "short option for watch-logs --follow"
This reverts commit 0b7a97dc19.

It was not pushed via correct PR merge. Same commit will follow with
correct workflow.
2023-10-23 14:09:39 +02:00
Tomas Kopecek
0b7a97dc19 short option for watch-logs --follow
Related: https://pagure.io/koji/issue/3909
2023-10-23 14:04:54 +02:00
Tomas Kopecek
96f784c781 PR#3886: Raise an error on missing build directory
Merges #3886
https://pagure.io/koji/pull-request/3886

Related: #3908
https://pagure.io/koji/issue/3908
2023-10-23 13:59:14 +02:00
Mike McLean
9f8ed4e600 drop dir_moves var 2023-10-23 13:59:07 +02:00
Tomas Kopecek
a171b85bed Raise an error on missing build directory
Related: https://pagure.io/koji/issue/3908
2023-10-23 13:59:07 +02:00
Tomas Kopecek
b3d37d22ca PR#3894: Sort channels on hosts page
Merges #3894
https://pagure.io/koji/pull-request/3894
2023-10-23 13:56:54 +02:00
Tomas Kopecek
3644da0741 Sort channels on hosts page
Related: https://pagure.io/koji/issue/3907
2023-10-23 13:56:42 +02:00
Tomas Kopecek
8348e25984 PR#3924: fix return type
Merges #3924
https://pagure.io/koji/pull-request/3924
2023-10-17 11:52:31 +02:00
Tomas Kopecek
7846c54aad fix return type 2023-10-11 15:04:18 +02:00
Tomas Kopecek
853ffbb077 PR#3920: Move migration script to new location
Merges #3920
https://pagure.io/koji/pull-request/3920
2023-10-03 15:35:15 +02:00
Tomas Kopecek
cb2039da08 Move migration script to new location
Interaction of PR#3772 and PR#3843
2023-10-03 15:33:45 +02:00
Tomas Kopecek
b872c0dd5e PR#3772: Scheduler part 1
Merges #3772
https://pagure.io/koji/pull-request/3772

Fixes #3877
https://pagure.io/koji/issue/3877
2023-10-03 15:23:04 +02:00
Tomas Kopecek
1b219ee9ea configurable scheduler parameters 2023-10-03 15:23:02 +02:00
Tomas Kopecek
055fae4176 flake8 fixes 2023-10-03 15:23:02 +02:00
Tomas Kopecek
0df86294c4 wrong variable 2023-10-03 15:23:02 +02:00
Tomas Kopecek
410b252d77 missing lock in db 2023-10-03 15:23:02 +02:00
Tomas Kopecek
bd45f7976a unify clauses handling 2023-10-03 15:23:02 +02:00
Tomas Kopecek
baa432303f remove typo 2023-10-03 15:23:02 +02:00
Tomas Kopecek
f66a5407e8 default values 2023-10-03 15:23:02 +02:00
Tomas Kopecek
479a46a417 schema upgrade 2023-10-03 15:23:02 +02:00
Mike McLean
e649e19be5 unit test 2023-10-03 15:23:02 +02:00
Mike McLean
3a1ee5cddb fix unit tests
get_ready_hosts function was dropped
2023-10-03 15:23:02 +02:00
Mike McLean
7d892964de drop unused code 2023-10-03 15:23:02 +02:00
Mike McLean
0d6e5091a9 unify getTasks and getLoadData code 2023-10-03 15:23:02 +02:00
Mike McLean
9c8a95f3aa drop some test code 2023-10-03 15:23:02 +02:00
Mike McLean
0458e0e445 allow admins to trigger scheduler run with an api call 2023-10-03 15:23:02 +02:00
Tomas Kopecek
d2bbd2ce66 use Task interface for correct state hooks 2023-10-03 15:23:02 +02:00
Tomas Kopecek
787ae18bab use UpsertProcessor 2023-10-03 15:23:02 +02:00
Tomas Kopecek
9b62b2cbea fix scheduler-info 2023-10-03 15:23:02 +02:00
Tomas Kopecek
fab35bedcb fix schema 2023-10-03 15:23:02 +02:00
Mike McLean
edd5abad40 fix import 2023-10-03 15:23:02 +02:00
Mike McLean
81c6cde17a drop unused task states 2023-10-03 15:23:02 +02:00
Mike McLean
fc1f706ae9 outer joins for log query 2023-10-03 15:23:02 +02:00
Mike McLean
b9a7516943 basic scheduler log cli 2023-10-03 15:23:02 +02:00
Mike McLean
325ecffc17 use host.update_ts in kojiweb/hostinfo 2023-10-03 15:23:02 +02:00
Mike McLean
eedcc3e82b query for scheduler logs 2023-10-03 15:23:02 +02:00
Mike McLean
40660bbb42 call host.refuseTask when host check fails 2023-10-03 15:23:02 +02:00
Mike McLean
8716d8552d ... 2023-10-03 15:23:02 +02:00
Mike McLean
9ef308b615 rework host.refuseTask 2023-10-03 15:23:02 +02:00
Mike McLean
b2037c1da0 honor refusals 2023-10-03 15:23:02 +02:00
Mike McLean
fba5abe2ed UpsertProcessor 2023-10-03 15:23:02 +02:00
Mike McLean
a577984d06 use QueryView for get_task_runs 2023-10-03 15:23:02 +02:00
Mike McLean
8ea908bfb9 more QueryView 2023-10-03 15:23:02 +02:00