Commit graph

7149 commits

Author SHA1 Message Date
Tomas Kopecek
2ddfd5e977 update docs for kickstart/build_rpm policy
Related: https://pagure.io/koji/issue/3183
2023-05-17 10:04:35 +02:00
Tomas Kopecek
70c9b3e37a PR#3756: Add more logging to rmtree
Merges #3756
https://pagure.io/koji/pull-request/3756

Fixes: #3815
https://pagure.io/koji/issue/3815
Additional rmtree logging

Relates: #3755
https://pagure.io/koji/issue/3755
koji-gc occasionally gets Directory not empty fault on delete
2023-05-17 09:35:20 +02:00
Mike McLean
6455974fd5 adjust unit tests for new args 2023-05-17 09:35:11 +02:00
Mike McLean
d744364d71 more rmtree logging 2023-05-17 09:35:11 +02:00
Mike McLean
facfddb73d additional logging in rmtree 2023-05-17 09:35:11 +02:00
Tomas Kopecek
4ce5fc1424 PR#3729: Build image from uploaded kickstart
Merges #3729
https://pagure.io/koji/pull-request/3729

Fixes: #3183
https://pagure.io/koji/issue/3183
Build non-scratch images using local kickstart file
2023-05-17 09:31:42 +02:00
Tomas Kopecek
0986c118fd fix unit tests 2023-05-17 09:31:35 +02:00
geargyri
0eedf36c41 add policy check
Related: https://pagure.io/koji/issue/3183
2023-05-17 09:31:35 +02:00
Tomas Kopecek
112730c77e PR#3775: Import koji archive types
Merges #3775
https://pagure.io/koji/pull-request/3775

Fixes: #3736
https://pagure.io/koji/issue/3736
koji doesn't know to archive *.sha256 files as artifacts of the build
2023-05-16 12:58:05 +02:00
Tomas Kopecek
896b75d4c6 Import koji archive types
Related: https://pagure.io/koji/issue/3736
2023-05-16 12:57:57 +02:00
Tomas Kopecek
7da6dcf919 PR#3816: kiwi: remove tech-preview warning
Merges #3816
https://pagure.io/koji/pull-request/3816
2023-05-11 17:06:38 +02:00
Tomas Kopecek
eb68be0547 kiwi: remove tech-preview warning 2023-05-11 17:05:09 +02:00
Tomas Kopecek
68f08612fc PR#3800: avoid noisy chained tracebacks when converting Faults
Merges #3800
https://pagure.io/koji/pull-request/3800

Fixes: #3801
https://pagure.io/koji/issue/3801
Noisy chained tracebacks on hub Faults
2023-05-11 15:06:48 +02:00
Mike McLean
cf94d9ad24 avoid noisy chained tracebacks when converting Faults 2023-05-11 15:06:41 +02:00
Tomas Kopecek
eb28e50ccc PR#3782: Fix typo
Merges #3782
https://pagure.io/koji/pull-request/3782
2023-05-11 15:02:29 +02:00
Tomas Kopecek
fddb5de41f Fix typo 2023-05-11 15:02:23 +02:00
Tomas Kopecek
52e19b2546 PR#3803: createTag raises error when perm ID isn't exists
Merges #3803
https://pagure.io/koji/pull-request/3803

Fixes: #3802
https://pagure.io/koji/issue/3802
uncaught DB exception in createTag with non-existing permission ID
2023-05-09 10:10:25 +02:00
Jana Cupova
de01baece7 createTag raises error when perm ID isn't exists
Fixes: https://pagure.io/koji/issue/3802
2023-05-09 10:10:18 +02:00
Tomas Kopecek
f349b0d2ff PR#3799: Increase sidetag CLI tests
Merges #3799
https://pagure.io/koji/pull-request/3799

Relates: #3723
https://pagure.io/koji/issue/3723
Increase unit tests for hub/cli/sidetags
2023-05-09 09:27:15 +02:00
Jana Cupova
b87cbb2fda Increase sidetag CLI tests
Related: https://pagure.io/koji/issue/3723
2023-05-09 09:27:07 +02:00
Tomas Kopecek
ddc0dbdb76 PR#3804: use fakehub as a user
Merges #3804
https://pagure.io/koji/pull-request/3804

Fixes: #3805
https://pagure.io/koji/issue/3805
use fakehub as a user
2023-05-09 09:24:49 +02:00
Mike McLean
c4b5c5a107 fakehub --exclusive option 2023-05-09 09:24:34 +02:00
Mike McLean
39db0015fe fakehub --user option 2023-05-09 09:24:34 +02:00
Tomas Kopecek
14dcab596c PR#3769: Add component/built archives in list-buildroot
Merges #3769
https://pagure.io/koji/pull-request/3769

Fixes: #3759
https://pagure.io/koji/issue/3759
list-buildroot command doesn't show component archives
2023-05-09 09:20:54 +02:00
Jana Cupova
a87c6aedbe Add component/built archives in list-buildroot
Fixes: https://pagure.io/koji/issue/3759
2023-05-09 09:20:44 +02:00
Tomas Kopecek
747f17824a PR#3760: Add renewal session timeout
Merges #3760
https://pagure.io/koji/pull-request/3760

Fixes: #3596
https://pagure.io/koji/issue/3596
Renewal timeout option
2023-05-09 09:16:48 +02:00
Jana Cupova
44742bc5f8 Drop default Null for renew_time in sql 2023-05-09 09:16:40 +02:00
Jana Cupova
6a033ea948 Add renew_ts column and check with renew_ts 2023-05-09 09:16:40 +02:00
Jana Cupova
ce0ce20e3a Add renewal session timeout
Fixes: https://pagure.io/koji/issue/3596
2023-05-09 09:16:40 +02:00
Mike McLean
8a1fc4954d PR#3798: kojira: prioritize awaited repos
Merges #3798
https://pagure.io/koji/pull-request/3798

Fixes: #3757
https://pagure.io/koji/issue/3757
Adjust kojira score for actively awaited tasks
2023-05-02 16:07:46 -04:00
Mike McLean
f112e96f97 flake8 2023-04-25 10:49:20 -04:00
Mike McLean
f58e6ad92b bugfixes and additional debug logging 2023-04-25 10:42:54 -04:00
Tomas Kopecek
b1acd55d84 error handling 2023-04-25 10:42:54 -04:00
Tomas Kopecek
1c7e9a1a99 kojira: prioritize awaited repos
Related: https://pagure.io/koji/issue/3757
2023-04-25 10:42:54 -04:00
Tomas Kopecek
11c3fe516a PR#3777: CG: allow reimports into failed/cancelled builds
Merges #3777
https://pagure.io/koji/pull-request/3777

Fixes: #3776
https://pagure.io/koji/issue/3776
CG imported RPM can not be reseted.
2023-04-21 10:55:22 +02:00
Tomas Kopecek
23350af251 CG: allow reimports into failed/cancelled builds
Related: https://pagure.io/koji/issue/3776
2023-04-21 10:55:15 +02:00
Tomas Kopecek
475501f0b8 PR#3791: Increase hub unit tests
Merges #3791
https://pagure.io/koji/pull-request/3791

Relates: #3723
https://pagure.io/koji/issue/3723
Increase unit tests for hub/cli/sidetags
2023-04-21 10:51:21 +02:00
Jana Cupova
3c8f309e47 Increase hub unit tests 2023-04-21 10:51:14 +02:00
Tomas Kopecek
5c0b9598bd PR#3788: fix syntax for tox 4.4.8
Merges #3788
https://pagure.io/koji/pull-request/3788
2023-04-20 10:06:05 +02:00
Tomas Kopecek
9d9eca5741 fix syntax for tox 4.4.8 2023-04-20 10:04:41 +02:00
Tomas Kopecek
fe438fb2f0 PR#3741: vm: ignore B113: request_without_timeout
Merges #3741
https://pagure.io/koji/pull-request/3741
2023-04-20 10:00:41 +02:00
Tomas Kopecek
39ecf0538a vm: ignore B113: request_without_timeout
Bandit warning for missing timeout. It would be caught on VM level
https://bandit.readthedocs.io/en/1.7.5/plugins/b113_request_without_timeout.html
2023-04-20 10:00:34 +02:00
Tomas Kopecek
ae793a2cee PR#3784: remove Host.getTask method
Merges #3784
https://pagure.io/koji/pull-request/3784
2023-04-20 09:59:08 +02:00
Mike McLean
f56c270d70 remove Host.getTask method
Unused code, was previously exported, but that export was removed in
https://pagure.io/koji/pull-request/2406
2023-04-20 09:59:00 +02:00
Tomas Kopecek
8e0fcc5f4b PR#3783: fakehub --pdb option
Merges #3783
https://pagure.io/koji/pull-request/3783
2023-04-20 09:47:11 +02:00
Mike McLean
128d02be79 fakehub: --pdb option 2023-04-19 21:09:42 -04:00
Mike McLean
5307b3d2c5 fakehub: fix typo 2023-04-19 21:09:42 -04:00
Mike McLean
63cd77f049 fakehub: avoid commits after debugging errors 2023-04-19 21:09:42 -04:00
Mike McLean
dca12896a2 fakehub: drop into pdb on exception 2023-04-19 21:09:42 -04:00
Mike McLean
4ee35ddfe6 fix fakehub imports 2023-04-19 21:09:42 -04:00