Commit graph

1675 commits

Author SHA1 Message Date
Jay Greguske
483fd10509 compress rhevm ova 2014-10-23 16:10:24 -04:00
Mike McLean
61ed1260d3 log failed queries 2014-10-22 15:00:44 -04:00
Mike McLean
31bf2f48cb report subset of maven tags in regen total 2014-10-22 15:00:44 -04:00
Mike McLean
43b72f4f2d report expired time when triggering newRepo task 2014-10-22 15:00:44 -04:00
Mike McLean
4cd794b290 prioritize repo regen by time since expiration rather than time since creation 2014-10-22 15:00:44 -04:00
Mike McLean
55ac3ab50a solve a threading issue in kojira 2014-10-17 10:47:56 -04:00
Mike McLean
e9481f6d44 remove debug line 2014-10-16 14:57:25 -04:00
Mike McLean
07d1eb8109 use TLSv1. https://bugzilla.redhat.com/show_bug.cgi?id=1152823 2014-10-16 14:53:14 -04:00
Mike McLean
f6f7299dc2 list-history --watch 2014-10-16 14:53:14 -04:00
Mike McLean
ee3a25457b don't _forget subsession when used by a thread 2014-10-16 14:50:21 -04:00
Mike McLean
8e4deac955 log out subsession if thread dies 2014-10-16 14:43:36 -04:00
Mike McLean
b86e4fec54 log exceptions in currency checker thread 2014-10-16 14:43:36 -04:00
Mike McLean
c58e36eb72 restart currency checker if it dies 2014-10-16 14:43:36 -04:00
Mike McLean
9b2baee016 remove multicall from currencyChecker in kojira 2014-10-16 14:43:36 -04:00
Mike McLean
a045d4465e kojira: check repo currency in separate thread 2014-10-16 14:43:36 -04:00
Mike McLean
eb2f6065b1 ignore indirectionimage tasks in source test handler 2014-10-09 16:44:20 -04:00
Mike McLean
8825cdaff7 older python does not understand try..except..finally 2014-10-09 16:40:11 -04:00
Ian McLeod
9c9a61a2c1 opts is not optional in the indirection handler 2014-10-09 16:40:11 -04:00
Ian McLeod
7a9bb7b5fc small fix regarding location of final image 2014-10-09 16:40:11 -04:00
Ian McLeod
ffabf5eeb1 missing var in action function arguments 2014-10-09 16:40:11 -04:00
Ian McLeod
987fb03cee Initial attempt at a koji task based on the Indirection plugin
This creates a new koji task type and CLI option called
image-build-indirection

This task builds an output image using the Image Factory "Indirection"
plugin

It takes as its input two already built images, either as explicit
task numbers of NVR and arch.  It also requires a modified TDL
file as described in the Image Factory source.

The two input images are referred to as the base_image, which contains
content to be turned into another output image, and the utility_image,
which is a full system that will be booted to do the transformation.

The TDL, or "indirection_template" describes the tasks to be performed
inside of the running base image to generate the output.

This feature has the potential to build all of the following types of
images:

Disk Image Builder disk images, built with DIB elements using DIB itself
Live ISO images created using Live Media Creator
Docker layered images built using an arbitrary Docker version and a
Docker base image already built inside of koji
2014-10-09 16:40:07 -04:00
Mike McLean
3461af8475 sanity check requested arches for image builds 2014-09-24 12:09:57 -04:00
Jay Greguske
1f80946689 complain if the user does not exist 2014-09-22 12:54:20 -04:00
Mike McLean
c9620cf088 don't assume newRepo tag arg is a string 2014-09-19 11:43:36 -04:00
Mike McLean
d5c80a254f defer g🅰️v no-match error until after we check ignores 2014-08-22 11:39:40 -04:00
Mike McLean
708ef0cb10 fix an issue with listTasks call 2014-08-21 16:41:45 -04:00
Mike McLean
2fa5a65e6e fix field handling in readTaggedRPMS 2014-08-21 15:56:15 -04:00
Mike McLean
9432d3e38a support --link in import-archive 2014-08-20 15:09:58 -04:00
Mathieu Bridon
689397e375 builder: Improve allowed_scms documentation in the config file
The config file tries to explain to the admin how to specify
allowed_scms, but one option (source_cmd) was missing.

This just reuses the wording of the docstring from the function parsing
this option, providing a complete documentation to admins when they read
the config file.
2014-08-15 13:55:43 -04:00
Mike McLean
be5dd7f457 Support rpm source layout (SPECS and SOURCES dirs) when building srpms from
source control.

Also adds a new support_rpm_source_layout option to kojid to control this
behavior.
2014-08-15 13:45:19 -04:00
Dennis Gilmore
049ab0dd94 correctly call pykickstarts makeVersion 2014-08-04 05:02:08 -05:00
Mike McLean
82ace581be fix cursor name race condition 2014-08-01 20:42:19 -04:00
Mike Bonnet
abb44de383 maven-chain builds can override a G:A:V from the tag with a previous build in the chain, update the index accordingly 2014-07-31 20:50:34 -04:00
Mike McLean
61cc4a75d7 fix typo in updateMavenBuildRootList 2014-07-31 17:14:04 -04:00
Mike McLean
a27e913e04 log error when multiple builds found for a g🅰️v 2014-07-31 17:14:04 -04:00
Mike McLean
1e655cd096 log details on unknown maven file errors 2014-07-31 17:14:04 -04:00
Mike McLean
98cfe8b0a8 handle maven_tag_archives generator in updateMavenBuildRootList 2014-07-31 17:05:34 -04:00
Mike McLean
8622ce9f5f return a generator from maven_tag_archives 2014-07-31 17:05:34 -04:00
Mike McLean
56d028d987 fix variable name 2014-07-31 17:05:34 -04:00
Mike McLean
f6048e3783 use pid in cursor name 2014-07-31 17:05:34 -04:00
Mike McLean
acefce8523 limit request size 2014-07-31 17:05:34 -04:00
Mike McLean
758919f617 QueryProcessor iteration refinements
skip cursor if limit < chunksize
avoid possibly volatile parameters during iteration
2014-07-31 17:05:34 -04:00
Mike McLean
1581a9603d rework repo_init for iterator efficiency 2014-07-31 17:05:34 -04:00
Mike McLean
2e40f17941 use iteration in readTaggedRPMS 2014-07-31 17:05:34 -04:00
Mike McLean
fde4e75da2 Use iterators for potentially large queries to reduce memory use 2014-07-31 17:05:34 -04:00
Jay Greguske
c1b42e0c67 add raw-xz option 2014-07-31 17:00:09 -04:00
Jay Greguske
ef2e41a672 refactor do_images 2014-07-31 17:00:09 -04:00
Jay Greguske
440ec22696 refactor image-build handlers in kojid 2014-07-31 17:00:09 -04:00
Mike McLean
bac5601bf8 Revert "image: support xz compressed raw files"
This reverts commit 1cbc534d89.
2014-07-31 17:00:09 -04:00
Mike McLean
3472e5bda8 fix to address for gc notices (ticket 268) 2014-07-25 10:30:44 -04:00