Commit graph

214 commits

Author SHA1 Message Date
Mike McLean
6a6ebaa1bf check for a target before waiting on a repo 2012-11-29 16:53:07 -05:00
Mike McLean
cadb5209c0 rework PathInfo handlers for images 2012-11-29 16:53:06 -05:00
Mike McLean
313728dee7 set/report checksum_type 2012-11-29 16:53:06 -05:00
Jay Greguske
77417436ac images stored by nvr instead of id 2012-11-29 16:53:05 -05:00
Mike McLean
9986d6e60d ensure response is closed on errors 2012-11-06 20:42:57 -05:00
Mike McLean
f84e579506 kojid logging tweaks 2012-11-06 20:42:57 -05:00
Mike McLean
a87e1f2c5a cleanup debug output 2012-11-06 20:42:56 -05:00
Mike McLean
9e9549d994 new "fast upload" mechanism 2012-11-06 14:39:49 -05:00
Mike McLean
342cd274e6 avoid error messages on canceled/reassigned tasks 2012-09-12 16:09:20 -04:00
Dennis Gilmore
5534ec370c remove shebang SSLConnection.py is not a standalone script
bugzilla #529250
2012-08-16 20:01:44 -05:00
Mike McLean
3cac0691b1 don't die on malformed tasks 2012-07-12 14:06:43 -04:00
Mike McLean
c2ad66babe make HiddenValue() idempotent 2012-07-12 14:06:43 -04:00
Mike McLean
227cd057b2 fix bugs in our relpath backport 2012-07-03 17:03:21 -04:00
Mike McLean
77d908bb8a handle multiple topurl values in kojid 2012-07-03 17:03:21 -04:00
Mike McLean
5f96a7a2cf also add --yum-proxy option to cli mock-config command 2012-05-22 15:06:32 -04:00
Ken Dreyer
97bd601080 add "yum_proxy" option to builder
Previously if you wanted to use an HTTP proxy server with a builder, you
had to either specify the proxy in the pkgurl, or use iptables to
intercept HTTP and route it through a transparent proxy.

There is a better way: yum has proxy support built in. When a URL is
specified in the "proxy" option in yum.conf, yum will use this URL as a
proxy server.

Add a "yum_proxy" option in kojid.conf. Kojid will pass it back to mock
during genMockConfig(). Mock will write it into yum.conf in the chroot.
2012-05-22 14:52:13 -04:00
Mike McLean
6296043fe4 faster argcheck 2012-05-22 14:36:19 -04:00
Mike McLean
51ec9b8b50 call_with_argcheck utility function 2012-05-22 14:36:13 -04:00
Mike McLean
2c372cd5f0 use inspect module to report/check rpc args 2012-05-22 14:18:21 -04:00
Dennis Gilmore
310d7a0246 when writing out the mock configs set the target arch instead of canonical arch used for %_host_cpu and %_host macros and _target_arch variable in the written out configs 2012-05-16 15:45:08 -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
6236ae6d62 support SSL auth in mod_python compatibility mode 2012-05-11 21:29:06 -04:00
Mike Bonnet
4c999fedb6 typo 2012-05-11 19:18:40 -04:00
Mike McLean
6123acaac1 Maintain old PythonDebug behavior under mod_python 2012-05-11 16:02:32 -04:00
Mike McLean
756204da28 avoid req.is_https() 2012-05-11 15:45:57 -04:00
Mike McLean
54c0ed8438 Support wsgi in koji-hub and koji-web
- mod_python still supported, but deprecated
 - mod_wsgi is the default
 - koji-web now configured via web.conf
 - new wsgi-friendly publisher for koji-web
 - koji-web now has logging
2012-05-10 17:27:40 -04:00
Mike McLean
48a8183b75 catch errors from checkHost() call 2012-04-05 16:30:06 -04:00
Mike McLean
cf83a7b97b backport relpath 2012-04-02 17:24:35 -04:00
Mike McLean
ef9923a679 allow setting rlimits in kojid 2012-03-28 16:47:19 -04:00
Ken Dreyer
4d42e1062e make SCM URL validity check more verbose
When a builder parses an SCM URL, the daemon module's _parse_url() does
a sanity check that it has properly understood all the necessary
elements of the URL string before returning them. When this check fails,
a "Invalid URL" message is raised, but this error message does not
provide information about what portion of the URL was missing.

Break this sanity check into multiple statements, so that we present a
more detailed error message to the user.
2012-03-09 16:54:25 -05:00
Mike McLean
5dac6536a4 fix for _quoteparams issue 2012-03-09 16:36:53 -05:00
Mike McLean
4e3e65c11f kojid literal_task_arches option 2012-01-20 11:35:31 -05:00
Mike McLean
cf508c1c62 make failed buildroot lifetime configurable 2012-01-15 12:38:37 -05: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
Dennis Gilmore
89b9222fc3 add initial support for arm hardware floating point arches. 2011-11-15 12:59:41 -06:00
Mike McLean
f1682ab7b7 handle noarch filtration with $handler.checkHost() 2011-11-03 12:20:45 -04:00
Mike McLean
ab1559c5bb retry whitelist 2011-11-03 11:58:46 -04:00
Mike Bonnet
7d0ea14721 - chown the specfile checkout in wrapperRPM tasks
- refactor the recursive chown into a method on BaseTaskHandler, and use it everywhere
2011-04-04 11:52:22 -04:00
Mike Bonnet
c3d4b8bdc8 handle tag/host arch mismatch for wrapperRPM tasks as well 2011-04-04 11:52:21 -04:00
Mike Bonnet
29d7d550e8 add the --env option to maven-build, to set environment variables in the build environment 2011-04-04 11:52:21 -04:00
Mike Bonnet
a6c16232a7 make the wait-repo command wait for the specified build(s) to be the latest in the tag, rather than just being present in the tag 2011-04-04 11:52:21 -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
91f0ed12b4 store Maven build output under the standard build directory 2011-04-04 11:52:20 -04:00
Mike McLean
8a0b9a0d1c tag_updates table for tracking non-versioned alterations 2011-03-18 13:57:38 -04:00
Mike McLean
3ecb32cfcb lazy dictionary class 2011-03-18 13:57:38 -04:00
Mike McLean
73d44e199a support for split storage 2011-03-18 13:57:38 -04:00
Mike Bonnet
c27c9d24ef - allow plugins to modify the task result from the preTaskStateChange callback
- make closing a task more resilient to failure, because callback in closeTask() may raise exceptions
2011-01-13 15:32:46 -05: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
7876bc06fe fix ssl connections for python 2.7 (rhbz#619276)
(without breaking earlier python versions)
2010-12-08 14:57:07 -05:00
Mike McLean
8ac3cae252 better display for restart tasks 2010-12-03 11:31:52 -05:00