Commit graph

94 commits

Author SHA1 Message Date
Yuming Zhu
0859f1ba89 promoteBuild: update volume based on volume policy 2024-01-05 10:00:36 +00:00
Yu Ming Zhu
44d59ecbc7 can only promote COMPLETE draft build 2024-01-05 10:00:35 +00:00
Yuming Zhu
c045bc7100 promoteBuild: split main function to _promote_build 2024-01-05 10:00:34 +00:00
Yu Ming Zhu
77a06c98b3 draft filter opt: use bool/None instead of bit flag 2024-01-05 10:00:33 +00:00
Yuming Zhu
75a1afc794 fix None draft for import_build and new_build 2024-01-05 10:00:31 +00:00
Yuming Zhu
3ff5eaadd6 misc fixes 2024-01-05 10:00:30 +00:00
Yuming Zhu
87409499a3 draft builds 2024-01-05 10:00:29 +00:00
Mike McLean
54a8bdf9ff docstring typo 2023-12-05 14:58:03 +01:00
Tomas Kopecek
4eceb79c5e fix typo 2023-12-04 10:33:18 +01:00
Tomas Kopecek
2857830c13 use joinpath 2023-12-04 09:35:06 +01:00
Tomas Kopecek
2a549d444d More general CG import logging
Related: https://pagure.io/koji/issue/3867
2023-12-04 09:35:06 +01:00
Tomas Kopecek
2fea15042e fix flake8 errors 2023-11-27 11:50:24 +01:00
Tomas Kopecek
81cbee2c02 queryOpts for queryHistory
Related: https://pagure.io/koji/issue/3899
2023-11-27 11:48:20 +01:00
Mike McLean
455f37f1ec also include renew time 2023-10-30 11:49:56 +01: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
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
7846c54aad fix return type 2023-10-11 15:04:18 +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
Tomas Kopecek
787ae18bab use UpsertProcessor 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
4b5596b9bd Revert "move convert_value to util lib"
This reverts commit 61f5d2bd46623a9fd9c74ae67f81a7d43da7821f.
2023-10-03 15:23:02 +02:00
Mike McLean
f54e4f6acb simple db logging 2023-10-03 15:23:02 +02:00
Mike McLean
8e642152b1 Revert "move Task class"
This reverts commit e385df81fb90b4cb15928ff64fac239ce90ca4fd.
2023-10-03 15:23:02 +02:00
Mike McLean
50186a6c58 Revert "..."
This reverts commit 8fc33e56070c09b94b5bd689e3871e537c2a8227.
2023-10-03 15:23:02 +02:00
Mike McLean
e101e36202 ... 2023-10-03 15:23:01 +02:00
Mike McLean
30629f29fd move Task class 2023-10-03 15:23:01 +02:00
Mike McLean
6737cb5fa5 check on tasks, partially implement assign timeout 2023-10-03 15:23:01 +02:00
Mike McLean
2ea9e4220b drop some run hooks for now 2023-10-03 15:23:01 +02:00
Mike McLean
0a3f6460bf typo 2023-10-03 15:23:01 +02:00
Mike McLean
ad5165723a do assignment 2023-10-03 15:23:01 +02:00
Mike McLean
883deb570a TEST2 2023-10-03 15:23:01 +02:00
Mike McLean
8492ac0afe update task query for hosts 2023-10-03 15:23:01 +02:00
Mike McLean
ae8607b261 actually pick a host and add a run 2023-10-03 15:23:01 +02:00
Mike McLean
5c38457662 update scheduler runs as tasks are updated 2023-10-03 15:23:01 +02:00
Mike McLean
ca4fe038fe XXX TEST 2023-10-03 15:23:01 +02:00
Mike McLean
bcab8f7c1e tinkering 2023-10-03 15:23:01 +02:00
Mike McLean
3ba25fc96b revert changes to freeTask 2023-10-03 15:23:01 +02:00
Mike McLean
2ecb9b2684 present task runs as assigned tasks to hosts using old api 2023-10-03 15:23:01 +02:00
Mike McLean
4b2074feca return channels in getLoadData 2023-10-03 15:23:01 +02:00
Mike McLean
6308e8f0ad move convert_value to util lib 2023-10-03 15:23:01 +02:00
Mike McLean
b379db8376 stub to let hub run 2023-10-03 15:23:01 +02:00
Tomas Kopecek
4241098f46 replace old calls 2023-10-03 15:23:01 +02:00
Tomas Kopecek
6a23a12fd0 wip 2023-10-03 15:23:01 +02:00
Tomas Kopecek
5e61ad7711 update top-level repo.json 2023-10-03 15:20:53 +02:00
Jana Cupova
48b34b4680 Unify getSessionInfo output
Fixes: https://pagure.io/koji/issue/3793
2023-09-13 18:32:36 -04:00
Yuming Zhu
65fb4f47d3 hub: new_build: build in error should be the old one 2023-09-06 14:54:56 +02:00
Tomas Kopecek
f5f8e6c6a2 refactor get_user_perms 2023-09-04 09:16:21 +02:00