Commit graph

291 commits

Author SHA1 Message Date
Mike Bonnet
a04d199812 exclude SCM metadata dirs from the sources and patches zip files 2012-05-25 18:03:00 -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
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
794a965e14 avoid possible rapid error loops 2012-04-05 16:30:06 -04:00
Mike McLean
ef9923a679 allow setting rlimits in kojid 2012-03-28 16:47:19 -04:00
Dennis Gilmore
fa1915e96b Parse repomd.xml to determin the location of the pkgorigins file
createrepo switched to hashing all files by default. regardless
of the name of the file this works.

the  correct version not the el6 and never version
2012-03-06 16:19:11 -06:00
Dennis Gilmore
cabbbca924 Pushed the wrong version of the patch
Revert "Parse repomd.xml to determin the location of the pkgorigins file"

This reverts commit 7461b01213.
2012-03-06 16:16:52 -06:00
Dennis Gilmore
7461b01213 Parse repomd.xml to determin the location of the pkgorigins file
createrepo switched to hashing all files by default. regardless
of the name of the file this works.
2012-03-06 15:47:46 -06:00
Mike McLean
4e3e65c11f kojid literal_task_arches option 2012-01-20 11:35:31 -05:00
Mike McLean
655eac2366 failed_buildroot_lifetime is an integer option 2012-01-18 14:22:35 -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
Anthony Towns
9fcce89b6c add hooks for patching specfiles into buildSRPMFromSCM
and extra information needed to override build method for fullrpms
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
fa977579ba accept properties without values in maven-build, the same way Maven does 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
3483700817 add the --package option to maven-build, to enable installation of additional packages into the chroot 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
73d44e199a support for split storage 2011-03-18 13:57:38 -04:00
Mike McLean
b744e166c6 update default maven_repo_ignore setting 2011-03-08 21:20:24 -05:00
Mike Bonnet
e7e82c452d - make the list of files ignored in the local Maven repo configurable
- add files created by Maven 3 to the default ignore list
2011-02-24 14:27:32 -05:00
Mike Bonnet
35d4aa0739 chown the source tree after patches are applied, in case the patches created new files/directories 2011-01-13 16:22:33 -05:00
Mike Bonnet
ca7bc0a4ae maven-build: allow additional goals to be specified, which will be called before "deploy" 2011-01-10 11:39:56 -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 Bonnet
3bb2e4d0d8 use strict checksum checking 2010-12-16 12:00:48 -05:00
Mike Bonnet
39bcde6466 enable passing options to Maven 2010-12-16 12:00:13 -05:00
Mike Bonnet
256923fb5a only treat files ending in .patch as patch files 2010-12-13 14:00:08 -05:00
Mike McLean
508b739120 add a graceful restart option to kojid.init 2010-12-03 11:26:41 -05:00
Mike McLean
a51ad5031f graceful mass builder restart 2010-12-03 10:41:41 -05:00
Mike McLean
6ed3b64c36 include tasks handlers from koji.tasks 2010-11-23 14:31:20 -05:00
Mike Bonnet
d1b3abf268 missing import 2010-11-15 12:00:26 -05:00
Mike Bonnet
abd529d098 fix references to the buildroot object 2010-11-15 12:00:26 -05:00
Mike McLean
3da4c2b8b8 create empty repos for empty tags 2010-11-11 11:33:08 -05:00
Mike McLean
5d5537ec5e log mock output 2010-11-11 11:33:08 -05:00
Mike Bonnet
e56da43b7e parse pom.xml after applying patches, so patches can change the GAV if necessary 2010-11-09 13:40:00 -05:00
Mike Bonnet
574f9bcd5b if the deploy command failed, don't raise an error on unknown artifacts, because that will mask the underlying failure 2010-10-25 15:32:09 -04:00
Mike Bonnet
d6fdacd507 copy file data into a temporary file in openRemoteFile() 2010-10-25 11:17:05 -04:00
Mike McLean
4979c16937 Merge branch 'vm'
Conflicts:
	cli/koji
2010-10-20 17:36:24 -04:00
Mike Bonnet
b692f82862 move Maven scratch builds to the user's scratch directory 2010-09-23 15:30:41 -04:00
Mike Bonnet
64df809ab6 add support for wrapping win-build output in rpms 2010-09-17 11:27:33 -04:00
Dennis Gilmore
589bae9f14 use koji.fixEncoding(message) to make sure that a message is utf8
from RH BZ#614767
2010-09-08 10:58:42 -05: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
0b485cd813 reimplement scanPlugin() as a wrapper around findHandlers() 2010-07-16 11:44:53 -04:00
Mike Bonnet
419a1dafe4 major refactoring of koji daemons
- move TaskManager, SCM, and a couple helper functions to koji.daemon
 - move generic TaskHandler classes to koji.tasks
 - remove use of globals in kojid and kojira
 - fix a few issues revealed by pylint
2010-07-16 11:44:52 -04:00
Mike Bonnet
fbca81a4a2 don't allocate an arch to noarch tasks early, allow kojid to decide if it can handle a noarch task 2010-07-07 10:51:26 -04:00
Mike McLean
5f91ab02d6 merge cleanup. drop make_sources arg, use source_cmd=None instead. 2010-06-29 10:28:34 -04:00
Mike McLean
1e3a7f0fef Merge commit 'origin/master' into mead-tmp
Conflicts:
	builder/kojid

Resolved conflict between make_sources option and source_cmd option
2010-06-18 17:28:37 -04:00
Dennis Gilmore
82660a0407 add support to make the command used to fetch sources configuable per repo 2010-06-11 14:50:03 -05:00