Commit graph

658 commits

Author SHA1 Message Date
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
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
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
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
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
Achilleas Koutsou
0a4c078200 test: update edge-simplified-installer manifests
Changes:
- Build packages
- Edge raw image pipelines
- Raw image filename
2022-12-11 12:37:37 +00:00
Achilleas Koutsou
44d12890b8 test: regenerate installer manifests
Dracut module added to RHEL 9 and CS 9 installers.
2022-12-11 12:37:37 +00:00
Achilleas Koutsou
fa1bc48840 test: update manifests
CS9 manifests updated with new package versions.
RHEL 7 repo change in package-sets array: was missed in the last
regeneration.
2022-12-11 12:37:37 +00:00
Achilleas Koutsou
b9098c64c4 test: add valid parent commit ID to test manifests
The previous value for parent was not a valid commit ID.  In a regular
compose request, the parent ref is resolved before being added as a
source in the manifest.  However, when building test manifests, since
the values aren't real, we don't resolve the ostree refs, meaning that
the test manifests weren't valid — they failed validity checks if run in
osbuild.

Replaced the fake parent ref with a fake parent commit ID
"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff".
The manifests still aren't buildable, since they don't point to a valid
ostree repository or commit, but now they're at least valid (in the
technical sense).
2022-12-11 12:37:37 +00:00
Ondřej Budai
ff21f2935f distro/rhel9: fix /usr/sbin/zipl unavailable in the buildroot
The big rewrite of rhel9 distro omitted installing s390utils-base into the
buildroot. This caused the org.osbuild.zipl.inst stage because of missing
/usr/sbin/zipl.

This commit introduces s390utils-base back into the buildroot which fixes
building of the s390x images.

I verified it by building the RHEL 9.1 qcow2 image and booting it using
libvirt.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2022-12-08 16:11:52 +01:00
Achilleas Koutsou
caac5fc7af test: regenerate manifests
ISOLinux removed for Fedora and RHEL/CS 9 installers.
2022-12-08 10:30:09 +01:00
Mario Cattamo
51851bfd49 Firewall feature flag default value 2022-12-06 16:39:00 +01:00
Mario Cattamo
7871ab49e9 Test firewall sources and zones customizations in edge-commit blueprint 2022-12-06 16:39:00 +01:00
Sayan Paul
4380e70973 fix: regenrate manifest
Signed-off-by: Sayan Paul <saypaul@redhat.com>
2022-12-06 12:15:09 +01:00
Antonio Murdaca
217cc64425 check_ostree: check persistent logging
Signed-off-by: Antonio Murdaca <runcom@linux.com>
2022-12-06 12:15:09 +01:00
Xiaofeng Wang
afd0f7ebc7 test: Use new CS9 repo built by PR#3136
Signed-off-by: Antonio Murdaca <antoniomurdaca@gmail.com>
2022-12-01 11:51:58 +01:00
Antonio Murdaca
64f1ff498b re-enable cs9 runner for simplified installer
Signed-off-by: Antonio Murdaca <antoniomurdaca@gmail.com>
2022-12-01 11:51:58 +01:00
Achilleas Koutsou
a9efe3ebb9 test: regenerate RHEL 9.x manifests
All RHEL 9.x manifests have been affected except edge-installer,
edge-raw-image, and edge-simplified-installer.  These are image types
that carry a pre-built payload so don't have an OS pipeline and don't
include RHSM facts.
2022-11-30 10:04:16 +01:00
Achilleas Koutsou
4bd2c0cb1d test: regenerate manifests
Regenerate manifests with the added RHSM fact.
RHEL 9 manifests haven't changed because the stage is missing in the OS
pipeline (bug).
2022-11-30 10:04:16 +01:00
Achilleas Koutsou
7da0cde855 test: regenerate image-installer and edge-installer manifests 2022-11-28 17:20:49 +01:00
Achilleas Koutsou
d4a8775751 test: update installer manifests
- Added users module.
- Set squashfs compression to xz for RHEL 9.x and CentOS Stream 9.
2022-11-28 17:20:49 +01:00
Achilleas Koutsou
ff494d66f6 test: update RHEL 9.x and CS9 tar manifests 2022-11-28 17:20:49 +01:00
Achilleas Koutsou
c4af0a1886 test: update RHEL 9.x and CS9 image-installer manifests 2022-11-28 17:20:49 +01:00
Achilleas Koutsou
3400c27153 test: update manifests with containers
Update test manifests that have embedded containers with the new info.
2022-11-28 17:20:49 +01:00
Achilleas Koutsou
5c8b5995bf test: update manifests with embedded containers
Updated manifests (and generated new ones) that embed a container:
- edge-commit on RHEL 9.x and CS9
- qcow2 on RHEL 9.1
- iot-commit on all Fedora versions (new)
2022-11-28 17:20:49 +01:00
Achilleas Koutsou
5086f1e413 test: update RHEL 9.x and CS9 gce manifests
Regenerate manifests for the gce and gce-rhui image types with the
rewritten definitions:
- remove unnecessary RPMs in the build root
  artifact
- some stages changed order, but the pipelines be functionally
  equivalent
2022-11-28 17:20:49 +01:00
Achilleas Koutsou
1a0a16bc46 test: update RHEL 9.x and CS9 azure and vhd manifests
Regenerate manifests for the Azure and VHD image types with the
rewritten definitions:
- remove unnecessary RPMs in the build root
- changed order of rhsm stage: this should have no effect functionally
2022-11-28 17:20:49 +01:00
Achilleas Koutsou
f3e43a01bc test: update RHEL 9.x and CS9 manifests
Adding python3-pyyaml to the build root for manifests that contain
cloud-init in the OS pipeline.
Adding python3-iniparse to the build root for manifests that contain
rhsm or dnf.config in the OS pipeline.
2022-11-28 17:20:49 +01:00
Achilleas Koutsou
b0574daa90 test: update RHEL 9.x ec2 and ec2-ha manifests
Regenerate manifests for the EC2 and EC2-HA image types with the
rewritten definitions:
- remove unnecessary RPMs in the build root
- added dofstools to the image
- internal raw image filename changed: this has no effect on the final
  artifact, since it's compressed and renamed before exporting.
- rhsm stage order changed.
2022-11-28 17:20:49 +01:00
Achilleas Koutsou
c5bd001071 test: update RHEL 9.x and CS9 ami manifests
Regenerated manifests for the AMI image type with the rewritten
definitions:
- removed RPMs in the build root: packages are added to the build-root
  on-demand by the payload pipelines.
- added dosfstools to the image: our new pipelines add fs tools for
  every filesystem type that appears in the partition table.
- rhsm stage order changed.
2022-11-28 17:20:49 +01:00
Achilleas Koutsou
a2a3ac8ffe test: regenerate manifests with chrony stages
Regenerate all manifests that used the old chrony stage options with the
'timeservers' field.  This is now replaced by the 'servers' field, which
is a slice of objects with a 'hostname' field instead of a slice of
strings.
2022-11-28 17:20:49 +01:00
Achilleas Koutsou
0ba1a5ff73 test: update RHEL 9.x and CS9 vmdk manifests
Regenerated manifests for the vmdk image type with the rewritten
definitions:
- removed RPMs in the build root: packages are added to the build-root
  on-demand by the payload pipelines.  All removed package were
  unnecessary for building the image.
2022-11-28 17:20:49 +01:00
Achilleas Koutsou
88ff103621 test: update RHEL 9.x and CS9 edge manifests
Regenerated manifests for the edge image types with the rewritten
definitions:
- removed RPMs in the build root: packages are added to the build-root
  on-demand by the payload pipelines.  All removed package were
  unnecessary for building the image.
- pipeline names changed.
- rpm stage for os pipeline now sets dbpath and ostree-booted option
  (see [1] for original change in Fedora).
- installer pipelines changed to no longer use bootiso.mono stage, but
  instead break it down to component stages (see [2] for original change
  in Fedora).

Fedora IoT manifests updated to include selinux labelling changes.

The skopeo and containers storage stage have been temporarily dropped
since the new pipeline generator functions don't support it yet.

[1] https://github.com/osbuild/osbuild-composer/pull/2914
[2] https://github.com/osbuild/osbuild-composer/pull/3020
2022-11-28 17:20:49 +01:00
Achilleas Koutsou
9d34362bbf test: update RHEL 9.x and CS9 qcow2, oci, and openstack manifests
Regenerated manifests for the QCOW2, OCI, and openstack image types with
the rewritten definitions.

The skopeo stage is not yet added by the live image pipeline.

The following changes in the manifests should affect the final image:
- Removed RPMs in the build root: packages are added to the build-root
  on-demand by the payload pipelines.  All removed packages were
  unnecessary for building the image.
- /usr/bin/tar removed form selinux stage: tar should be added on-demand
  if it's needed by any of the payload pipelines.
2022-11-28 17:20:49 +01:00
Achilleas Koutsou
e9746bed32 test: regenerate all edge-commit and qcow2 manifests
Create new manifests for the new edge-commit-with-container
configuration and the qcow2 for RHEL 9.1
2022-11-28 17:20:49 +01:00
fkolwa
401a59b6e4 distro/rhel7: Add insights-client to Azure package set
Add insights-client package to azureRhuiCommonPackageSet conditionally
Regenerate test cases for RHEL 7 azure-rhui
2022-11-25 13:15:49 +01:00
Simon de Vlieger
3443484502 image: image_installer, use gzip compression 2022-11-24 17:59:56 +01:00
Antonio Murdaca
a295ed7c90 check FDO re-encryption happens
Signed-off-by: Antonio Murdaca <antoniomurdaca@gmail.com>
2022-11-24 09:33:00 +00:00
Simon de Vlieger
d4d100383e image: create installer image types for fedora
This adds the `fedora-image-installer` and
`fedora-image-installer-preview` images.

The image installer type installs anaconda-webui on Fedora >= 38 to use
the new UI. It also writes its setting to
`/usr/share/anaconda/interactive-defaults.ks` as the current
anaconda-webui has not yet been tested in kickstart mode.

To do so manifest.Anaconda was expanded to take a (subset) of options
for a KickstartStage which is will write into interactive-defaults.ks.
And to take a list of additional modules to enable, so we can set up
Anaconda with all default modules.
2022-11-21 09:45:26 +01:00