Commit graph

1870 commits

Author SHA1 Message Date
Mike McLean
bd52ecff00 first stab at livemedia control task, based on livecd 2016-05-16 14:02:06 -04:00
Mike McLean
2b8061d443 fix whitespace 2016-05-16 14:02:05 -04:00
Adam Miller
44f02cd254 - fix whitespace issues with tab characters vs spaces
- fix invalid variable names in livemediacreator handler
- add parser for ostree pxe2live to cli
2016-05-16 14:02:05 -04:00
Jon Disnard
41fa543e09 koji: Add LMC error handler, and misc glue.
Signed-off-by: Jon Disnard <jdisnard@redhat.com>
2016-05-16 14:02:05 -04:00
Jon Disnard
d12cb6e298 Hub: Add livemedia image type
Signed-off-by: Jon Disnard <jdisnard@redhat.com>
2016-05-16 14:02:05 -04:00
Jon Disnard
1deb0932de builder: Add LMC task handler
A copy of Jay Greguski's livecd-creator task.
It replaces livecd-creator for livemedia-creator.
For now it does live-iso, ostree-live, and disk-img.
This initial commit needs more work to be functional.

Signed-off-by: Jon Disnard <jdisnard@redhat.com>
2016-05-16 14:02:05 -04:00
Jon Disnard
622e22d22f Optparsing for LMC
Initial LMC optparsing post for koji cli, and probably needs improvement as
backside arguments are fleshed out. Code taken iand modified slightly
from handle_spin_appliance() by Jay Greguski.

Signed-off-by: Jon Disnard <jdisnard@redhat.com>
2016-05-16 14:02:05 -04:00
Mike McLean
514d4e4f7c Merge #78 2016-05-16 13:55:09 -04:00
Ralph Bean
ebb58b0507 Remove unused variables. 2016-05-16 13:49:59 -04:00
Mike McLean
37ff8d2b2e Merge #77 2016-05-16 13:45:39 -04:00
Ralph Bean
8bdf5a3752 Space-delimited. 2016-05-16 13:44:09 -04:00
Ralph Bean
bed7da59b2 Split the HiddenUsers string pulled from our config. 2016-05-16 13:43:39 -04:00
Ralph Bean
0f411d9821 Make HiddenUser into HiddenUsers.
At @mikeb's suggestion in the code review, this makes HiddenUsers plural.

This makes the whole changeset a little more invasive than it was before, so please review carefully.
2016-05-16 13:43:39 -04:00
Ralph Bean
5d6305e4de Remove unused var. 2016-05-16 13:43:39 -04:00
Ralph Bean
708b6a411c Allow hiding a user from the frontpage task list.
This adds new query arguments to the taskList hub xmlrpc endpoint, and then
makes use of those arguments in koji-web.  A new optional configuration value
is added for koji-web: `HiddenUser`, which can be used to specify which user
account should be hidden.  This could be useful for deployments that have a
continuous-integration account, the spam from which makes the frontpage
difficult to read.

Unit test cases are also added for some functions of the hub taskList endpoint.

Signed-off-by: Ralph Bean <rbean@redhat.com>
2016-05-16 13:43:39 -04:00
Michael Bonnet
1febe4f7fe Merge #70 deprecate spin-livecd with spin-livemedia 2016-05-16 16:22:38 +00:00
Ian McLeod
4c923ac077 ensure qcow2 v2 compatible output regardless of local qemu-img version 2016-05-16 12:02:18 -04:00
Dennis Gilmore
e9c8891c4c deprecate spin-livecd with spin-livemedia
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-05-13 22:02:50 -05:00
Mike McLean
b0da550dfc ignore tagless buildroots in BuildTagTest 2016-05-11 17:00:22 -04:00
Mike McLean
dfcdbbaff2 don't ignore source data in cg_import 2016-05-11 17:00:22 -04:00
Mike McLean
32160aa47e show source in buildinfo display, if available 2016-05-11 17:00:21 -04:00
Mike McLean
f9bd7bb1f4 use build source value for source test, if available 2016-05-11 17:00:21 -04:00
Mike McLean
3c73d240ed cg matching policy handlers 2016-05-11 17:00:21 -04:00
Mike McLean
b0cdd312ec add krb_rdns option. see https://fedorahosted.org/koji/ticket/328 2016-05-11 16:58:41 -04:00
Mike McLean
fccc268b4e update docstring for get_event() 2016-05-11 16:56:58 -04:00
Mike McLean
70006e6cfc don't recycle event ids in multicalls 2016-05-11 16:56:58 -04:00
Mike McLean
102d325350 re-add install target to docs
Fixes https://pagure.io/koji/pull-request/2

Needed this adjustment to the Makefile to avoid breaking the build
2016-05-07 16:42:02 -04:00
Adam Miller
aeca12010c remove duplicates in the table of contents 2016-05-07 16:42:02 -04:00
Adam Miller
3fd4275fe3 first pass at converting docs to sphinx-doc reStructured Text 2016-05-07 16:42:02 -04:00
Mike McLean
05330a2959 plugin conf files should be config(noreplace) 2016-05-07 16:33:53 -04:00
Mike McLean
3bb2c0ee98 package builder plugins 2016-05-07 16:33:53 -04:00
Xibo Ning
57ad5fee82 structural help, categorize commands into groups 2016-04-28 09:33:30 -04:00
Mike McLean
0f5c155784 use correct epoch when recycling nvr 2016-04-26 13:32:52 -04:00
Mike McLean
a5fc700ab2 update epoch when recycling a build 2016-04-26 13:32:51 -04:00
Mike McLean
e3c23f0bed reworking cli import a bit. support importing over a failed/canceled nvr 2016-04-26 13:32:51 -04:00
Mike McLean
498714a2cc honor --test in import-cg command 2016-04-21 11:59:34 -04:00
Mike McLean
780a2bb905 return buildinfo from cg_import 2016-04-21 11:11:11 -04:00
Dennis Gilmore
654434f66a set strict to true so dnf does not ignore broken deps
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-04-11 15:57:17 -04:00
Dennis Gilmore
0ea9bdec33 set install_weak_deps to 0 by default
yum ignores values it does not understand and dnf by default installs weak
dependecies, after talking to the FPC we should disable weka deps and
anything needed should be pulled in explicitly

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-04-11 15:57:17 -04:00
Dennis Gilmore
7390348a97 noarch arch handling fixups on armhfp tasks
armhfp is not a valid arch acording to autoconf. We were using arm
instead. nodejs has a bunch of packages with ExclusiveArch and are
hitting issues with using arm as the arch so switch to armv7hl
instead

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-04-11 12:30:38 -04:00
Mike McLean
e5f582312d catch pyssl import errors 2016-04-11 12:17:42 -04:00
Mike McLean
014e9aee4b acquire import lock in get_profile_module
see: https://pagure.io/koji/issue/58
2016-04-11 12:09:29 -04:00
Mike McLean
8821f98910 add unit test for using profiles in threads
see: https://pagure.io/koji/issue/58
2016-04-11 12:09:28 -04:00
Mike McLean
5bcfe7034a clean up the tar-gz patch a bit
remove the temp hardlink
don't really need format arg
hook tar-gz format in a bit
2016-04-11 12:05:03 -04:00
Mike McLean
704a895831 first stab at tar-gz image support 2016-04-11 12:05:03 -04:00
Ralph Bean
0a34a78430 Bugfix - st_complete needs to be defined earlier. 2016-04-08 14:46:52 -04:00
Ralph Bean
7fd256cde1
Add subdirectory for builder plugin configuration. 2016-04-08 12:15:07 -04:00
Ralph Bean
69e77dd693
Make the other makefile vars here explicit now. 2016-04-08 12:10:59 -04:00
Ralph Bean
43ba5a6071
Install both hub and builder plugins.
This is a different take at https://pagure.io/koji/pull-request/45

Instead of installing just the runroot builder plugin explicitly, here we
separate the plugins out into hub and builder plugins explicitly and install
each type in turn.
2016-04-08 10:05:28 -04:00
Ralph Bean
79721c4dc9 Run plugin callbacks when image builds finish.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2016-04-07 19:19:13 -04:00