1
0
mirror of https://pagure.io/fedora-qa/createhdds.git synced 2024-11-10 18:14:21 +00:00
Commit Graph

159 Commits

Author SHA1 Message Date
Adam Williamson
11aa7d9735 Remove old GNOME workaround repo, add KDE F33 backgrounds one
Add a workaround repo to kde.ks to get the kde-settings that
will put F33 backgrounds in F33 images (hopefully). Remove an old
workaround repo from the desktop kickstarts that isn't needed
any more.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-09-08 16:17:15 -07:00
Adam Williamson
6a6e04ac18 Add minimal-uefi Branched image
Needed for Rawhide N-1 upgrade tests, when Branched exists.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-08-25 16:01:37 -07:00
Adam Williamson
ea505d4473 Bump ks disk ver to 4
Since we changed the kickstarts...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-08-24 12:37:34 -07:00
Adam Williamson
48fdc18cf2 Update FreeIPA kickstarts for use of 172.16 network
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-08-24 12:36:04 -07:00
Adam Williamson
0564f0a315 desktop: add a temp repo with g-i-s timezone fix
This is causing us pain in the tests, so let's work around it
now rather than wait for the updates to go stable. Can remove
these once the updates are stable.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-06-23 15:39:39 -07:00
Adam Williamson
fa2194cdec Forcibly exclude fedora-jam-kde-theme from KDE images
2.0.0 went stable in F31, but it's kinda messed up, it provides
kde-settings, and when building this image, anaconda actually
prefers it over the 'real' kde-settings, which breaks the desktop
background among other things. 3.0.0 should fix it but it's still
in updates-testing, so let's forcibly exclude it for now.
2020-05-25 12:56:33 -07:00
Adam Williamson
24adb3b607 desktop kickstarts: exclude selinux-policy-minimum
This seems to be causing the images to fail to boot, see
https://bugzilla.redhat.com/show_bug.cgi?id=1820674 .

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-05-09 09:14:46 -07:00
Adam Williamson
e03456491b Enable virt-install debug logging when we are at debug log level
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-05-09 09:13:19 -07:00
Adam Williamson
289371a581 Have minimal-uefi.ks use autopart
It should work just fine. We don't need to manually specify a
partition layout.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-05-08 17:18:23 -07:00
Adam Williamson
0bbe629647 Drop minimal image size back down to 10GB
We bumped it for the live image build update test, but I tweaked
that to use a separate scratch disk now, so the base image no
longer needs to be so big.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-05-07 15:59:33 -07:00
Adam Williamson
ecc183e890 Build desktopencrypt for Branched too
We need this for upgrade tests now I fixed the upgrade test
scheduling so Rawhide upgrade tests run from Rawhide-1 and
Rawhide-2, not currrel and prevrel...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-05-07 15:58:44 -07:00
Adam Williamson
c9ce6b5d0a Tweak get_virtinstall_images to not include dupes
Some of the version config directives make it possible to wind
up with dupes - for instance, our config for the 'minimal' image
can result in multiple instances of VirtInstallImage for F31
appearing in the list, meaning we'll build the same image two
or more times in the same run. That's silly! Let's not do that.
Using a dict keyed on the release number and arch we wind up with
after interpreting the config file should avoid it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-05-06 16:04:19 -07:00
Adam Williamson
05b418b796 Add aarch64 as a valid choice for CLI arch arg
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-18 15:15:04 -07:00
Adam Williamson
4d590a1947 We don't need desktopencrypt on Branched
It's only used for upgrade tests, and we don't test upgrading
from Branched, only from current stables.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-16 09:28:52 -07:00
Adam Williamson
46ee22f70f Add more stuff to KDE image, build it for more releases
This is related to enabling update tests for KDE. While testing
that it transpired that the KDE disk image is missing various
stuff that is on the live image and systems installed from the
live image; this is because the kde-desktop-environment env
group doesn't by default include several groups and individual
packages that the live kickstart *does* include. So our current
disk image closely matches what you get if you do a network
install and pick the KDE env group and don't pick any option
groups, but that's not a very common thing to do, and it causes
problems for the tests (e.g. okular and firefox not being
there). I think it's reasonable to make the image resemble a
live install more closely; this is more convenient but I think
it's *also* more useful, as there are probably far more KDE
installs out there *with* these things than without them. More
KDE installs are probably done with the live than via network
install, and even KDE installs done via netinst may well have
these bits added subsequently.

Obviously, we bump the image version with this change, so we'll
need to update the scheduler and templates also.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-12-10 14:16:59 -08:00
Adam Williamson
84237fc43d Drop remaining i686 images
We don't need these any more, we don't use them for anything.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-12-03 09:55:29 -08:00
Adam Williamson
fa714d59a0 Sigh. JSON and commas.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-11-24 16:07:02 -08:00
Adam Williamson
86e873b717 We don't need 'stable' or 'branched' for minimal-uefi
For an image only used for upgrade tests, we only need -1 and -2.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-11-21 09:13:16 -08:00
Adam Williamson
7fac94df95 Add current stable desktop image for aarch64 and ppc64le
We need this for the VNC tests to work.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-11-20 12:52:24 -08:00
Lukáš Růžička
73d810b9f7 Update docs with information about new options. 2019-11-14 07:43:58 -08:00
Lukáš Růžička
e63e8314f4 Add support for setting the GUID of the partition to set
its correct type.

Previously, it was not possible to set the type of the partition via
the specific GUID. This commit adds support for adding the GUID into
the gtp_type of the partition description in hdds.json and this field
will be utilized in to code.
2019-11-14 10:22:18 +01:00
Lukáš Růžička
a01d22f6ef Enable booting the VM as UEFI and provide record for a UEFI machine.
This commit adds support for boot options, that can be passed
from `hdds.json` to control the creation of the virtual
machines, such as enabling of EFI based machines, boot order
control, etc. It also adds EFI based machine to `hdds.json`
and adds a kickstart file for such machine.
2019-11-13 20:19:44 +01:00
Adam Williamson
8f53b9f5f8 Work around RHBZ #1769600 on ppc64
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-11-07 13:36:17 -08:00
Adam Williamson
53ef72b734 Drop some old release-based workarounds, no longer needed
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-11-06 11:58:18 -08:00
Adam Williamson
c9da58b0b0 Move i686 F31+ filter, drop ppc64 F29+ one
We previously did a filter like the one for 'i686 on F31+' for
'ppc64 on F29+', only in a different place which was actually a
better place. That filter is now unneeded as F28 went EOL, so
drop it...but move the i686 F31+ filter into the same place, as
it's better done there than in create().

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-11-05 12:40:02 -08:00
Adam Williamson
8e6136ee20 Don't allow creation of i686 images for Fedora 31+
This just isn't possible any more, we no longer produce all
the necessary bits to generate images for i686.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-10-29 14:31:27 -07:00
Adam Williamson
74c28b5557 Now fix it harder I hate software where's my yak farm
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-08-27 08:18:09 -07:00
Adam Williamson
6134a088f1 Sigh, fix previous commit
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-08-27 08:17:31 -07:00
Adam Williamson
5113761cbb From F31 onwards we have to build Workstation out of Everything
Conspiracy theory: everything releng does is intended to make
this code more awful

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-08-27 08:16:29 -07:00
Michel Normand
14c2af9332 Revert "Disable plymouth for PowerPC release >f27"
This reverts commit 3f9cbd27d4.

I verified that related bug#1571860 is not present anymore on f29.

Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
2019-05-29 10:11:49 +02:00
Adam Williamson
0383991006 Bump minimal disk size *again* to fix Workstation live build
Seems the Workstation live image build test is running out of
space again. sigh.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-05-22 14:15:22 -07:00
Michel Normand
58025846b3 Bump minimal support size=11GB version=5 for added nfsiso variation
required for added install_repository_nfsiso_variation test

Signed-off-by: Guy Menanteau <menantea@linux.vnet.ibm.com>
2019-04-01 12:39:44 +02:00
Michel Normand
99022bda48 keep variant setting removed by previous commit
to avoid error like:
===
$~/createhdds/createhdds.py  support
...
Traceback (most recent call last):
  File "/root/createhdds/createhdds.py", line 821, in <module>
    main()
  File "/root/createhdds/createhdds.py", line 811, in main
    args.func(args, hdds)
  File "/root/createhdds/createhdds.py", line 701, in cli_image
    img.create(args.textinst)
  File "/root/createhdds/createhdds.py", line 291, in create
    loctmp.format(fedoradir, str(self.release), variant, arch), "--name", "createhdds",
NameError: name 'variant' is not defined
===

Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
2019-02-06 09:31:59 +01:00
Adam Williamson
9523510d43 Few misc updates for old things
Archive now has up to F27, we're not testing ppc64 any more, and
the old workaround is no longer needed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-02-01 10:51:09 +00:00
Adam Williamson
e5bd541fe1 Drop all ppc64 BE images
We're not supporting or testing ppc64 BE any more.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-02-01 09:49:29 +00:00
Adam Williamson
de21570de9 Bump minimal image size again (but stealth this time)
We need minimal to be 18GB now, because we're booting from it for
the Workstation live image build test. Not doing a version bump
as they turn out to be a bit of a pain to deal with, I should
enhance that somehow.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-02-01 09:18:06 +00:00
Adam Williamson
1d42c33f65 Bump minimal disk image's size to 9GB and version to 3
We need it bigger for the new 'update installer image' test,
and when changing it we must bump its version.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-01-17 18:15:15 -08:00
Adam Williamson
21b66d28ed hdds.json: we don't use GPT-labelled 'shrink' image
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-12-01 09:02:59 -08:00
Adam Williamson
c1b0ddc39e Don't produce ppc64 images for Fedora > 28
ppc64 (as opposed to ppc64le) was retired in Fedora 29. Tweaking
hdds.json to reflect this now is a bit awkward, so instead let's
leave it as-is, but add code to createhdds to not really include
a ppc64 image in the expected list if it's for F29 or later.
Once F28 goes EOL we can just drop all ppc64 from hdds.json and
lose this code.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-11-13 13:29:03 -08:00
Adam Williamson
9441dac7e1 Bump the support server image's size and version
Rawhide tests are failing as there isn't enough disk space in
this image to copy the whole Server DVD...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-11-09 17:07:57 -08:00
Adam Williamson
01aa7d52b7 Goddamn JSON
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-08-31 13:39:11 -07:00
Adam Williamson
0714df1da0 Have minimal image for all stable and Branched as well
As we're gonna be running update tests off it now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-08-31 13:36:15 -07:00
Adam Williamson
c0a92bfd73 Maybe it's right this time...
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-08-08 11:09:47 -07:00
Adam Williamson
4c46794638 Fix an error in previous commit
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-08-07 16:34:53 -07:00
Adam Williamson
9aeb8841c5 Try and deal with F26 being archived *already*
Grumble mumble.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-08-07 16:33:46 -07:00
Michel Normand
3f9cbd27d4 Disable plymouth for PowerPC release >f27
as bypass for pending bug
https://bugzilla.redhat.com/show_bug.cgi?id=1571860

Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
2018-05-04 11:05:29 +02:00
Adam Williamson
fca1c542c9 hdds.json: keep desktopencrypt around for all stable releases
This is needed now we want to run update tests on it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-05-02 15:44:14 -07:00
Adam Williamson
46d78228e9 Correct cross-arch info message again
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-03-15 10:37:37 -07:00
Adam Williamson
14abb9b3e1 libvirt: Undefine NVRAM when undefining domain
This is apparently necessary on aarch64, we get an error from
libvirt otherwise.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-03-14 13:42:01 -07:00
Adam Williamson
a886b9f4a9 Handle aarch64 being secondary for releases < 28
Sigh, this mini-fedfind is so much fun.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-03-14 12:24:37 -07:00