Commit Graph

2238 Commits

Author SHA1 Message Date
Brian C. Lane ea77b0da20 Increase example kickstart root partitions to at least 4000MB
Anaconda needs enough space to download the rpms and install the packages
when running livemedia-creator with virt mode so the / partition needs
to be larger.

Resolves: rhbz#1973407
2021-07-06 16:34:22 -07:00
Brian C. Lane 48c7c43e38 Automatic commit of package [lorax] release [28.14.60-1].
Created by command:

/usr/bin/tito tag
2021-06-29 12:16:12 -07:00
Brian C. Lane 6e0c52ce78 New lorax documentation - 28.14.59
Related: rhbz#1955355
2021-06-29 12:07:03 -07:00
Brian C. Lane 354ee6d301 docs: Add missing mkksiso.1 manpage
Related: rhbz#1955355
2021-06-29 12:07:03 -07:00
Brian C. Lane 6197d9c4b2 docs: Fix reference in composer-cli.rst
Sphinx wants a space between the words and the URL.

Related: rhbz#1915361
2021-06-29 12:07:03 -07:00
Brian C. Lane 8930cad4fc Makefile: Use user-mode podman and fix docs-in-docker target
The docs target was broken, which made it difficult to easily update the
documentation and notice missing documentation.

podman is now widespread, and user-mode doesn't need root so switch to
using that. Leave the Makefile target names in place so that CI isn't
confused.

Related: rhbz#1955355
2021-06-29 12:07:03 -07:00
Brian C. Lane d8ea37f267 spec: Drop older release bz numbers
The spec file got out of sync with dist-git and having these referenced
here causes the bug checker to block the new commits.
2021-06-29 09:59:50 -07:00
Brian C. Lane c589921f0a Automatic commit of package [lorax] release [28.14.59-1].
Created by command:

/usr/bin/tito tag
2021-06-29 09:32:03 -07:00
Brian C. Lane 6c07a08be0 Backport mkksiso to RHEL 8.5.0
This allows you to modify the boot.iso to run a kickstart and add
additional files to the iso.

Resolves: rhbz#1955355
2021-06-29 09:21:03 -07:00
Brian C. Lane a64b6e9677 Move manpages into the correct subpackages
Resolves: rhbz#1928962
2021-06-29 09:18:00 -07:00
Brian C. Lane aa5e627c0a composer-cli: Update documentation URLs
Resolves: rhbz#1915361
2021-06-24 12:00:06 -07:00
Brian C. Lane 677c08f743 Use wildcard for grub2 modules in livemedia.ks example
This will make it easier to use the kickstart on different arches.

Related: rhbz#1973530
2021-06-23 11:22:18 -07:00
Brian C. Lane ca233194bb runtime-install: Install ipcalc
Related: rhbz#1958314
2021-05-10 16:04:02 -07:00
Martin Pitt 98555e9d16 test: Add new osbuild-composer expected types 2021-03-29 10:58:20 +03:00
Martin Pitt cd8b28b8cf test: Fix URL to bots testmap
It was moved in https://github.com/cockpit-project/bots/commit/7a3c71968d568
2021-03-29 10:58:20 +03:00
Brian C. Lane b7965ea762 Automatic commit of package [lorax] release [28.14.58-1].
Created by command:

/usr/bin/tito tag
2021-03-04 13:40:56 -08:00
Brian C. Lane 206d9a34a6 composer-cli: Add support for start-ostree --url URL
Some ostree builds, like edge, require passing a url to it along with
the ref and parent arguments. This adds an optional --url argument to
the 'composer-cli compose start-ostree' command.

Resolves: rhbz#1929381
2021-02-16 13:37:23 -08:00
Aleksandar Todorov 198e21e5e0 tests: Override rhel-8-beta.json repositories for osbuild-composer
rhbz#1916684
2021-01-28 12:25:14 +01:00
Aleksandar Todorov 633ab6ed2e tests: Remove systemctl for osbuild-composer
leave osbuild-composer.socket instead otherwise API socket isn't
automatically started

Related: rhbz#1916684
2021-01-28 12:25:14 +01:00
Brian C. Lane b20a2dc36b tests: Start osbuild-composer.socket
Starting osbuild-composer.service doesn't start the sockets in
osbuild-composer v26

(This change is in dist-git, the commit is to keep lorax.spec in sync)

Resolves: rhbz#1916684
2021-01-15 13:53:05 -08:00
Martin Pitt 4149d8d810 test: Fix vm.install for non-LVM cloud images
Some of our images, like centos-8-stream, are already built from the
official cloud images instead of virt-install with LVM. More images are
going to do that soon [1][2], so fix vm.install to only do the LVM grow
steps if the image actually uses LVM.

Also adjust the comment, as commit 6ddaa5e0dd fixed this for
RHEL images.

[1] https://github.com/cockpit-project/bots/pull/1518
[2] https://github.com/cockpit-project/bots/pull/1527

(cherry-picked from commit 04ce221a65)
2021-01-08 20:03:29 +01:00
Brian C. Lane e5b517add6 Automatic commit of package [lorax] release [28.14.57-1].
Created by command:

/usr/bin/tito tag
2020-12-09 16:41:33 -08:00
Anthony F McInerney 4d7dc6f1de fixes #543 qemu -nodefconfig deprecated
Use -no-user-config instead.

Resolves: rhbz#1904168

(cherry picked from commit f66bff5aa7)
Signed-off-by: Brian C. Lane <bcl@redhat.com>
2020-12-09 16:40:53 -08:00
Brian C. Lane 74567d1ae7 sshd_config: Apply suggested changes
Some of the options have been removed, others are now the default.
MOTD still needs to be printed, the boot environment doesn't include the
pam motd module.

Resolves: rhbz#1872892
(cherry picked from commit 51a4a93f90)
2020-12-09 15:20:48 -08:00
Brian C. Lane c796b7a858 Automatic commit of package [lorax] release [28.14.56-1].
Created by command:

/usr/bin/tito tag
2020-12-03 11:27:39 -08:00
Brian C. Lane be3aa59daa Switch to using upstream mk-s390image for s390 cdboot.img creation
mk-s390-cdboot has stopped working because the kernel outgrew the
hard-coded offset it used when creating cdboot.img. IBM now has a script
in s390utils that can do the same thing so use the upstream script
instead.

This drops mk-s390-cdboot script, switches the s390 templates to use
mk-s390image from s390utils.

It adds @ROOT@ to cdboot.prm, and sets inst.stage2 so that the installer
image will be found when booting the iso.

Related: rhbz#1892404
2020-12-03 08:37:23 -08:00
Marek Marczykowski-Górecki 6291373794 Add --squashfs-only option to drop inner rootfs.img layer
Make runtime directly into squashfs image. This reduces largely
unreproducible ext4 layer, but requires anaconda's dracut module
modification to properly mount the image.

(cherry picked from commit 27e611629f)
Signed-off-by: Brian C. Lane <bcl@redhat.com>

Resolves: rhbz#1846282
2020-12-02 16:14:35 -08:00
Brian C. Lane edee60437d Automatic commit of package [lorax] release [28.14.55-1].
Created by command:

/usr/bin/tito tag
2020-09-10 11:56:31 -07:00
Brian C. Lane 51d3e378ba docs: Remove anaconda from rhel-livemedia.ks example
Anaconda no longer includes the liveinst script in the core package.
This means the live iso will just be a live desktop, not a live
installer.

Resolves: rhbz#1876563
2020-09-09 10:55:20 -07:00
Brian C. Lane a3ea3ae4d9 Automatic commit of package [lorax] release [28.14.54-1].
Created by command:

/usr/bin/tito tag
2020-08-10 16:02:36 -07:00
Brian C. Lane f112a0cbc7 tests: Fix diff test BACKEND check
The environmental variable we are using is 'BACKEND' not
'COMPOSER_BACKEND'

Related: rhbz#1825190
2020-08-10 11:15:04 -07:00
Brian C. Lane 693309ec30 Automatic commit of package [lorax] release [28.14.53-1].
Created by command:

/usr/bin/tito tag
2020-08-07 12:07:45 -07:00
Alexander Todorov 3ff8614cc7 tests: Push example blueprints b/c they may not exist
Related: rhbz#1825190
2020-08-07 08:50:40 -07:00
Brian C. Lane 93d8e1ed0d rhel-livemedia.ks: Add anaconda-live package to the example kickstart
Anaconda has moved some of the live related requirements into a new
package, anaconda-live, which needs to be included in the kickstart.

Related: rhbz#1691319
2020-08-06 14:28:56 -07:00
Chris Roberts 3e95ebfbc7 Switch VMware testing env to improve stability results
Related: rhbz#1825190
2020-08-04 20:05:34 +03:00
Brian C. Lane c0592f9546 Automatic commit of package [lorax] release [28.14.52-1].
Created by command:

/usr/bin/tito tag
2020-08-03 11:53:27 -07:00
Alexander Todorov 498dd262f8 Skip test_z_diff() if runninga against for osbuild-composer
See https://github.com/osbuild/osbuild-composer/issues/903

Related: rhbz#1825190
2020-08-03 09:40:23 -07:00
Brian C. Lane 7b645e4fa8 Automatic commit of package [lorax] release [28.14.51-1].
Created by command:

/usr/bin/tito tag
2020-07-28 14:27:54 -07:00
Alexander Todorov 99dec118aa tests: Overwrite rhel-8.json when testing with osbuild-composer
Provides a well-known location of internal repositories and does
not depend on the URLs configured in osbuild-composer itself.

Related: rhbz#1825190
2020-07-28 14:21:47 -07:00
Alexander Todorov b9e5fa5e7b tests: Allow skipping image build in compose sanity test
when $SKIP_IMAGE_BUILD is set the test skips 2 phases:
- start the compose again (after it has been cancelled) and
- waiting for it to finish & downloading the resulting image

This will allow to enable this test script in downstream gating
jobs.

Cherry-picked from cc29b99659,
https://github.com/weldr/lorax/pull/1053/

Related: rhbz#1825190
2020-07-28 14:21:47 -07:00
Alexander Todorov b3ec7af1d1 Set BACKEND=osbuild-composer if running that test scenario
- this will execute cli sanity tests in parallel with the other
- make sure to pass BACKED to vm.install too
- more checks in lib.sh

Cherry-picked from cc29b99659

Related: rhbz#1825190
2020-07-28 14:21:47 -07:00
Alexander Todorov 359b99a178 tests: Don't check info after compose cancel with osbuild-composer
osbuild-composer doesn't remove cancelled composes and even if we
wait for the cancellation to take place the UUID is still there
and `compose info` returns an exit code of 0 instead of 1

Cherry-picked from 27c4c67a59

Related: rhbz#1825190
2020-07-28 14:21:47 -07:00
Alexander Todorov de3f548025 tests: Compare blueprints as TOML objects, not strings
this is to avoid differences in ordering and white space. The same
approach is used on rhel7-extras branch.

Cherry-picked from 04bc5e9e86

Related: rhbz#1825190
2020-07-28 14:21:47 -07:00
Alexander Todorov 45d227a189 tests: Remove lorax-composer specific checks
Cherry-picked from eb7748236c

Related: rhbz#1825190
2020-07-28 14:21:47 -07:00
Alexander Todorov 76b52daa97 tests: Remove compose after we're done
Cherry-picked from 1c218ecbae

Related: rhbz#1825190
2020-07-28 14:21:47 -07:00
Lars Karlitski 3734129e67 tests: don't use beakerlib in blueprint
b/c for osbuild-composer beakerlib is not included in the
distributions we test on.

Cherry-picked from abcbbf3194

Related: rhbz#1825190
2020-07-28 14:21:47 -07:00
Lars Karlitski 8f860cc8a1 tests: don't depend on internal state of composer
Cherry-picked from 123827c90a

Related: rhbz#1825190
2020-07-28 14:21:47 -07:00
Alexander Todorov 6b2efa0da1 tests: Do not rely on example blueprints
- avoids having to modify them in the first place so less changes
  to the SUT
- will help with transition to osbuild-composer backend
- each test which needs a blueprint either declares it on its own
  (some already do this) or may use a shared blueprints from the
  tests lib dir

Cherry-picked from 7b08fa8838

Related: rhbz#1825190
2020-07-28 14:21:47 -07:00
Alexander Todorov 6240df6caf tests: Special case compose types for osbuild-composer
- alibaba - will be added later
- google - will be added later, low priority b/c
  GCE doesn't fully support RHEL8
- live-iso - not supported for now
- ext4 & partitioned disk - removed from osbuild-composer
- hyper-v & liveimg-tar are available only on master branch

Cherry-picked from 4dd7cf8798

Related: rhbz#1825190
2020-07-28 14:21:47 -07:00
Alexander Todorov b72bb63599 tests: Don't check example blueprints if we don't have to
ATM osbuild-composer doesn't ship example blueprints

Cherry-picked from d68e01b7e1

Related: rhbz#1825190
2020-07-28 14:21:47 -07:00