Commit graph

313 commits

Author SHA1 Message Date
Mike Bonnet
ab53d2deb0 update copyright 2014-10-28 23:54:21 -04:00
Mike Bonnet
7a6544a53d fix a few errors revealed by pylint 2014-10-28 23:54:21 -04:00
Mike Bonnet
1e8b7211ee add --ini and --section options to maven-build and wrapper-rpm
Support use of a .ini file to pass parameters to maven-build and wrapper-rpm.
2014-10-28 23:54:20 -04:00
Mike Bonnet
d60bf0529e move maven-chain parsing into util so it can be used by other utilities 2014-10-28 23:54:20 -04:00
Mike Bonnet
004a1ba450 preserve the format of parameters with no value when calling maven-build and maven-chain
-Dfoo and -Dfoo= mean different things to the JVM, so make sure the format of the parameter on the command-line is carried through to the mvn invocation.
2014-10-28 23:54:20 -04:00
Mike McLean
e9481f6d44 remove debug line 2014-10-16 14:57:25 -04:00
Mike McLean
f6f7299dc2 list-history --watch 2014-10-16 14:53:14 -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
Jay Greguske
1f80946689 complain if the user does not exist 2014-09-22 12:54:20 -04:00
Mike McLean
9432d3e38a support --link in import-archive 2014-08-20 15:09:58 -04:00
Jay Greguske
c1b42e0c67 add raw-xz option 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
e254586991 handle task ids in download-build 2014-07-15 13:55:58 -04:00
Mike McLean
d764ec7f4c list-tasks cli improvements 2014-07-15 13:55:58 -04:00
Dennis Gilmore
1cbc534d89 image: support xz compressed raw files
as we publish the raw files on the mirrors we want to be able to request
xz compressed versions of theraw image.

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2014-06-13 12:57:24 -05:00
Mike Bonnet
238c45a95e maven-chain: support multiple config files 2014-06-13 12:51:09 -04:00
Mike Bonnet
af29196d0f support wrapper-rpm builds in maven-chain 2014-06-13 11:23:38 -04:00
Mike Bonnet
689ace685d handle display of chainmaven tasks 2014-06-13 11:23:38 -04:00
Mike Bonnet
e626fca4d9 support running a sequence of Maven builds in dependency order
The new "koji chainmaven" command allows Maven builds to be run in depdencency order,
without needing to wait for repo regens.  A config file specifies the parameters and
dependencies for each build in the sequence.  Each build is launched as soon as all
dependent builds are complete, and is able to reference the output of all of its
dependencies.  If the build source URL and parameters match the latest build of the
same package in the destination tag, the build will not be re-run.
2014-06-13 11:23:37 -04:00
Mike Bonnet
8cf7023172 remove small blocksize when uploading archives 2014-06-13 11:23:37 -04:00
Jay Greguske
20bb3e1526 put ova options in its own section 2014-05-08 12:29:57 -04:00
Anthony Towns
c9ac6ee6d0 check build tag arches in add-target/edit-target
Hi *,

When creating new build targets I've messed up a couple of times by not
actually defining the arches in the build tag. Having the koji cli check this
for you seems useful:
2014-04-14 17:06:05 -04:00
Anthony Towns
30e8e826f7 koji wait-repo patch
Hi,

I've been bitten a few times running "koji wait-repo" that the build I'm
waiting on isn't actually tagged in the right place to get included in the
repo. (Or is blocked, or is typoed etc).

I think koji wait-repo T --build X should actually check that X is the latest
build in T, and warn you if it's not. (Warn not abort in case you're being
clever and running wait-repo at the same time as you build the package)

Here's a patch:
2014-04-08 11:14:05 -04:00
Mike McLean
4be290e325 make providing br name optional in mock-config command 2014-03-17 15:07:24 -04:00
Jaroslav Henner
7137138d39 Fix 'No image archives available for ...'
Command like

  $ koji download-build --type image --latestfrom guest-rhel-7.0-candidate rhel-guest-image
  No image archives available for rhel-guest-image-7.0-20140314.0.el7

used to fail due to .el7 being appended to build that has been searched
for. Image builds doesn't contain the .el7.
2014-03-17 12:52:48 -04:00
Mike McLean
bcd5b4fdf9 cli option to specify config profile 2014-03-16 22:30:31 -04:00
Mike McLean
9507c75c3f process conf.d dirs in koji cli (based on a patch by Pavol Babincak) 2014-03-16 22:30:31 -04:00
Mike McLean
439480e008 enhancements/fixes for download-logs command 2014-03-16 22:17:06 -04:00
Pavol Babincak
ee716d7877 Add download-logs command for koji CLI 2014-03-14 16:24:13 -04:00
Jay Greguske
5446047474 non-scratch image builds require --ksurl 2014-03-13 17:06:58 -04:00
Jay Greguske
27360ff12c support image-build config file 2014-03-13 17:06:55 -04:00
Mike McLean
70103de680 add --target option to mock-config command 2014-03-03 14:09:47 -05:00
Mike McLean
3576b2ddb1 support --latest for mock-config command 2014-02-28 18:13:12 -05:00
Mike McLean
257dd238f8 flush output when watching tasks (based on suggestion by Jan Stancek)
see: https://bugzilla.redhat.com/show_bug.cgi?id=1060050
2014-02-28 15:48:49 -05:00
Jay Greguske
0f4bcc5be7 add docker support 2014-02-26 12:14:11 -05:00
Jay Greguske
73199068d6 support --ova-option 2014-02-12 11:52:36 -05:00
Jay Greguske
ad8f0421e7 add image archives to buildinfo 2014-02-12 11:52:36 -05:00
Mike McLean
1367cd73a0 event args for list-groups 2013-12-16 14:45:43 -05:00
Jay Greguske
e9ae4b4ab0 rename tasks, make getImagePackages more robust 2013-09-25 17:11:07 -04:00
Jay Greguske
6863643d6e client side changes to support ova formats 2013-09-25 17:11:07 -04:00
Jay Greguske
fd39e0f42b implement image-build command 2013-09-25 17:11:07 -04:00
Mike McLean
8ac22e6e2f show list of package groups in taginfo [patch from jcpunk] 2013-08-14 16:51:28 -04:00
Mike Bonnet
1d13ee6474 win-build: add the --static-mac option to win-build, which retains the original MAC address 2013-06-20 15:51:20 -04:00
Mike McLean
04430f81cb fail if user specified config is absent
https://fedorahosted.org/koji/ticket/256
2013-05-16 16:13:20 -04:00
Jay Greguske
0c2b9b73a1 implement remove-pkg for the cli 2013-03-08 15:37:04 -05:00
Mike McLean
d18d03174f a few more cli aliases 2013-03-08 15:32:15 -05:00
Jay Greguske
a27c3d0dc5 cleaner rename -pkg commands to -build 2013-03-08 15:30:15 -05:00
Mike McLean
cadb5209c0 rework PathInfo handlers for images 2012-11-29 16:53:06 -05:00
Jay Greguske
5ed044f511 images can be imported with import-archive 2012-11-29 16:53:06 -05:00
Jay Greguske
f4c44dbb72 download-build supports --type image 2012-11-29 16:53:05 -05:00