Commit Graph

224 Commits

Author SHA1 Message Date
Adam Williamson 8727e37d0f drop a fixme from kde.ks (no longer needed)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-05-13 16:04:39 -07:00
Adam Williamson e993ec1326 Drop F32 desktop image for aarch64/ppc64le
This was only needed while we were using it to work around
https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/201 ,
it should no longer be necessary.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-04-30 11:41:02 -07:00
Adam Williamson accaa3f42c Stealth bump server disk size to 7G
6 seems a bit too small for the upgrade_2_server_domain_controller
test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-03-17 09:22:32 -07:00
Adam Williamson c83783fde0 Add plymouth-system-theme to server.ks (workaround #1933378)
The bug where the bootsplash doesn't always clear is really
playing havoc with F34 tests right now, and dealing with it by
workaround needles isn't going so well. I'm hoping installing a
real Plymouth theme might help, and in a quick trial run on lab
it seems to, so let's try this. The bug is still a bug, but it's
no good to us for update tests to randomly fail on it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-03-02 11:59:51 -08:00
Adam Williamson 5d6842d146 Add current minimal-uefi for aarch64, stop allowing "current"
"current" is just a synonym for "-1" but made the code more
complex. Let's ditch it and just note in a comment that -1 is
CURRREL and -2 is PREVREL. We need minimal-uefi for aarch64 as
install_blivet_btrfs_preserve_home_uefi uses it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-02-19 11:29:25 -08:00
Adam Williamson 6eb79f76f9 Bump 'ks' image version
Since the kickstarts on it changed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-01-19 10:04:15 -08:00
Adam Williamson 5378f166b1 Drop 'install' directive from all kickstarts
It was deprecated three years ago, apparently, and now causes
anaconda in Rawhide to die.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-01-19 09:59:28 -08:00
Lukáš Růžička d982ca73e7 Add a postinstall section to leave a trace in the home directory.
This PR adds the post-installation section that adds a file
in the /home space, which then can be checked by a `preserve_home`
post-installation test and prove that it was possible to
preserve home on btrfs layouts.
2021-01-08 10:22:20 +01:00
Adam Williamson f9dd6ed212 Use test.openqa.fedoraproject.org instead of domain.local
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-12-15 14:40:02 -08:00
Adam Williamson bdcc1b794a desktop: add a side repo with fwupd 1.5.1-2
I'm hoping this fixes the issues with the update test lately.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-11-20 19:04:10 -08:00
Adam Williamson cd06804bf0 Drop workaround repo for KDE that's no longer needed
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-11-20 19:04:10 -08:00
Michel Normand 5732bf97be Revert "Work around RHBZ #1769600 on ppc64"
This reverts commit 8f53b9f5f8.

similar revert already done since a while in os-autoinst-distri-fedora
"e020b87  Drop the pseries-4.0 workaround for ppc64le"
2020-11-09 17:55:27 +01:00
Adam Williamson 79c0317970 Same as previous commit for ppc64le
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-11-04 10:12:54 -08:00
Adam Williamson f34ac0c042 We need an F32 desktop image for aarch64
This is for
https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/201 -
we're working around that by using the F32 image for now, but it
doesn't exist on aarch64 ATM. We'll have to remember to take
this out when that's fixed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-11-04 10:11:13 -08:00
Adam Williamson ddf0fe0a69 Correct new KDE workaround repo line
baseurl, not url.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-09-08 18:06:36 -07:00
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