Adam Williamson
c72090b1ff
don't bind-mount /dev for LiveMediaTask (RHBZ #1315541 )
...
This is an alternative to https://pagure.io/koji/pull-request/137
which keeps the /dev bind mount for ApplianceTask and LiveCDTask,
only dropping it for LiveMediaTask. It seems from the test we
ran that appliance-creator may still need it, at least for the
present - some of the createAppliance tasks seemed to hang their
builders.
2016-12-07 15:14:51 -05:00
Mike McLean
7582a08d5e
allow setting more session options in kojid config
2016-11-22 16:41:31 -05:00
Mike McLean
89ca42f224
use grab_session_options everywhere
2016-11-22 16:41:31 -05:00
Mike McLean
b4be256abd
no coverage for unreached code
2016-10-25 17:16:12 -04:00
Mike McLean
a1c8808544
ImportErrors are uncovered
2016-10-25 17:16:12 -04:00
Tomas Kopecek
44e7e93804
config default updated
2016-10-13 00:06:40 -04:00
Tomas Kopecek
eaa0943a1a
Don't cancel subtask when other fails
...
In some cases it makes sense to continue with sibling task even if some of
them already failed. E.g. with kernel build it could be of use if submitter
knows for which archs it succeed and for which it fails. Repeated builds
could take a lot of time and resources.
Option is turned on by 'build_arch_can_fail' in kojid.conf and it is turned
on per builder. Note, that it shouldn't be enabled by default as it could
result in unnecessary resource consumption.
2016-10-13 00:06:40 -04:00
Mike McLean
4b36a8f2f9
fix spelling error
2016-09-15 15:59:03 -04:00
Mike McLean
896b4f91c2
pass workdir to mergerepos command
2016-08-10 12:06:30 -04:00
Mike McLean
125df6771b
use correct temporary dirs in openRemoteFile and mergerepos
2016-08-10 12:06:30 -04:00
Mike McLean
4b62f3c2dd
clean up output
2016-08-08 18:16:33 -04:00
Mike McLean
91b6b16d58
more debugging output in mergerepos
2016-08-08 18:16:33 -04:00
Mike McLean
3d7d269d4b
debug output
2016-08-08 18:16:33 -04:00
Ian McLeod
6a39901b8e
expose Factory hyperv support in builder
2016-06-08 09:10:45 -05:00
Dennis Gilmore
6f53e4f1aa
LMC: change the name of the andconda log files
...
anaconda and lmc both have a program.log so we are losing one. This
patch adds a anaconda- prefix to the logfile for files in the
anaconda directory so that we get all files and know which files are
from lmc and which are from anaconda.
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-05-25 14:36:28 -04:00
Dennis Gilmore
15bc2f1cee
--project does not like options with spaces, just go with name
...
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-05-25 14:36:28 -04:00
Dennis Gilmore
41075714c5
lmc: add --project to livemedia-creator
...
add --project argument to livemedia-creator take name and replace - with
a space.
Signed-off-by: Dennis Gilmore <dennis@ra.ausil.us>
2016-05-25 14:36:28 -04:00
Ian McLeod
15e7969b3e
add armv6 hard fp arches to mergerepos cannonical mapping lists
2016-05-16 14:08:49 -04:00
Mike McLean
175f047288
s/LiveMEDIA/LiveMedia
2016-05-16 14:02:08 -04:00
Dennis Gilmore
d060924980
add missing self. in ks handling
...
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-05-16 14:02:07 -04:00
Mike McLean
4cb0f9632f
define bld_info earlier in livemedia/livecd/appliance handlers
2016-05-16 14:02:07 -04:00
Mike McLean
c0fb079d12
apply fix for setting kickstart url to livemedia as well
...
see: 86ca706 and e7abc97
2016-05-16 14:02:07 -04:00
Mike McLean
9c27dfd8f0
no rpm list for livemedia images until we can get the data from lmc
2016-05-16 14:02:07 -04:00
Mike McLean
b561e2a77d
inject install tree url for livemedia spins
2016-05-16 14:02:07 -04:00
Mike McLean
e519846c03
use correct livemedia isoname throughout
2016-05-16 14:02:07 -04:00
Mike McLean
a11fcd16d1
correct livemedia log name
2016-05-16 14:02:07 -04:00
Mike McLean
ed215addd9
fix livemedia report text
2016-05-16 14:02:07 -04:00
Mike McLean
d8be22aea5
more livemedia multiarch
2016-05-16 14:02:07 -04:00
Mike McLean
a2e5f00cce
partial work on multiarch livemedia builds
2016-05-16 14:02:06 -04:00
Mike McLean
4b918f6c1f
use correct path to result iso
2016-05-16 14:02:06 -04:00
Mike McLean
b43b55902e
use correct value for lmc "releasever" arg
2016-05-16 14:02:06 -04:00
Mike McLean
7ce20ba5b0
look in right place for livemedia isos
2016-05-16 14:02:06 -04:00
Mike McLean
ae1f4d5369
use --iso-name livemedia opt
2016-05-16 14:02:06 -04:00
Mike McLean
7af83fd153
grab livemedia anaconda logs too
2016-05-16 14:02:06 -04:00
Mike McLean
5b6d6952c5
capture all livemedia logs
2016-05-16 14:02:06 -04:00
Mike McLean
ec7b51f133
fix isoname
2016-05-16 14:02:06 -04:00
Mike McLean
103c74358d
use _shortenVolID for livemedia handler too
2016-05-16 14:02:06 -04:00
Dennis Gilmore
da86a6346c
shorten the livecd iso labels to match fedora's naming policy
2016-05-16 14:02:06 -04:00
Mike McLean
7dcc65ee29
refactor lmc args. only making live isos for now
2016-05-16 14:02:06 -04:00
Mike McLean
b8b00acc39
fix livemedia-creator kickstart opt
2016-05-16 14:02:06 -04:00
Mike McLean
08d17d953d
make sure livemedia options are passed through to task
2016-05-16 14:02:06 -04:00
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
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
Ian McLeod
4c923ac077
ensure qcow2 v2 compatible output regardless of local qemu-img version
2016-05-16 12:02:18 -04:00
Mike McLean
b0cdd312ec
add krb_rdns option. see https://fedorahosted.org/koji/ticket/328
2016-05-11 16:58:41 -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
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