Mike Bonnet
1d13ee6474
win-build: add the --static-mac option to win-build, which retains the original MAC address
2013-06-20 15:51:20 -04:00
Mike Bonnet
a90d8bfb57
vm/kojivmd: use Popen.communicate() to avoid deadlocks
2013-06-20 15:51:15 -04:00
Cole Robinson
1ced6e2b5e
kojivmd: Call out to virt-clone instead of virtinst
...
Reason is that virtinst is going away as a public library, hopefully
for F17. It wasn't ever really intended to be used publically, and it's
not very good :) Long term it will mostly go away anyways as we move to
libvirt-gobject based libraries.
Unfortunately this change doesn't simplify the koji code any, but it
should be equivalent functionality. I did some local unit testing to
verify it was giving sane results, but I'd appreciate if someone with
an actual koji setup could test.
2013-06-20 12:57:12 -04:00
Mike Bonnet
407a1764e4
also exclude SCM metadata dirs from the sources and patches zip files of Windows builds
2012-12-19 17:10:36 -05:00
Mike McLean
dd48297c04
use encode_int whenever uploadFile rpc call is used directly
2012-05-16 15:33:02 -04:00
Mike Bonnet
b2edd9011c
add "koji wrapper-rpm --create-build" which creates a new build to contain the wrapper rpms
2011-12-12 15:36:07 -05:00
Mike Bonnet
3d28cc0ac3
avoid collisions when downloading files from different builds with the same path and filename
2011-12-12 12:28:41 -05:00
Mike Bonnet
df0e871538
handle rpm and archive tracking in buildroots separately
2011-04-26 14:30:03 -04:00
Mike Bonnet
95c61ca424
expand $name, $version, and $release in postbuild checks
2011-04-04 15:36:11 -04:00
Mike Bonnet
89d8055731
create BuildRoot objects for Windows builds, and track Windows build dependencies
2011-04-04 11:52:21 -04:00
Mike Bonnet
ea41e74a95
stream all log files to the hub
2011-04-04 11:52:20 -04:00
Mike Bonnet
20c1d4f10d
set source_dir, spec_dir, and patches_dir variables when executing the build
2011-04-04 11:52:20 -04:00
Mike Bonnet
6099255dab
zip checkouts of sources, spec, and patches, and include them in build output
2011-04-04 11:52:20 -04:00
Mike Bonnet
6710853fce
only use patch files ending in .patch
2011-04-04 11:52:20 -04:00
Mike Bonnet
dcbe99e9e1
use full path when exec'ing tools
2011-04-04 11:52:20 -04:00
Mike Bonnet
9d8aae02b9
fix url generation when downloading buildreqs
2011-04-04 11:52:20 -04:00
Mike Bonnet
eea730300a
- enable use of a Kerberos service name other than host/ on the hub
...
- get the Kerberos realm from the client principal, rather than assuming the last two components of the domain name
2011-01-06 15:54:53 -05:00
Mike McLean
482531dcd3
add mass restart support to kojivmd
2010-12-03 11:31:24 -05:00
Mike Bonnet
891b5fa35e
promote some useful logging from debug to info
2010-11-11 10:36:50 -05:00
Mike Bonnet
850c509a2b
remove obsolete files from koji-vm development
2010-10-21 14:03:24 -04:00
Mike McLean
94ea106518
alter SCM.checkout() to mesh with kojikamid
2010-10-20 16:19:05 -04:00
Mike McLean
b16b3304f4
replace 'heinous copy&paste' with build-time substitution
2010-10-20 16:19:05 -04:00
Mike McLean
5d190c9aeb
rename kojikamid
2010-10-20 16:19:05 -04:00
Mike McLean
e1fc769c70
package kojivmd
2010-10-20 16:18:56 -04:00
Mike McLean
048cda0496
remove trailing whitespace
2010-10-06 16:41:27 -04:00
Jay Greguske
47d4302863
added kojivmd initscript
2010-09-28 16:12:33 -04:00
Mike Bonnet
8cb82d0c5f
update qemu-img option format for RHEL-6
2010-09-23 13:56:18 -04:00
Jay Greguske
c1e9b18dd6
added support for $name $version $release variables in execute=, output=, and logs= fields
2010-09-22 12:27:21 -04:00
Mike Bonnet
64df809ab6
add support for wrapping win-build output in rpms
2010-09-17 11:27:33 -04:00
Mike Bonnet
b1c11c07d0
add support for an optional epoch
2010-09-16 17:59:03 -04:00
Mike Bonnet
68007995d4
rename --specfile to --winspec so we can use --specfile for wrapper rpms, for consistency with maven-build
2010-09-13 17:23:49 -04:00
Jay Greguske
f37b8184e5
check that clamAV is installed before bothering to build
2010-09-02 18:15:55 -04:00
Jay Greguske
fc34dba899
added virus checking with ClamAV
2010-09-01 16:08:19 -04:00
Mike Bonnet
52b742634a
set cpus and mem directly in the XML, since libvirt in RHEL-6 doesn't support calling vm.setVcpus() or vm.setMemory() on a VM that isn't running
2010-08-10 15:31:20 -04:00
Mike Bonnet
e764f30551
enable validation of build output
2010-08-10 12:06:26 -04:00
Mike Bonnet
a45ad20df1
allow the spec file to define a list of files, directories, and commands that must be available in the chroot for the build to run
2010-08-09 13:21:18 -04:00
Mike Bonnet
cacaeb1285
- do all logging using the same handler, to simplify reading the build log
...
- pass the file object to StreamHandler
2010-08-09 13:20:23 -04:00
Mike Bonnet
dcf665862b
- more logging cleanup
...
- move logic into main()
2010-08-09 09:46:14 -04:00
Mike Bonnet
f619543ac8
support specifying parameters of a buildrequires, including type, which allows builds of one type to depend on files from builds of a different type
2010-08-06 08:34:24 -04:00
Mike Bonnet
4e8eb0c4e3
retry fail incremental uploads
2010-08-04 15:14:44 -04:00
Mike Bonnet
d5f85269b9
don't shutdown logging, just flush the fd
2010-08-04 15:14:44 -04:00
Mike Bonnet
ae87028d6c
support running execute commands with cmd.exe
2010-08-04 15:14:44 -04:00
Mike Bonnet
63f0d357a3
only claim vmExec tasks if the requested VM is available on the current host
2010-07-30 13:31:06 -04:00
Mike Bonnet
123f007e51
use md5 everywhere to make it easier to compare to what gets stored in the database
2010-07-27 01:09:57 -04:00
Mike Bonnet
b68b43bca9
verify checksum of buildrequires using fileinfo from the server
2010-07-27 00:46:32 -04:00
Mike Bonnet
cb3aca9574
- support streaming build output to the server while the build is running
...
- more logging cleanup
2010-07-27 00:15:35 -04:00
Mike Bonnet
46a6f85873
- support streaming logfile output from Windows builds
...
- cleanup logging a bit
2010-07-26 19:16:14 -04:00
Mike Bonnet
91dbcf0b0b
remove a couple of unnecessary extra classes
2010-07-26 15:58:45 -04:00
Mike Bonnet
19f37862e7
make sure we're always working with an absolute path
2010-07-26 13:34:06 -04:00
Mike Bonnet
ebf9aaaf1b
verify buildrequires after downloading them
2010-07-26 12:53:28 -04:00