Commit graph

1300 commits

Author SHA1 Message Date
Achilleas Koutsou
fe7860778c test: update RHEL 7 manifests
Changes:
- Removed unnecessary packages from build roots.  Build packages are
  added on-demand.
- Some stages changed order in the OS pipeline for azure-rhui.  This
  will have no functional effect.
- RHSM Facts stage added to all RHEL 7 manifests.  This wont be used
  since RHEL 7 is not built in the cloud service.  The RHSM fact is
  added by the test case generator to all image types to test that the
  option is working properly.
- Azure archive pipeline renamed to xz like in all the other rewritten
  image types that use the xz pipeline.
- Azure image filename before archiving has changed from 'disk.vhd' to
  'image.vhd'.  Again, this will have no functional effect because the
  name of the final artifact is unchanged (disk.vhd.xz).
2023-01-25 20:37:12 +01:00
Achilleas Koutsou
6fdf917271 distro/rhel7: update distribution implementation
Update the implementation of the distro.Distro interface to match the
one in RHEL 8, 9, and Fedora.  The main change is that the runner is a
runner.Runner and not a string.

The runner name is now rhel79 (changed from rhel7).  This is
functionally equivalent based on osbuild's runner version fallback
logic.
2023-01-25 20:37:12 +01:00
Achilleas Koutsou
a93ae83c5c distro/rhel7: add packageset chains to qcow2
The qcow2 image type for RHEL 7 doesn't have packageset chains defined.
This means that the blueprint packages are never merged into the os
pipeline.

This is unnecessary right now because of the upcoming rewrite, but it
will minimise the differences that will show up in the manifest.

The qcow2-customize manifest has an added block of options for the
grub2.legacy stage because now the dracut-config-rescue package is being
installed in the image.
2023-01-25 20:37:12 +01:00
Sarita Mahajan
0d16e2310e image: add new image type "minimal-raw" for fedora
Signed-off-by: Sarita Mahajan <sarmahaj@redhat.com>
2023-01-25 19:19:45 +01:00
Tomáš Hozza
8624ff65f8 distro/rhel8: ensure the Azure SAP RHUI image uses appropriate config
Azure RHUI and BYOS images use the respective BYOS / RHUI default image
configuration, inheriting the defaults from a common configuration. The
Azure SAP RHUI image was incorrectly using the common configuration and
was not inheriting any settings from the RHUI configuration. As a
result, the Azure SAP RHUI image was missing the following
configuration:
 - Required GPG keys were not imported from the file system as part of
   image build.
 - No RHSM configuration was applied at all.

Add "Rhui" to the image type definition, to make it explicit that it is
RHUI-based. Make sure that the image type default configuration is based
on the common RHUI configuration. Regenerate affected image manifests.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-01-24 19:57:14 +01:00
Achilleas Koutsou
73882b7289 test: update customized test manifests to include bluez
Our 'customize' test manifests include an option to disable the
bluetooth.service.  Originally this option was added for image types
that included bluez in their default package set (Fedora IoT commit) but
it was later copied to the qcow2 image type as a way of testing
customizations.

Until recently, building these caused no issues.  On distros with more
recent versions of systemd, disabling a non-existent service causes an
error and these manifests fail to build.

Added the 'bluez' package to all manifests that include the 'disable
bluetooth.service' customization and updated the manifests.  These
should all be buildable now.
2023-01-23 19:54:39 +01:00
Achilleas Koutsou
7f1a0a76b1 test: update manifests for "rhel-8"
The format-request-map is updated to remove the override for the
customized qcow for rhel-8.
The rhel-8 manifests are now identical to the rhel-87 counterparts.
2023-01-18 11:50:35 +01:00
Achilleas Koutsou
24ef584be9 Update repository configs for RHEL 8 (no minor)
- repositories/: add google-compute-engine and google-cloud-sdk repos to
  package repositories.
- test/data/repositories/: add rt, rhui, and rhui-azure to test
  repositories.
- test-case-generators/: update unversioned rhel-8 repos to point to
  RHEL 8.7 snapshots.
2023-01-18 11:50:35 +01:00
Achilleas Koutsou
5db70ed3f5 test: generate manifests for "rhel-9"
These are identical to the rhel-91 counterparts.
2023-01-18 11:50:35 +01:00
Achilleas Koutsou
7c8b9f4da8 Add repository configs for RHEL 9 (no minor)
Release repositories (in repositories/) for RHEL 9 are the CDN repos
without a minor release, which should always track GA.

Test repositories (in test/data/ and test-case-generators/) point to
RHEL 9.1, the current GA.
2023-01-18 11:50:35 +01:00
Achilleas Koutsou
c049499322 test: use kernel-rt-core in ostree tests for CS8 2023-01-18 11:50:35 +01:00
Achilleas Koutsou
257684d9db test: update RHEL 8.x and CS9 edge commit and container manifests 2023-01-18 11:50:35 +01:00
Achilleas Koutsou
c50691c6bc test: update RHEL 8.x and CS8 edge installer manifests 2023-01-18 11:50:35 +01:00
Achilleas Koutsou
1ec7de4caf test: update RHEL 8.x and CS8 image installer manifests 2023-01-18 11:50:35 +01:00
Achilleas Koutsou
d91b2a7571 test: update RHEL 8.x and CS8 edge simplified installer manifests
The changes in these manifest are the same as for the edge raw image.
The installer definition isn't changed, only the raw image.
2023-01-18 11:50:35 +01:00
Achilleas Koutsou
fe1f61c662 test: update RHEL 8.x and CS8 edge raw image manifests
See previous commit for list of changes.
2023-01-18 11:50:35 +01:00
Achilleas Koutsou
2eb94fa269 test: update RHEL 8.x and CS8 tar manifests 2023-01-18 11:50:35 +01:00
Achilleas Koutsou
7bf6f0ca66 test: update RHEL 8.x and CS8 vmdk manifests
Changes:
- Remove unneeded RPMs from the build root.
- /usr/bin/tar removed from selinux stage.
2023-01-18 11:50:35 +01:00
Achilleas Koutsou
779fce3b7f test: update RHEL 8.x and CS8 gce manifests
Changes:
- Remove unneeded RPMs from the build root.
- Changed order of rhsm and sshd.config stages.  This will not affect
  functionality.
2023-01-18 11:50:35 +01:00
Achilleas Koutsou
75e1faa27a test: update RHEL 8.x and CS8 azure and vhd manifests
Changes:
- Remove unneeded RPMs from the build root.
- /usr/bin/tar removed from the selinux stage.
- Changed order of the rhsm stage.  This will not affect functionality.
2023-01-18 11:50:35 +01:00
Achilleas Koutsou
edf5aef52d test: update RHEL 8.x and CS8 ami and ec2 manifests
Changes:
- Removed unneeded RPMs from the build root.
- /usr/bin/tar removed from selinux stage.
- Changed order of the rhsm stage.  This will not affect functionality.
2023-01-18 11:50:35 +01:00
Achilleas Koutsou
ae01dc36d8 test: update RHEL 8.x and CS8 qcow2, oci, and openstack manifests
Changes:
- Removed unneeded RPMs from the build root.
- /usr/bin/tar removed from selinux stage: only added on-demand when tar
  is installed and used in a pipeline.
- s390x kernel options: debug added when specified in customizations.
  Previously, kernel customizations were ignored for s390x.
2023-01-18 11:50:35 +01:00
Achilleas Koutsou
7811505f3d test: regenerate manifests
Regenerate manifests for changes from recent repository snapshot update.
Not all were generated after the most recent change.
2023-01-18 11:50:35 +01:00
Antonio Murdaca
560756a164 regenerate manifests
Signed-off-by: Antonio Murdaca <antoniomurdaca@gmail.com>
2023-01-17 14:02:02 +01:00
Antonio Murdaca
1672fb1cf6 wire ignition bp customization to simplified-installer and raw image
Signed-off-by: Antonio Murdaca <antoniomurdaca@gmail.com>
2023-01-17 14:02:02 +01:00
Antonio Murdaca
8b820abb4b adjust ignition kargs tests
Signed-off-by: Antonio Murdaca <antoniomurdaca@gmail.com>
2023-01-17 14:02:02 +01:00
Antonio Murdaca
cca0e773f6 support ignition in edge simplified-installer and raw-image
Signed-off-by: Antonio Murdaca <runcom@linux.com>
Signed-off-by: Antonio Murdaca <antoniomurdaca@gmail.com>
Signed-off-by: Irene Diez <idiez@redhat.com>
Co-authored-by: Irene Diez <idiez@redhat.com>
Signed-off-by: Antonio Murdaca <antoniomurdaca@gmail.com>
2023-01-17 14:02:02 +01:00
yih
64db6485c9 fix ostree cannot boot on fedora37 2023-01-17 10:54:29 +01:00
Jakub Rusz
fe554ad184 tests/ostree: use local install and lower memory
Download the boot.iso to the hypervisor to use local install instead of
networked which allows to use lower RAM.
2023-01-10 00:28:23 +01:00
Jakub Rusz
340f79c537 tests/ostree: use local install
Download the boot.iso to the hypervisor to use local install instead of
networked which allows to use lower RAM.
2023-01-10 00:28:23 +01:00
Alexander Todorov
6d0c8ced8d Update more test conditions based on code review 2023-01-10 00:28:23 +01:00
Alexander Todorov
ccd54a2c99 Build latest 8.8 and 9.2 development versions in Koji
see
eb78fcd85e
aff680542d
2023-01-10 00:28:23 +01:00
Alexander Todorov
cbc46ed75a Use 9.2 URLs in upgrade test 2023-01-10 00:28:23 +01:00
Alexander Todorov
ed02075387 Fix typo in composer-cli command used in test 2023-01-10 00:28:23 +01:00
Alexander Todorov
7756a801f5 Update 8.7 & 9.1 GA urls in .json files 2023-01-10 00:28:23 +01:00
Alexander Todorov
a8df4879ac Adjust tests for 8.8 and 9.2 2023-01-10 00:28:23 +01:00
Ondřej Budai
4bafe1ead9 remove Fedora 35 support
Fedora 35 is going EOL on Tue 2022-12-13. At the time of writing this commit
message, that's the next day. As we do releases on Wednesdays, the next
release will never find its way to F35 and thus, there's no point in keeping
support for it.

Let's delete everything that relates to Fedora 35. If there's something that
cannot be deleted (e.g. CI containers based on F35), let's upgrade it to F37.

TestCrossArchDepsolve now uses CentOS Stream 8 because RHEL 8.4 cannot read
F37 repository metadata. This is a similar issue to
https://bugzilla.redhat.com/show_bug.cgi?id=2004853 . Basically, newer
repositories can be only read by libmodulemd >= 2.11.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2023-01-06 11:34:50 +01:00
Tomáš Hozza
5e0c66e008 RHEL-9: add missing Azure aarch64 image manifests
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2022-12-16 15:40:09 +01:00
Achilleas Koutsou
a5c1f8e98c test: generate new manifests: Azure aarch64
Co-Authored-By: Christian Kellner <christian@kellner.me>
2022-12-16 15:40:09 +01:00
Irene Diez
f711219f0a tests: update si tests with ignition blueprint
Signed-off-by: Irene Diez <idiez@redhat.com>
2022-12-15 11:34:17 +00:00
Achilleas Koutsou
cc4744b306 test: regenerate manifests - RHEL 9.x and CS9 edge installers
The edge installer manifests for RHEL 9.x and CS9 no longer enable the
Users module in Anaconda.
Note that the 'edge_installer_with_users' manifests are unaffected.  The
module is enabled in these manifests so that the user specified in the
build request can be created during installation.
2022-12-13 20:33:27 +00:00
Achilleas Koutsou
e9d01b33c4 test: regenerate manifests - fedora 38 image installer
The only change is in the Fedora 38 image installer manifests where we
had the Users module defined twice and is now only appended to the end
of the list.
2022-12-13 20:33:27 +00:00
Achilleas Koutsou
5485a3cb65 test: update all anaconda manifests
ISOLinux stage removed from all aarch64 installer manifests.
2022-12-13 21:14:55 +01:00
Sanne Raymaekers
07a8f3d5ea test: adapt to shellcheck v0.9.0 2022-12-13 13:55:53 +01:00
Achilleas Koutsou
66ce7e326d test: update manifests for edge-raw-image and edge-simplified-installer 2022-12-13 13:24:20 +01:00
Antonio Murdaca
6d15dc144c distro/rhel: make edge images properly sysroot.readonly=true
Make edge raw images (both the raw image type and the same in the edge
simplified installer) mount the /sysroot as read-only.  This was already
done in Fedora 37+ (547f7a66b3).

Copied commit message from 6f89e9d499 to a
comment in all places where the accompanying "rw" kernel option is set
explaining the requirement, since the option is counter-intuitive.

Signed-off-by: Antonio Murdaca <runcom@linux.com>
Signed-off-by: Antonio Murdaca <antoniomurdaca@gmail.com>
Co-Authored-By: Achilleas Koutsou <achilleas@koutsou.net>
2022-12-13 13:24:20 +01:00
Achilleas Koutsou
6bb7de5269 test: update manifests for all Anaconda installer images 2022-12-13 07:49:32 +00:00
Sanne Raymaekers
c71ff0731c test: regenerate manifests 2022-12-12 13:42:52 +01:00
Achilleas Koutsou
351576f362 test: update ostree-simplified-installer test
Uses sed to modify the grub configuration to test http boot and needs to
match the image name on the ISO.
2022-12-11 12:37:37 +00:00
Achilleas Koutsou
0f48298811 test: update RHEL 8 and CentOS 8 edge simplified installer manifests
New embedded disk image name.
2022-12-11 12:37:37 +00:00