Dennis Gilmore
6230b0ff3e
Merge #232 Improve logging by adding subvariants
2016-03-22 14:15:26 +00:00
Lubomír Sedlář
ecbf08c6f8
Add compose type to release for images
...
Move getting of the precomputed value to a single place in Compose
class. The value now has format `date[.type_suffix].respin`.
Resolves: rhbz#1319924
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-03-22 08:57:40 +01:00
Lubomír Sedlář
f1974d3f03
[live-media] Use subvariants in logging
...
Print the subvariant together with variant UID and arches. This should
make the global log easier to understand.
The output of koji command should now be split into multiple files in
logs/{arch}/livemedia-{variant}-{subvariant}.{arch}.log instead of
having them all in one file.
The tests were updated to use more sensible value for the subvariant
field.
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-03-17 09:04:50 +01:00
Lubomír Sedlář
c1b8fbe4f9
Update tests to match the subvariant
...
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-03-10 16:59:34 -06:00
Lubomír Sedlář
7e2cd28fb8
[live-media] Support release set to None globally
...
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-03-09 13:08:22 +01:00
Lubomír Sedlář
86bb816417
[live-media] Add global settings
...
These can be overriden for a particular image, but in general case they
can simplify the config.
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-03-04 08:15:25 +01:00
Lubomír Sedlář
595845e104
[live-media] Rename test case
...
Originally it was copied from image build phase, and was not renamed.
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-03-04 08:15:25 +01:00
Lubomír Sedlář
e9292fc942
[tests] Dummy compose is no longer private
...
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-02-22 19:11:04 +01:00
Lubomír Sedlář
90954ddf0e
[tests] Use real paths module in testing
...
This avoids problems of mock paths having different API that the real
ones.
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-02-22 19:11:04 +01:00
Lubomír Sedlář
8661d294ab
[tests] Move dummy testing compose into separate module
...
This greatly reduces duplication, as a single copy is now shared among
all test cases.
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-02-22 19:10:12 +01:00
Lubomír Sedlář
0fb8049fdd
Update tests
...
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-02-19 08:51:03 +01:00
Lubomír Sedlář
37ac0d7bfe
[live-media] Update tests to use $basearch
...
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-02-18 16:17:30 +01:00
Lubomír Sedlář
8ef2e7e308
[live-media] Properly calculate iso dir
...
The method expects to be called with a arch, not just variant.
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-02-11 13:58:42 +01:00
Lubomír Sedlář
ac29bf05ee
[live-media] Koji option is ksfile, not kickstart
...
In config, it is still called kickstart to be consistent with how
image-build calls it.
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-02-11 10:40:04 +01:00
Lubomír Sedlář
6ec151cde2
[live-media] Use install tree from another variant
...
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-02-11 10:24:12 +01:00
Lubomír Sedlář
0c4bd42f80
[live-media] Put images into iso dir
...
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-02-11 10:11:38 +01:00
Lubomír Sedlář
91faa0fafe
[image-build] Koji expects arches as a comma separated string
...
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-02-11 07:50:02 +01:00
Lubomír Sedlář
b35264cfba
[live-media] Version is required argument
...
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-02-10 18:29:29 +01:00
Lubomír Sedlář
439622d576
[live-media] Add live media phase
...
This phase builds live media in Koji using the Live Media Creator. It
runs in parallel with current live images, create ISO and image build
phases.
The documentation is updated to explain how to configure this.
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-02-01 13:28:49 +01:00