Commit graph

137 commits

Author SHA1 Message Date
Mike Bonnet
dbacf4c8e8 fix merge conflicts 2008-11-25 16:56:56 -05:00
Mike McLean
cd4c5f0b28 cleanup before re-taking a freed or reassigned task 2008-11-25 14:52:55 -05:00
Michael Bonnet
c358e0b141 some chainbuild fixes 2008-11-19 12:58:41 -05:00
Mike Bonnet
4bd2a8184f a couple of fixes to chainbuild 2008-11-18 18:58:54 -05:00
Mike Bonnet
55fe5f07ef create a separate jar archivetype 2008-11-14 19:30:58 -05:00
Mike Bonnet
6e7d60f2cc - make the group name passed to "yum groupinstall" configurable
- use "maven-build" as the group to initialize Maven buildroots
2008-11-14 16:14:50 -05:00
Mike Bonnet
121aa8e1d3 - make working dns in the buildroot configurable
- enable dns in buildMaven buildroots (required for Maven builds)
2008-11-14 14:30:46 -05:00
Mike Bonnet
4f84245213 rename the -sources and -patches zips based on the Maven build label 2008-11-14 01:10:17 -05:00
Mike Bonnet
6e80a7b226 Make it possible to rebuild a Maven project without changing the version
- synthesize the release value by incrementing the release of the previous successful build with the same name and version
 - add an extra level to the storage hierarchy for Maven builds so they can be differentiated by release
 - create the per-tag Maven repos by symlinking into the storage hierarchy, rather than copying files
 - significant refactoring of Maven build environment population and tracking to differentiate between builds of the same version
2008-11-13 23:49:14 -05:00
Mike McLean
d402a7d433 Merge branch 'master' into mead 2008-11-13 01:19:40 -05:00
Mike McLean
83218e4103 new policy tests: fromtag, skip_tag 2008-11-13 01:09:43 -05:00
Mike McLean
f90a3d85b7 Merge branch 'master' into mead
Conflicts:

	hub/kojihub.py
2008-11-07 17:36:55 -05:00
Mike McLean
d50a77556f fix session for plugin handlers 2008-11-06 15:20:44 -05:00
Mike McLean
ee651710c8 build_from_repo_id policy 2008-11-04 18:10:56 -05:00
Mike McLean
dc92b0ec7c give a saner error when a nonexistent repo is specified 2008-11-04 18:06:38 -05:00
Mike McLean
aab365219a only provide target in policy_data if it is actually available 2008-11-04 00:12:58 -05:00
Mike McLean
64fce8d49f Merge branch 'master' into shadow
Conflicts:

	builder/kojid
2008-11-04 00:12:28 -05:00
Mike McLean
e8afce4725 policy for builds from srpm 2008-11-03 15:59:34 -05:00
Mike McLean
c6bad093de Merge branch 'master' into shadow
Conflicts:

	builder/kojid
	cli/koji
	hub/kojihub.py
2008-10-27 15:24:41 -04:00
Mike McLean
389aa5ff5c basic plugin support for hub and builders 2008-10-27 12:53:01 -04:00
Mike Bonnet
c4f1d2ca4d use the filesize and md5sum to track files in the build environment that don't have an associated .pom 2008-10-11 21:21:53 -04:00
Mike Bonnet
6472503635 - don't checkout common/ when checking out patches
- filter directories from the list of patches
- make PathInfo.task() conform to the new task directory hierarchy
2008-10-02 02:07:18 -04:00
Mike Bonnet
4896733d52 merge in changes from the master branch 2008-10-01 19:50:08 -04:00
Mike Bonnet
05a1ec6e0c typo 2008-10-01 18:54:16 -04:00
Mike Bonnet
da4c99e3e5 handle ssh and non-ssh git checkouts the same 2008-10-01 18:46:43 -04:00
Mike Bonnet
80b845f8c6 use reset instead of checkout when updating a git checkout to the correct changeset 2008-10-01 18:20:36 -04:00
Mike Bonnet
68510f93fe - move the allowed_scms validation into the assert_allowed() method of the SCM class
- make use_common an attribute of the SCM class instead of a method parameter
2008-10-01 18:00:22 -04:00
Mike Bonnet
4bcf8b3181 include patches.log in the build result, if present 2008-09-26 13:53:36 -04:00
Mike McLean
117ac78c1e choose a better arch for noarch builds
When builder receives a noarch build, choose an arch that the host
can handle AND that the build tag can support.
2008-09-12 15:21:18 -04:00
Mike Bonnet
4db24cdae0 - indicate which log people should look in for build failures
- use BuildError instead of BuildrootError in build() to further differentiate the cause of failure
2008-09-05 17:34:21 -04:00
Mike McLean
aed32ed56f add missing init actions for kojid/kojira
see: https://fedorahosted.org/koji/ticket/94
- Add missing actions to kojid.init (patch from wakko666)
- Add missing actions to kojira.init (patch from wakko666)
2008-08-22 18:00:34 -04:00
Mike Bonnet
6805218514 change the way git urls are parsed
- the concatenation of server and repository now constitute the full url, and are passed to "git clone"
 - module is now considered a subdirectory of the git checkout, where the Makefile and specfile are expected to be found
 - module can now be empty or absent in a scm url, meaning that the Makefile and specfile are in the root directory of the checkout
2008-08-12 15:54:19 -04:00
Mike Bonnet
3967f413c8 allow the checkout of the common/ directory from source control to be configured via the allowed_scms option in kojid.conf 2008-08-12 13:03:29 -04:00
Mike Bonnet
79c6d61448 - zip up pristine sources and patches and include them in the buildMaven output
- pass the list of artifacts to the template as a map keyed by extension
2008-08-12 10:25:22 -04:00
Mike McLean
9af88e0f4b Merge branch 'master' into shadow 2008-07-25 16:41:22 -04:00
Mike McLean
6529645b2e Ticket #82 -- fix issue with tasks dir size 2008-06-23 17:42:19 -04:00
Mike McLean
ab767da716 fix numerous typos 2008-06-05 16:10:08 -04:00
Mike McLean
aa664aadd3 Merge branch 'master' into shadow 2008-06-03 16:08:52 -04:00
Mike Bonnet
676311e721 allow use of wildcards in the allowed_scms config parameter 2008-06-03 13:35:57 -04:00
Mike Bonnet
004c3a92dc don't sleep if we successfully took a task, to enable builders to reach their capacity more quickly 2008-05-28 00:27:43 -04:00
Mike McLean
8798056c65 don't spawn a waitrepo task if the repo is ready 2008-05-22 18:24:01 -04:00
Mike McLean
ab8976a9c2 fix some merge issues in the waitrepo task handler
accept tag instead of target
add a docstring
correct misspelled arg (newer_then -> newer_than)
handle newer_than="now"
return repo info instead of a debug message (log message instead)
2008-05-22 18:22:34 -04:00
Mike McLean
caa1c35bec Merge branch 'master' into shadow
Conflicts:

	builder/kojid
	koji.spec
	util/Makefile
2008-05-22 16:04:50 -04:00
Mike Bonnet
2b28053397 unify logic between the waitrepo task and koji wait-repo 2008-05-16 12:34:36 -04:00
Mike Bonnet
20daea06f2 set labels on the subtasks so a chainbuild can restart gracefully 2008-05-13 11:33:48 -04:00
Mike Bonnet
f8a4662998 differentiate between build environment (core and plugin) dependencies and project dependencies, using generally the same approach as we do for rpm 2008-05-06 09:06:40 -04:00
Mike Bonnet
e7ce66059b Allow wrapperRPM to be called as a subtask of a maven build of as a standalone top-level task (by an admin). Subsequent wrapperRPM calls will replace the set of rpms associated with an existing build. 2008-05-05 23:08:57 -04:00
Mike Bonnet
6fc2cca9ff add the ability to apply patches to the upstream source before building 2008-04-19 00:17:20 -04:00
Mike Bonnet
faea981ce3 enable setting of jvm properties from the maven-build command 2008-03-12 18:34:11 -04:00
Mike Bonnet
74547053b8 Merge commit 'origin' into mead 2008-03-12 17:34:45 -04:00