Mike McLean
d81d293ed9
allow setting more session options in kojivmd
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
Mike McLean
b0cdd312ec
add krb_rdns option. see https://fedorahosted.org/koji/ticket/328
2016-05-11 16:58:41 -04:00
Till Maas
ffcf1a30eb
Remove dead client CA code
...
The client CA is only needed to for authentication on the server side,
not for authentication on the client side. Therefore remove it from all
client login code.
2015-12-10 18:51:10 -05:00
Mike Bonnet
ab53d2deb0
update copyright
2014-10-28 23:54:21 -04:00
Mike Bonnet
13f7cd2ec3
vm/kojivmd: only clone disk devices
2013-06-20 15:51:30 -04:00
Mike Bonnet
b735b8b371
vm/kojivmd: virt-clone limits the new VM name to 50 characters
2013-06-20 15:51:26 -04:00
Mike Bonnet
33dada913b
vm/kojivmd: it is no longer necessary to set the disk type manually
2013-06-20 15:51:23 -04:00
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 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
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
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 McLean
048cda0496
remove trailing whitespace
2010-10-06 16:41:27 -04:00
Mike Bonnet
8cb82d0c5f
update qemu-img option format for RHEL-6
2010-09-23 13:56:18 -04:00
Mike Bonnet
64df809ab6
add support for wrapping win-build output in rpms
2010-09-17 11:27:33 -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
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
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
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
b68b43bca9
verify checksum of buildrequires using fileinfo from the server
2010-07-27 00:46:32 -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
Mike Bonnet
fa5c7722cd
support for retrieving buildrequires
2010-07-26 11:58:51 -04:00
Mike Bonnet
6d1d84b2a7
cleanup logging
2010-07-22 10:31:31 -04:00
Mike Bonnet
4aab93fe8f
Windows builds working, including artifacts import
2010-07-21 13:51:42 -04:00
Mike Bonnet
38f74ed5a0
- update the interface between the kojivmd and kojikamid
...
- allow --specfile and --patches to be passed to the VM
- handle validation of urls in kojivmd
2010-07-19 16:23:31 -04:00
Mike Bonnet
0b485cd813
reimplement scanPlugin() as a wrapper around findHandlers()
2010-07-16 11:44:53 -04:00
Mike Bonnet
6e543a71b2
inherit classes from koji.daemon and koji.tasks
2010-07-16 11:44:52 -04:00
Mike Bonnet
64cc01be89
initial import of Koji VM code
2010-07-12 11:06:31 -04:00