Commit graph

162 commits

Author SHA1 Message Date
Jay Greguske
f90f6b856d isoname now impacts the iso fs label 2010-04-06 15:25:26 -04:00
Jay Greguske
005963851c added some TODOs and comments fixed an error when viewing an incomplete appliance task in kojiweb renamed the appliance-build directive to spin-appliance 2010-03-31 15:18:18 -04:00
Jay Greguske
a90f0d1b03 fixed --scratch appliance output uploading xml description file treated as output rather than a log 2010-03-31 15:18:18 -04:00
Jay Greguske
d927628677 minor kojiweb enhancements fixed results upload 2010-03-31 15:18:18 -04:00
Jay Greguske
82b6a11d48 added a few appliance-build options to pass to appliance-creator minor usage text alterations 2010-03-31 15:18:18 -04:00
Jay Greguske
6d4f601f79 initial revision of kojid appliance creation 2010-03-31 15:18:18 -04:00
Jay Greguske
e0116c6867 refactored LiveCDTask: added ImageTask which keeps methods of common image-generating code, and LiveCDTask inherits from it 2010-03-31 15:18:17 -04:00
Mike McLean
d56ec5f826 some chain-build fixes
- use sane and unique subtask labels
- avoid redundant waits
2010-03-12 17:55:04 -05:00
Mike Bonnet
ea6c283ba5 fix Kerberos authentication for modern python: e.message is deprecated, and e.err_code no longer exists 2010-03-09 13:46:54 -05:00
Dennis Gilmore
6cb87c455c only shadowbuild tags should start with SHADOWBUILD there repos are auto
expired.  so lets get the most recent expired tag for newRepo shadowbuild tasks
2010-02-26 15:06:08 -06:00
Mike McLean
2affc996d5 also remove result dir during initial buildroot clearing 2010-02-19 12:57:24 -05:00
Jay Greguske
06a885fe47 livecd task handler fixes for building on F12 removed a race condition when expiring buildroots and getting image manifests 2010-02-19 12:57:24 -05:00
Mike McLean
ac226539cf ignore negative average task duration when adjusting task weight
see: https://www.redhat.com/archives/fedora-buildsys-list/2009-November/msg00013.html
2010-02-01 13:13:19 -05:00
Mike McLean
43af4add20 soft dependencies for livecd code 2009-12-03 16:20:50 -05:00
Mike Bonnet
a66e628f10 - include directory entries in the manifest
- don't call iso9660.name_translate(), it seems unnecessary
2009-09-30 15:40:21 -04:00
Mike Bonnet
82e38da8e9 enable specifying the syntax version of the kickstart file 2009-09-29 18:29:12 -04:00
Mike Bonnet
dd0f48e752 don't depend on a specific version of a pykickstart RepoData class 2009-09-29 18:05:34 -04:00
Mike Bonnet
cfa34bc744 rename the spin-livecd option --scmurl to --ksurl (in case we allow specifying a --compsurl later) 2009-09-29 18:02:45 -04:00
Mike Bonnet
bdac9d5f85 - store the arch of the image in the imageinfo table
- put the non-.iso files in a data/logs/ subdirectory for consistency with builds
2009-09-29 17:11:53 -04:00
Mike Bonnet
b5172f49ae importImage() should be in HostExports 2009-09-29 16:09:08 -04:00
Mike Bonnet
3adc9c9c40 minor changes, mostly cosmetic 2009-09-29 15:37:23 -04:00
Mike Bonnet
bb711506a6 avoid filename collisions with the user-supplied kickstart file 2009-09-29 14:31:32 -04:00
Mike Bonnet
f39637bf2a only pass non-null options to createLiveCD 2009-09-29 11:12:51 -04:00
Mike Bonnet
78e9e65ddf remove the topurl option to spin-livecd 2009-09-28 14:32:19 -04:00
Jay Greguske
d93d05ab5f enable creation of LiveCD/DVD images in Koji
Signed-off-by: Mike Bonnet <mikeb@redhat.com>
2009-09-28 14:07:01 -04:00
Mike McLean
512e663eb4 use custom krb5 cache in kojid and kojira. ticket#104 (patch by tjarls) 2009-09-23 15:47:05 -04:00
Mike McLean
4c44f7fec2 avoid duplicate waits on mock 2009-09-23 15:47:05 -04:00
Mike McLean
3a1234efe0 index external rpm origins by nvra, not just nvr 2009-04-21 14:31:55 -04:00
Mike Bonnet
094d97f698 make sure we reap canceled/reassigned tasks too 2009-02-17 13:21:41 -05:00
Mike Bonnet
0552072802 make the load average test a function of the number of processors 2009-02-16 18:56:29 -05:00
Dennis Gilmore
4e2a652dff try again just call md5_constructor 2009-02-16 13:41:36 -06:00
Dennis Gilmore
6b4005f83a use md5_constructor.new() not md5.new() 2009-02-16 13:29:35 -06:00
Mike Bonnet
d5241dbac5 check the load average before taking a task 2009-02-16 12:45:33 -05:00
Dennis Gilmore
373fbad545 setup for python-2.6 avoid depreciation warnings 2009-02-16 11:23:12 -06:00
Mike Bonnet
821414b8ba add missing logger attribute 2009-02-13 18:26:22 -05:00
Mike Bonnet
4d71cce5be make the log name match the script name 2009-02-12 19:03:04 -05:00
Mike Bonnet
149dbd435d reseed the prng so we don't always get the same arch 2009-02-12 17:49:28 -05:00
Mike Bonnet
648b48428c use event_id in buildSRPMFromSCM task 2009-02-12 03:02:39 -05:00
Mike Bonnet
2e29e2d30c make use of createrepo --update optional 2009-02-12 00:22:34 -05:00
Mike Bonnet
fc7f8a8b6e show load and capacity to two decimal places in kojid log output 2009-02-11 02:23:18 -05:00
Mike Bonnet
4807679dee give SIGINT a little longer to work 2009-02-11 01:59:26 -05:00
Mike Bonnet
8ac1f67329 make the child killing process slightly less verbose 2009-02-11 01:58:10 -05:00
Mike Bonnet
876147dff2 randomly pick the arch of a noarch buildroot 2009-02-11 01:33:41 -05:00
Mike Bonnet
f100121dda update the buildArch task weight based on the average duration of a build of the package 2009-02-10 21:18:44 -05:00
Mike Bonnet
c48620edc8 - fix task cleanup to actually check if child processes are running (you can't use waitpid() on processes that aren't your direct children)
- send SIGINT first to give mock a chance to cleanup
2009-02-10 20:37:10 -05:00
Mike Bonnet
691a472d1c try to kill child processes with SIGINT first, so mock has a chance to clean up 2009-02-10 14:10:52 -05:00
Mike Bonnet
221d598d7b remove unused code 2009-02-10 11:16:00 -05:00
Mike Bonnet
aaaa051e26 ensure the origin of an internal rpm starts with file:// 2009-02-10 11:15:02 -05:00
Mike McLean
4303d856bc handle internal rpms in pkgorigins 2009-02-09 17:53:16 -05:00
Mike Bonnet
cc5828fc58 use os.statvfs() instead of an exec 2009-02-09 16:58:10 -05:00