self.binary_builders = string.split(get("binary_builders"))
self.src_builder = string.strip(get("src_builder", ""))
- self.tag_prefixes = string.split(get("tag_prefixes", ""))
self.max_keep_time = int(get("max_keep_time", 168))*60*60
self.bot_email = get("bot_email", "")
self.control_url = get("control_url")
util.append_to(b.logfile, "error: No files produced.")
res = "FAIL"
if res == 0 and not "test-build" in r.flags:
- for pref in config.tag_prefixes:
- util.append_to(b.logfile, "Tagging with prefix: %s" % pref)
- res = chroot.run("cd rpm/packages; ./builder -bs %s -r %s -Tp %s -Tv --pkgrev %s %s" % \
- (b.bconds_string(), b.branch, pref, b.defines_string(), b.spec), logfile = b.logfile)
+ util.append_to(b.logfile, "Writing pkgrev")
+ res = chroot.run("cd rpm/packages; ./builder -bs %s -r %s --pkgrev %s %s" % \
+ (b.bconds_string(), b.branch, b.defines_string(), b.spec), logfile = b.logfile)
if res == 0:
transfer_file(r, b)
# Where to cache rpm's from binary builders locally
rpm_cache_dir = /spools/ready
-# ------ SRC builder config:
-# List of name-version-release tag prefixes.
-tag_prefixes = auto/ti/
-
# ------ request handler server config, ignored on binary builders:
[request-server]
port = 1231