Commit graph

494 commits

Author SHA1 Message Date
Mike McLean
f30d5ba758 repoDone knows if a repo is signed 2017-03-30 09:37:56 -04:00
Mike McLean
b6bc8f561b remove stray comment copied from hub code 2017-03-30 09:37:56 -04:00
Jay Greguske
f35d3aad7b lowercase directories in signed repos 2017-03-30 09:37:56 -04:00
Jay Greguske
0a19bee103 make the src arch work in signed repos 2017-03-30 09:37:56 -04:00
Jay Greguske
31b98eefc4 fixes from testing and upstream comments 2017-03-30 09:37:56 -04:00
Jay Greguske
47daa0aad8 add --non-latest 2017-03-30 09:37:56 -04:00
Jay Greguske
9b504a280c add signed flag to repo table 2017-03-30 09:37:56 -04:00
Jay Greguske
97b6d4f866 lay out rpms by first character 2017-03-30 09:37:56 -04:00
Jay Greguske
1a6feb5070 encapsulate repodata references 2017-03-30 09:37:56 -04:00
Jay Greguske
4f4c7e3d4e implement multilib 2017-03-30 09:37:56 -04:00
Jay Greguske
8f638935b6 move package addition logic to builder from hub 2017-03-30 09:37:56 -04:00
Jay Greguske
77bdd1e239 implement --delta-rpms 2017-03-30 09:37:56 -04:00
Jay Greguske
e611febbcd implement --event 2017-03-30 09:37:56 -04:00
Jay Greguske
08259b426e implement --allow-unsigned and --skip-unsigned 2017-03-30 09:37:56 -04:00
Jay Greguske
f1a45e0024 signed-repo kojiweb tweaks 2017-03-30 09:37:56 -04:00
Jay Greguske
76d8caf33b initial builder implementation for signed-repos 2017-03-30 09:37:56 -04:00
Tomas Kopecek
2d17c000ca multi-volume support for buildNotification 2017-03-28 11:46:47 +02:00
Tomas Kopecek
ed66947264 multi-volume support for wrapperRPM 2017-03-28 11:46:47 +02:00
Tomas Kopecek
19a6fd2d2f remove unused call 2017-03-28 11:46:47 +02:00
Tomas Kopecek
cc9fff9840 remove has_key (not working in python3) 2017-03-07 08:15:20 -05:00
Mike McLean
ed0e45e12b a few more exceptions 2017-03-02 11:09:00 -05:00
Tomas Kopecek
1494301465 use new exception syntax 2017-03-02 10:52:30 -05:00
Tomas Kopecek
c143d0b88f print statement -> print function 2017-02-28 10:55:56 -05:00
Mike McLean
e4b8a39eb0 rework logic and extend unit tests 2017-02-20 10:50:39 -05:00
Mike McLean
63a358b260 add comment and docstring to choose_taskarch() 2017-02-20 10:50:39 -05:00
Xibo Ning
144a4f1b30 add method choose_taskarch 2017-02-20 10:50:39 -05:00
Xibo Ning
8d5118b5f9 choose an arch for noarch package with ExcludeArch or ExclusiveArch tag 2017-02-20 10:50:39 -05:00
Mike McLean
ad6a220398 fix mocklog path 2017-02-16 14:52:40 -05:00
Xibo Ning
d1a55c245c add mockout.log to log_files 2017-02-16 14:41:46 -05:00
Tomas Kopecek
f609d8bc1f Make --can-fail option working for make-image
There are two issues:
1) --can-fail option was ignored when passing to hub
2) when using config, can_fail was ignored as internal variable has
different name
2017-02-15 12:54:37 -05:00
Tomas Kopecek
7fb7bd28a9 backward-compatible default value for kojid/kojira/koji-gc certs 2017-01-13 10:46:41 -05:00
Mike McLean
4cd548e6dc fix raise_fault condition in taskWaitResults() 2017-01-12 14:28:22 -05:00
Tomas Kopecek
5a5be59433 typo 2017-01-12 14:28:22 -05:00
Tomas Kopecek
43492c17c7 fail if all sub-tasks fails 2017-01-12 14:28:22 -05:00
Tomas Kopecek
763f577d8a remove unused import 2017-01-12 14:28:22 -05:00
Mike McLean
e1a136156b ... partial.... 2017-01-12 14:28:22 -05:00
Mike McLean
b5d6d2ebda support optional_arches in livemedia builds 2017-01-12 14:28:22 -05:00
Adam Williamson
c72090b1ff don't bind-mount /dev for LiveMediaTask (RHBZ #1315541)
This is an alternative to https://pagure.io/koji/pull-request/137
which keeps the /dev bind mount for ApplianceTask and LiveCDTask,
only dropping it for LiveMediaTask. It seems from the test we
ran that appliance-creator may still need it, at least for the
present - some of the createAppliance tasks seemed to hang their
builders.
2016-12-07 15:14:51 -05:00
Mike McLean
7582a08d5e allow setting more session options in kojid config 2016-11-22 16:41:31 -05:00
Mike McLean
89ca42f224 use grab_session_options everywhere 2016-11-22 16:41:31 -05:00
Mike McLean
b4be256abd no coverage for unreached code 2016-10-25 17:16:12 -04:00
Mike McLean
a1c8808544 ImportErrors are uncovered 2016-10-25 17:16:12 -04:00
Tomas Kopecek
44e7e93804 config default updated 2016-10-13 00:06:40 -04:00
Tomas Kopecek
eaa0943a1a Don't cancel subtask when other fails
In some cases it makes sense to continue with sibling task even if some of
them already failed. E.g. with kernel build it could be of use if submitter
knows for which archs it succeed and for which it fails. Repeated builds
could take a lot of time and resources.

Option is turned on by 'build_arch_can_fail' in kojid.conf and it is turned
on per builder. Note, that it shouldn't be enabled by default as it could
result in unnecessary resource consumption.
2016-10-13 00:06:40 -04:00
Mike McLean
4b36a8f2f9 fix spelling error 2016-09-15 15:59:03 -04:00
Mike McLean
896b4f91c2 pass workdir to mergerepos command 2016-08-10 12:06:30 -04:00
Mike McLean
125df6771b use correct temporary dirs in openRemoteFile and mergerepos 2016-08-10 12:06:30 -04:00
Mike McLean
4b62f3c2dd clean up output 2016-08-08 18:16:33 -04:00
Mike McLean
91b6b16d58 more debugging output in mergerepos 2016-08-08 18:16:33 -04:00
Mike McLean
3d7d269d4b debug output 2016-08-08 18:16:33 -04:00