Commit graph

73 commits

Author SHA1 Message Date
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 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 McLean
6529645b2e Ticket #82 -- fix issue with tasks dir size 2008-06-23 17:42:19 -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 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
5d09f214b9 don't reference st if os.stat() failed 2008-03-06 11:20:18 -05:00
Mike McLean
54f79ff665 make ClientSession retries more configurable, and more robust
add an offline mode to the hub (ServerOffline fault)
report offline status if db connection fails
adjust retry timings for kojid and kojira
2008-02-22 11:32:27 -05:00
Jesse Keating
1b2caeed8b use right createrepo argument order 2008-01-25 01:19:42 -05:00
Jesse Keating
338fa11540 Use the --skip-stat flag in createrepo calls.
This can save us a lot of time when creating large repos.
stat() on 9K files over NFS can cause significant delay in some cases.
Requires sufficiently new createrepo versions on RHEL5 or F9.
2008-01-18 17:10:51 -05:00
Jesse Keating
51e2d69f9e Revert to getfile urls if the task is not successful (closed).
This is needed because unless the task is closed, the log files won't
be in the packages/ tree, and the email will reference 404 urls.
2008-01-13 10:46:02 -05:00
Jesse Keating
c939b34ff6 Pass --target instead of --arch to mock.
--target is now it's own argument that only applies to what is passed to
rpm-build.  setarch call is not affected by --target which is what we want.
2008-01-04 17:49:12 -05:00
Jesse Keating
d64a587ac4 Revert patch to disable --arch calls. Broke kernel-doc build 2008-01-02 13:46:31 -05:00
Mike Bonnet
31b5d7265c add the "allowed_scms" kojid parameter: a whitelist of hostname:repository tuples that kojid is allowed to checkout from 2007-12-18 12:52:56 -05:00
Jesse Keating
a023693e32 Don't call --arch when the build is noarch. 2007-12-17 09:21:26 -05:00
Jesse Keating
9ff949b64a Mock will now handle setarch internally, we no longer need to call it 2007-12-11 17:49:48 -05:00
Jesse Keating
c7e0c2880d Go back to using stock 'clean' command. It now takes care of all mount points 2007-12-11 16:59:23 -05:00
Jesse Keating
41737dbdd4 Update mock commands to the undeprecated version. 2007-12-11 16:40:52 -05:00
Jesse Keating
039e0e4373 Use real urls in buildNotification instead of getfile urls. 2007-11-20 08:37:04 -05:00
Jesse Keating
7b7f25f86e Make sure we get a pkgurl 2007-11-20 08:34:42 -05:00
Jesse Keating
ad77810c18 Make sure we get groupdata 2007-11-20 08:34:42 -05:00
Jesse Keating
65fd75c6f6 Drop the PrepRepo task, it's no longer needed.
Reference the configured pkgurl for repodata.
2007-11-20 08:34:42 -05:00
Jesse Keating
063d791d66 Bypass the PrepRepo task, it's not really needed now
Hardcode a baseurl for now
2007-11-20 08:34:42 -05:00
Jesse Keating
ac1f25c5eb Initial stab at no longer doing hardlinks in repo creation.
Create a filelist of packages to include in the repo
Use this filelist with createrepo and a baseurl to create
the repodata.  Add a config option for pkgurl where the packages
can be found via http.
2007-11-20 08:34:42 -05:00
Jesse Keating
60ee149735 Use a build nvr rather than nevr in emails. Easier for doing tag requests.
Also use buildLabel to get the nvr instead of doing it by hand.
Resolves ticket #53
2007-11-16 13:36:37 -05:00
Mike Bonnet
8e67403749 only create the common/ symlink if there isn't already a common/ directory 2007-11-06 15:30:58 -05:00
Mike Bonnet
0ad90f7839 conditionalize use of the DistCVS layout 2007-11-06 10:50:50 -05:00
Mike Bonnet
27ac942683 support for retrieving source from multiple SCM repositories (patch provided by Rob Myers)
- currently CVS, SVN, and GIT are supported
2007-11-05 18:40:29 -05:00
Mike McLean
bbc551af25 fix a unadorned raise outside of try-except 2007-10-16 17:02:24 -04:00
Mike Bonnet
5391102f7c only list builds from actual build tasks 2007-08-21 10:26:21 -04:00
Mike Bonnet
155f23cf15 support for specifying a N-V-R as a stage in chain-build 2007-08-20 17:55:52 -04:00
Mike Bonnet
2d2bee04ba clean up waitrepo tasks a bit 2007-08-20 17:14:18 -04:00
Mike Bonnet
79ef5b41f2 only allow admins to perform non-scratch builds from srpm 2007-06-05 00:39:21 -04:00
Mike Bonnet
b55650a012 increase the waitrepo timeout 2007-05-31 17:08:52 -04:00
Mike Bonnet
5e5e11011b disable syslogging for kojid 2007-05-31 16:56:09 -04:00
Mike McLean
d4b5499f38 don't allow ExclusiveArch to expand the archlist (see rhbz#239359) 2007-05-22 13:04:26 -04:00
Mike Bonnet
5f75700583 remove exec bit from kojid logs and uploaded files (patch by Enrico Scholz) 2007-05-11 13:23:50 -04:00
Mike Bonnet
d12d078412 set the default maxjobs to match the default in the config file 2007-05-09 18:09:41 -04:00
Mike Bonnet
4c2cce0246 fix a couple typos 2007-05-09 11:53:03 -04:00
Mike McLean
349fbbdcd2 Allow reasonable archlist expansion based on ExclusiveArch/BuildArchs 2007-05-07 17:26:24 -04:00
Mike Bonnet
0ae723eaaf actually handle whitespace correctly 2007-05-07 16:38:05 -04:00
Mike Bonnet
426ffffa05 remove extra whitespace from tag notification email 2007-05-07 13:26:43 -04:00