diff --git a/.gitignore b/.gitignore index 126d823..3d5ec2e 100644 --- a/.gitignore +++ b/.gitignore @@ -195,3 +195,8 @@ /lorax-34.7.tar.gz /lorax-34.8.tar.gz /lorax-34.9.tar.gz +/lorax-34.10.tar.gz +/lorax-34.11.tar.gz +/lorax-34.12.tar.gz +/lorax-34.13.tar.gz +/lorax-34.14.tar.gz diff --git a/78eec89cda687f9689978eedb5482d041577577a.patch b/78eec89cda687f9689978eedb5482d041577577a.patch deleted file mode 100644 index 4f9aa0c..0000000 --- a/78eec89cda687f9689978eedb5482d041577577a.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 78eec89cda687f9689978eedb5482d041577577a Mon Sep 17 00:00:00 2001 -From: Vojtech Trefny -Date: Wed, 18 Nov 2020 10:27:58 +0100 -Subject: [PATCH] Do not use '--loglevel' option when running Anaconda - -This option has been removed, see https://github.com/rhinstaller/anaconda/pull/2864 ---- - src/pylorax/installer.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/pylorax/installer.py b/src/pylorax/installer.py -index b882ecfe6..9d0a8527b 100644 ---- a/src/pylorax/installer.py -+++ b/src/pylorax/installer.py -@@ -355,7 +355,7 @@ def novirt_install(opts, disk_img, disk_size, cancel_func=None, tar_img=None): - if os.path.isdir(path): - shutil.rmtree(path) - -- args = ["--kickstart", opts.ks[0], "--cmdline", "--loglevel", "debug"] -+ args = ["--kickstart", opts.ks[0], "--cmdline"] - if opts.anaconda_args: - for arg in opts.anaconda_args: - args += arg.split(" ", 1) diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..0c1cc35 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy +product_versions: + - fedora-* +decision_contexts: [bodhi_update_push_stable] +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} diff --git a/lorax.spec b/lorax.spec index 30e3488..7c42c3f 100644 --- a/lorax.spec +++ b/lorax.spec @@ -3,7 +3,7 @@ %define debug_package %{nil} Name: lorax -Version: 34.9 +Version: 34.14 Release: 1%{?dist} Summary: Tool for creating the anaconda install images @@ -51,7 +51,7 @@ Requires: python3-mako Requires: python3-kickstart >= 3.19 Requires: python3-dnf >= 3.2.0 Requires: python3-librepo -Requires: python3-pycdlib +Requires: python3-pycdio %if 0%{?fedora} # Fedora specific deps @@ -133,17 +133,6 @@ Provides: lorax-templates = %{version}-%{release} Lorax templates for creating the boot.iso and live isos are placed in /usr/share/lorax/templates.d/99-generic -%package -n composer-cli -Summary: A command line tool for use with the lorax-composer API server - -# From Distribution -Requires: python3-urllib3 -Requires: python3-toml - -%description -n composer-cli -A command line tool for use with the lorax-composer API server. Examine blueprints, -build images, etc. from the command line. - %prep %setup -q -n %{name}-%{version} @@ -157,8 +146,7 @@ make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install %defattr(-,root,root,-) %license COPYING %doc AUTHORS -%doc docs/composer-cli.rst docs/lorax.rst docs/livemedia-creator.rst docs/product-images.rst -%doc docs/lorax-composer.rst +%doc docs/lorax.rst docs/livemedia-creator.rst docs/product-images.rst %doc docs/*ks %{python3_sitelib}/pylorax %{python3_sitelib}/*.egg-info @@ -186,13 +174,36 @@ make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install %dir %{_datadir}/lorax/templates.d %{_datadir}/lorax/templates.d/* -%files -n composer-cli -%{_bindir}/composer-cli -%{python3_sitelib}/composer/* -%{_sysconfdir}/bash_completion.d/composer-cli -%{_mandir}/man1/composer-cli.1* - %changelog +* Tue Dec 14 2021 Brian C. Lane 34.14-1 +- cleanup: remove binaries from lilv (awilliam@redhat.com) +- runtime-cleanup: remove pipewire-related packages (awilliam@redhat.com) +- mount: Switch to using pycdio instead of pycdlib (bcl@redhat.com) + +* Mon Nov 08 2021 Brian C. Lane 34.13-1 +- Use fedora:34 for Dockerfile.test (bcl@redhat.com) +- dnfbase: Handle defaults better (bcl@redhat.com) +- ltmpl: Add version compare support to installpkg (bcl@redhat.com) +- Install unicode.pf2 from new directory (bcl@redhat.com) +- fedora-livemedia: Add anaconda-install-img-deps (bcl@redhat.com) +- New lorax documentation - 34.12 (bcl@redhat.com) + +* Tue Jun 01 2021 Brian C. Lane 34.12-1 +- Add a context manager for dracut (bcl@redhat.com) + Resolves: rhbz#1962975 +* Wed May 05 2021 Brian C. Lane 34.11-1 +- runtime-cleanup: Use branding package name instead of product.name (bcl@redhat.com) +- treebuilder: Add branding package to template variables (bcl@redhat.com) +- livemedia-creator: Use inst.ks on cmdline for virt (bcl@redhat.com) +- Change khmeros-base-fonts to khmer-os-system-fonts. This font got renamed last year. (pnemade@fedoraproject.org) +- xorg-x11-font-utils is now four packages, remove all of them (peter.hutterer@who-t.net) +- xorg-x11-server-utils was split up in Fedora 34, so adjust templates (kevin@scrye.com) + +* Mon Apr 26 2021 Brian C. Lane 34.10-1 +- New lorax documentation - 34.10 (bcl@redhat.com) +- composer-cli: Remove all traces of composer-cli (bcl@redhat.com) +- runtime-cleanup: don't wipe /usr/bin/report-cli (#1937550) (awilliam@redhat.com) + * Mon Feb 15 2021 Brian C. Lane 34.9-1 - Use inst.rescue to trigger rescue mode (awilliam@redhat.com) Resolves: rhbz#1928318 @@ -332,375 +343,3 @@ make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install - lorax: Update how the release package is chosen (bcl@redhat.com) - ltmpl: Fix package logging format (bcl@redhat.com) Resolves: rhbz#1815000 - - -* Mon Mar 16 2020 Brian C. Lane 32.7-1 -- lorax: Write package lists in run_transaction (bcl@redhat.com) -- Add dig and comm to the boot.iso (bcl@redhat.com) -- lorax-composer: Add 'weldr' to indicate it supports the weldr API (bcl@redhat.com) -- lorax: Cleanup the removefrom --allbut files (bcl@redhat.com) -- lorax: Add eject back into the boot.iso (bcl@redhat.com) - -* Wed Feb 12 2020 Brian C. Lane 32.6-1 -- New lorax documentation - 32.6 (bcl@redhat.com) -- Update mock documentation to remove --old-chroot (bcl@redhat.com) -- Use .tasks file to trigger removal of stale cloud resources (atodorov@redhat.com) -- tests: OpenStack - apply tags and delete by tags (atodorov@redhat.com) -- tests: Azure - apply tags and delete by tags (atodorov@redhat.com) -- tests: VMware - delete only VMs named Composer-Test-* (atodorov@redhat.com) -- tests: AWS - apply tags when creating resoures and delete by tags (atodorov@redhat.com) -- Reflect fonts packages from comps (akira@tagoh.org) -- lorax: Catch rootfs out of space failures (bcl@redhat.com) -- pylint: whitelist the rpm module (bcl@redhat.com) -- tests: Move the list of packages out of Dockerfile.test into a file (bcl@redhat.com) -- tests: remove ALI_DIR after we're done using the cli (atodorov@redhat.com) -- Test & cleanup script for Alibaba cloud (atodorov@redhat.com) -- tests: run ssh commands in batch mode (jrusz@redhat.com) -- lorax: Log dnf solver debug data in ./debugdata/ (bcl@redhat.com) -- tests: remove --test=2 from compose_sanity (jrusz@redhat.com) - -* Thu Jan 16 2020 Brian C. Lane 32.5-1 -- New lorax documentation - 32.5 (bcl@redhat.com) -- tests: Use mock from unittest (bcl@redhat.com) -- Add --dracut-conf cmdline argument to lorax and livemedia-creator (bcl@redhat.com) -- Add tests for metapackages and package name globs (bcl@redhat.com) -- executils: Drop bufsize=1 from execReadlines (bcl@redhat.com) -- tests: unittest and pytest expect functions to start with test_ (bcl@redhat.com) -- Update to_timeval usage to use format_iso8601 (bcl@redhat.com) -- ltmpl: Update to use collections.abc (bcl@redhat.com) -- test: Use pytest instead of nose (bcl@redhat.com) -- tests: Check for cloud-init presence in azure image (jrusz@redhat.com) -- tests: check for failed compose before trying to cancel (jrusz@redhat.com) -- tests: Enable Elastic Network Adapter support for AWS (atodorov@redhat.com) -- lorax-composer: Enable ami on aarch64 (bcl@redhat.com) - -* Fri Jan 10 2020 Brian C. Lane 32.4-1 -- livemedia-creator: workaround glibc limitation when starting anaconda (dan@danny.cz) -- AWS test: take into account different instance type for non x86 (atodorov@redhat.com) -- Add test for canceling a running compose (jrusz@redhat.com) -- composer-cli: Increase DELETE timeout to 120s (bcl@redhat.com) -- anaconda_cleanup: Remove anaconda.pid if it is left behind (bcl@redhat.com) -- New lorax documentation - 32.4 (bcl@redhat.com) -- docs: Add documentation for new mkksiso --volid feature (bcl@redhat.com) -- mkksiso: Add the option to set the ISO volume label (florian.achleitner@prime-sign.com) -- spec: Add missing BuildRequires: make (florian.achleitner@prime-sign.com) -- tests: Use wildcard versions for packages (bcl@redhat.com) -- composer-cli: Only display the available compose types (bcl@redhat.com) -- fix typo in api docstring (obudai@redhat.com) -- Remove all repo files & install composer-cli from host repos (atodorov@redhat.com) -- Always remove lorax-composer & composer-cli RPMs before installing them (atodorov@redhat.com) -- Always remove existing VM image before building new one (atodorov@redhat.com) -- Add git to Dockerfile.test (bcl@redhat.com) - -* Mon Nov 18 2019 Brian C. Lane 32.3-1 -- lorax-composer: Add cloud-init support to the vhd image (bcl@redhat.com) -- tests: add docker variable to .travis.yml (jrusz@redhat.com) -- tests: Changed Docker to podman in Makefile (jrusz@redhat.com) -- tests: fix blueprints tag test (jrusz@redhat.com) -- test: fix serializing repo_to_source test (jrusz@redhat.com) -- composer-cli: Return int from handle_api_result not bool (bcl@redhat.com) -- mkksiso: copy all the directories over to tmpdir (bcl@redhat.com) -- Add dmidecode on supported architectures (bcl@redhat.com) -- docs: Remove --title from list of lmc variables (bcl@redhat.com) -- Drop old lorax.spec changelog entries (pre-F31) (bcl@redhat.com) - -* Tue Nov 05 2019 Brian C. Lane 32.2-1 -- New lorax documentation - 32.2 (bcl@redhat.com) -- tests: Add 'test_mkksiso' tests (bcl@redhat.com) -- mkksiso: Add documentation (bcl@redhat.com) -- mkksiso: Add a tool to add a kickstart to an existing boot.iso (bcl@redhat.com) -- tests: Add a lorax boot.iso test (bcl@redhat.com) -- test: Add wait_boot method for root logins (bcl@redhat.com) -- tests: Ensure failure if beakerlib results file not found (atodorov@redhat.com) -- tests: Documentation updates (atodorov@redhat.com) -- tests: Use host repositories for make vm (atodorov@redhat.com) -- Remove unused make targets (atodorov@redhat.com) -- DRY when setting up, running & parsing results for beakerlib tests (atodorov@redhat.com) -- tests: Disable mirrors (atodorov@redhat.com) -- tests: Use journalctl -g to check for failed login (bcl@redhat.com) -- tests: Fix check_root_account when used with tar liveimg test (bcl@redhat.com) -- tests: Use the same asserts as before (atodorov@redhat.com) -- tests: switch to using podman instead of docker (atodorov@redhat.com) -- tests: Remove nested vm from tar liveimg kickstart test (bcl@redhat.com) -- tests: Use --http0.9 for curl ssh test (bcl@redhat.com) -- test: Boot the live-iso faster, and login using ssh key (bcl@redhat.com) -- test: Split up the test class to allow booting other images (bcl@redhat.com) -- tests: Split testing the image into a separate script (bcl@redhat.com) -- Add live iso support to s390 (bcl@redhat.com) -- docs: Override macboot/nomacboot documentation (bcl@redhat.com) -- Disable some compose types on other architectures (bcl@redhat.com) -- lorax: Drop unused --title option (bcl@redhat.com) -- tests: Document Azure setup (atodorov@redhat.com) -- tests: unskip Azure scenario (atodorov@redhat.com) - -* Wed Oct 16 2019 Brian C. Lane 32.1-1 -- Bump default platform and releasever to 32 (bcl@redhat.com) -- New lorax documentation - 32.1 (bcl@redhat.com) -- docs: Fix Sphinx errors in docstrings (bcl@redhat.com) -- vm.install: Turn on verbose output (bcl@redhat.com) -- tests: Switch the azure examples used in the lifted tests to use aws (bcl@redhat.com) -- Remove lifted azure support (bcl@redhat.com) -- composer-cli: Add providers info command (bcl@redhat.com) -- composer-cli: Fix error handling in providers push (bcl@redhat.com) -- composer-cli: Fix upload log output (bcl@redhat.com) -- Add list to bash completion for composer-cli upload (bcl@redhat.com) -- Update composer-cli documentation (bcl@redhat.com) -- Add composer and lifted to coverage report (bcl@redhat.com) -- composer-cli: Add starting an upload to compose start (bcl@redhat.com) -- composer-cli: Add providers template command (bcl@redhat.com) -- bash_completion: Add support for new composer-cli commands (bcl@redhat.com) -- composer-cli: Add support for providers command (bcl@redhat.com) -- composer-cli: Add support for upload command (bcl@redhat.com) -- Increase ansible verbosity to 2 (bcl@redhat.com) -- lifted: Add support for AWS upload (bcl@redhat.com) -- lifted: Improve logging for upload playbooks (bcl@redhat.com) -- Add upload status examples to compose route docstrings (bcl@redhat.com) -- tests: Add tests for deleting unknown upload and profile (bcl@redhat.com) -- Add docstrings to the new upload functions in pylorax.api.queue (bcl@redhat.com) -- Change /compose/uploads/delete to /upload/delete (bcl@redhat.com) -- tests: Add test for /compose/uploads/delete (bcl@redhat.com) -- tests: Add tests for /compose/uploads/schedule (bcl@redhat.com) -- Add profile support to /uploads/schedule/ (bcl@redhat.com) -- tests: Fix comments about V1 API results including uploads data (bcl@redhat.com) -- lifted: Make sure inputs cannot have path elements (bcl@redhat.com) -- Use consistent naming for upload uuids (bcl@redhat.com) -- tests: Add tests for new upload routes (bcl@redhat.com) -- Fix some docstrings in the v1 API (bcl@redhat.com) -- lifted: Make sure providers list is always sorted (bcl@redhat.com) -- Add /upload/providers/delete route (bcl@redhat.com) -- lifted: Add delete_profile function and tests (bcl@redhat.com) -- Add support for starting a compose upload with the profile (bcl@redhat.com) -- lifted: Add a function to load the settings for a provider's profile (bcl@redhat.com) -- Fix pylint errors in lifted.upload (bcl@redhat.com) -- tests: Add yamllint of the lifted playbooks (bcl@redhat.com) -- tests: Add tests for the new lifted module (bcl@redhat.com) -- All providers should have 'supported_types' (bcl@redhat.com) -- lifted directories should be under share_dir and lib_dir (bcl@redhat.com) -- tests: Add tests for API v1 (bcl@redhat.com) -- Make sure V0 API doesn't return uploads information (bcl@redhat.com) -- Automatically upload composed images to the cloud (egoode@redhat.com) -- Add load and dump to pylorax.api.toml (egoode@redhat.com) -- Support CI testing against a bots project PR (martin@piware.de) -- Makefile: Don't clobber an existing bots checkout (martin@piware.de) -- lorax-composer: Handle RecipeError in commit_recipe_directory (bcl@redhat.com) -- test: Disable pylint subprocess check check (bcl@redhat.com) - -* Mon Sep 30 2019 Brian C. Lane 32.0-1 -- aarch64: Fix live-iso creation on aarch64 (bcl@redhat.com) -- Add test for running composer with --no-system-repos option (jikortus@redhat.com) -- [tests] Use functions for starting and stopping lorax-composer (jikortus@redhat.com) -- Makefile: Update bots target for moved GitHub project (sanne.raymaekers@gmail.com) -- Keep the zramctl utility from util-linux on boot.iso (mkolman@redhat.com) -- Skip kickstart tar test for fedora-30/tar scenario (atodorov@redhat.com) -- Enable fedora-30/tar test scenario (atodorov@redhat.com) -- [tests] Collect compose logs after each build (atodorov@redhat.com) -- [tests] Use a function to wait for compose to finish (jikortus@redhat.com) -- When launching AWS instances wait for the one we just launched (atodorov@redhat.com) -- tests: Add kickstart tar installation test (jikortus@redhat.com) -- tests: add option to disable kernel command line parameters check (jikortus@redhat.com) -- tests: Use a loop to wait for VM and sshd to start (bcl@redhat.com) -- creator.py: include dmsquash-live-ntfs by default (gmt@be-evil.net) -- Skip Azure test b/c misconfigured infra & creds (atodorov@redhat.com) -- tests: Drop tito from the Dockerfile.test (bcl@redhat.com) -- tests: Drop sort from compose types test (bcl@redhat.com) -- Revert "tests: Fix the order of liveimg-tar live-iso" (atodorov@redhat.com) -- New test: assert toml files in git workspace (atodorov@redhat.com) - -* Tue Aug 20 2019 Brian C. Lane 31.10-1 -- tests: Update gpg key to fedora 32 (bcl@redhat.com) -- tests: Fix the order of liveimg-tar live-iso (bcl@redhat.com) -- tests: Use server-2.repo instead of single.repo (bcl@redhat.com) -- lorax-composer: Add support for dnf variables to repo sources (bcl@redhat.com) -- Use smarter multipath detection logic. (dlehman@redhat.com) -- tests: Expand test coverage of the v0 and v1 sources API (bcl@redhat.com) -- tests: Temporarily work around rpm and pylint issues (bcl@redhat.com) -- lorax-composer: Add v1 API for projects/source/ (bcl@redhat.com) -- Add /api/v1/ handler with no routes (bcl@redhat.com) -- Move common functions into pylorax.api.utils (bcl@redhat.com) -- Document the release process steps (bcl@redhat.com) -- lorax-composer: Add liveimg-tar image type (bcl@redhat.com) -- livemedia-creator: Use --compress-arg in mksquashfs (bcl@redhat.com) -- livemedia-creator: Remove unused --squashfs_args option (bcl@redhat.com) -- Only use repos with valid urls for test_server.py (bcl@redhat.com) -- lorax-composer: Clarify groups documentation (bcl@redhat.com) - -* Mon Jul 29 2019 Brian C. Lane 31.9-1 -- New lorax documentation - 31.9 (bcl@redhat.com) -- Remove .build-id from install media (riehecky@fnal.gov) -- lorax-composer: Add squashfs_only False to all image types (bcl@redhat.com) -- tests: Update test_creator.py (bcl@redhat.com) -- docs: Add anaconda-live to fedora-livemedia.ks example (bcl@redhat.com) -- livemedia-creator: Use make_runtime for all runtime creation (bcl@redhat.com) -- livemedia-creator: Add support for a squashfs only runtime image (bcl@redhat.com) -- Update rst formatting. Refs #815 (atodorov@redhat.com) -- don't skip Xorg packages on s390x to allow local GUI installation under KVM (dan@danny.cz) -- Use binary mode to tail the file (bcl@redhat.com) -- Return most relevant log file from /compose/log (egoode@redhat.com) -- Use passwd --status for locked root account check (jikortus@redhat.com) -- tests: Use liveuser account for live-iso boot check (bcl@redhat.com) -- Mention python3-magic in HACKING.md (egoode@redhat.com) -- tests: Add check to make sure the compose actually finished (bcl@redhat.com) -- test: check the number of tests that ran (atodorov@redhat.com) -- lorax: Add debug log of command line options (riehecky@fnal.gov) -- lorax: provide runtime lorax config in debug log (riehecky@fnal.gov) -- Remove whitespace in v0_blueprints_new (jacobdkozol@gmail.com) -- Add test for VALID_BLUEPRINT_NAME check (jacobdkozol@gmail.com) -- Add seperate validation for blueprint names (jacobdkozol@gmail.com) -- Leave lscpu in the image for additional debugging (riehecky@fnal.gov) -- tests: set skip_if_unavailable in test repos (lars@karlitski.net) -- test/README.md: Add section explaining GitHub integration (lars@karlitski.net) - -* Fri Jun 28 2019 Brian C. Lane 31.8-1 -- Also search for pxeboot kernel and initrd pairs (hadess@hadess.net) -- Assert that RuntimeErrors have correct messages (egoode@redhat.com) -- More descriptive error for a bad ref in repos.git (egoode@redhat.com) -- Remove unused shell script (atodorov@redhat.com) -- test: Output results for cockpit's log.html (lars@karlitski.net) -- Do not generate journal.xml from beakerlib (atodorov@redhat.com) -- tests: Add RUN_TESTS to Makefile so you can pass in targets (bcl@redhat.com) -- tests: Add tests for recipe checking functions (bcl@redhat.com) -- lorax-composer: Add basic case check to check_recipe_dict (bcl@redhat.com) -- lorax-composer: Add basic recipe checker function (bcl@redhat.com) -- Revert "test: Disable test_live_iso test" (lars@karlitski.net) -- test: Fix test_blueprint_sanity (lars@karlitski.net) -- tests: rpm now returns str, drop decode() call (bcl@redhat.com) -- tests: Drop libgit2 install from koji (bcl@redhat.com) - -* Tue Jun 18 2019 Brian C. Lane 31.7-1 -- New lorax documentation - 31.7 (bcl@redhat.com) -- Update qemu arguments to work correctly with nographic (bcl@redhat.com) -- Switch to new toml library (bcl@redhat.com) -- composer-cli: Update diff support for customizations and repos.git (bcl@redhat.com) -- Add support for customizations and repos.git to /blueprints/diff/ (bcl@redhat.com) -- tests: Update custom-base with customizations (bcl@redhat.com) -- Move the v0 API documentation into the functions (bcl@redhat.com) -- Update the /api/v0/ route handling to use the flask_blueprints Blueprint class (bcl@redhat.com) -- Extend Flask Blueprint class to allow skipping routes (bcl@redhat.com) -- Remove PR template (atodorov@redhat.com) -- Increase retry count/sleep times when waiting for lorax to start (atodorov@redhat.com) -- Revert "remove the check for qemu-kvm" (atodorov@redhat.com) -- Revert "remove the check for /usr/bin/docker in the setup phase" (atodorov@redhat.com) -- [tests] Define unbound variables in test scripts (atodorov@redhat.com) -- [tests] Handle blueprints in setup_tests/teardown_tests correctly (atodorov@redhat.com) -- [tests] grep|cut for IP address in a more robust way (atodorov@redhat.com) -- Remove quotes around file test in make vm (atodorov@redhat.com) -- test: Don't wait on --sit when test succeeds (lars@karlitski.net) -- Monkey-patch beakerlib to fail on first assert (lars@karlitski.net) -- test_cli.sh: Return beakerlib's exit code (lars@karlitski.net) -- Don't send CORS headers (lars@karlitski.net) -- tests: Set BLUEPRINTS_DIR in all cases (lars@karlitski.net) -- tests: Fail on script errors (lars@karlitski.net) -- Add API integration test (lars@karlitski.net) -- composer: Set up a custom HTTP error handler (lars@karlitski.net) -- Split live-iso and qcow2 and update test scenario execution (atodorov@redhat.com) -- Configure $PACKAGE for beakerlib reports (atodorov@redhat.com) -- Use cloud credentials during test if they exist (atodorov@redhat.com) -- Don't execute compose/blueprint sanity tests in Travis CI (atodorov@redhat.com) -- test: Add --list option to test/check* scripts (lars@karlitski.net) -- test: Add --sit argument to check-* scripts (lars@karlitski.net) -- test: Custom main() function (lars@karlitski.net) -- Use ansible instead of awscli (jstodola@redhat.com) -- Fix path to generic.prm (jstodola@redhat.com) -- Update example fedora-livemedia.ks (bcl@redhat.com) -- Update composer live-iso template (bcl@redhat.com) -- test: Disable test_live_iso test (lars@karlitski.net) -- tests: Source lib.sh from the right directory (lars@karlitski.net) -- Revert "Add rpmfluff temporarily" (bcl@redhat.com) -- tests: Update tmux version to 2.9a (bcl@redhat.com) -- test: Install beakerlib on non-RHEL images (martin@piware.de) -- tests: Fail immediately when image build fails (lars@karlitski.net) -- test: Install beakerlib wehn running on rhel (lars@karlitski.net) -- test: Generalize fs resizing in vm.install (lars@karlitski.net) -- tests: Re-enable kvm (lars@karlitski.net) -- test: Fix vm.install to be idempotent (lars@karlitski.net) -- tests: Don't depend on kvm for tar and qcow2 tests (lars@karlitski.net) -- test_compose_tar: Work around selinux policy change (lars@karlitski.net) -- test_compose_tar: Be less verbose (lars@karlitski.net) -- test_compose_tar: Fix docker test (lars@karlitski.net) -- tests: Extract images to /var/tmp, not /tmp (lars@karlitski.net) -- Use Cockpit's test images and infrastructure (lars@karlitski.net) -- pylint: Remove unused false positive (lars@karlitski.net) - -* Thu May 16 2019 Brian C. Lane 31.6-1 -- Add kernel to ext4-filesystem template (bcl@redhat.com) -- Create a lorax-docs package with the html docs (bcl@redhat.com) -- Add new documentation branches to index.rst (bcl@redhat.com) - -* Tue May 07 2019 Brian C. Lane 31.5-1 -- Add python3-pycdlib to Dockerfile.test (bcl@redhat.com) -- Replace isoinfo with pycdlib (bcl@redhat.com) -- Add test for passing custom option on kernel command line (jikortus@redhat.com) -- Use verify_image function as a helper for generic tests (jikortus@redhat.com) - -* Thu May 02 2019 Brian C. Lane 31.4-1 -- tests: Update openssh-server to v8.* (bcl@redhat.com) -- New lorax documentation - 31.4 (bcl@redhat.com) -- Change customizations.firewall to append items instead of replace (bcl@redhat.com) -- Update customizations.services documentation (bcl@redhat.com) -- lorax-composer: Add services support to blueprints (bcl@redhat.com) -- Add rpmfluff temporarily (bcl@redhat.com) -- lorax-composer: Add firewall support to blueprints (bcl@redhat.com) -- lorax-composer: Add locale support to blueprints (bcl@redhat.com) -- lorax-composer: Fix customizations when creating a recipe (bcl@redhat.com) -- Update docs for new timezone section (bcl@redhat.com) -- lorax-composer: Add timezone support to blueprint (bcl@redhat.com) -- Proposal for adding to the blueprint customizations (bcl@redhat.com) -- Add test for starting compose with deleted blueprint (jikortus@redhat.com) -- Update VMware info for VMware testing (chrobert@redhat.com) -- tests: Cleanup on failure of in_tempdir (bcl@redhat.com) -- Change [[modules]] to [[packages]] in tests (atodorov@redhat.com) -- Add new test to verify compose paths exist (atodorov@redhat.com) -- Add new sanity tests for blueprints (atodorov@redhat.com) -- Fixes for locked root account test (jikortus@redhat.com) - -* Fri Apr 05 2019 Brian C. Lane 31.3-1 -- Add -iso-level 3 when the install.img is > 4GiB (bcl@redhat.com) -- Correct "recipes" use to "blueprints" in composer-cli description (kwalker@redhat.com) -- Fix keeping files on Amazon s3 (jstodola@redhat.com) -- Allow to keep objects in AWS (jstodola@redhat.com) -- Fix the google cloud boot console settings (dshea@redhat.com) -- Add a compose type for alibaba. (dshea@redhat.com) -- Add a new compose type for Hyper-V (dshea@redhat.com) -- Add a compose check for google cloud images. (dshea@redhat.com) -- Add a compose type for Google Compute Engine (dshea@redhat.com) -- Add a new output type, tar-disk. (dshea@redhat.com) -- Support compressing single files. (dshea@redhat.com) -- Add an option to align the image size to a multiplier. (dshea@redhat.com) - -* Mon Apr 01 2019 Brian C. Lane 31.2-1 -- Add documentation references to lorax-composer service files (bcl@redhat.com) -- Add more tests for gitrpm.py (bcl@redhat.com) -- lorax-composer: Fix installing files from [[repos.git]] to / (bcl@redhat.com) -- New lorax documentation - 31.1 (bcl@redhat.com) -- Make it easier to generate docs for the next release (bcl@redhat.com) - -* Tue Mar 26 2019 Brian C. Lane 31.1-1 -- qemu wasn't restoring the terminal if it was terminated early (bcl@redhat.com) -- Switch the --virt-uefi method to use SecureBoot (bcl@redhat.com) -- pylorax.ltmpl: Add a test for missing quotes (bcl@redhat.com) -- Don't remove chmem and lsmem from install.img (bcl@redhat.com) -- lorax-composer: pass customization.kernel append to extra_boot_args (bcl@redhat.com) -- Improve logging for template syntax errors (bcl@redhat.com) -- Add extra boot args to the livemedia-creator iso templates (bcl@redhat.com) -- lorax-composer: Add the ability to append to the kernel command-line (bcl@redhat.com) -- Add checks for disabled root account (jikortus@redhat.com) -- Update datastore for VMware testing (chrobert@redhat.com) - -* Fri Mar 15 2019 Brian C. Lane 31.0-1 -- Add tests using repos.git in blueprints (bcl@redhat.com) -- Move git repo creation into tests/lib.py (bcl@redhat.com) -- rpmgit: catch potential errors while running git (bcl@redhat.com) -- tests: Add test for Recipe.freeze() function (bcl@redhat.com) -- Add repos.git support to lorax-composer builds (bcl@redhat.com) -- Add pylorax.api.gitrpm module and tests (bcl@redhat.com) -- Add support for [[repos.git]] section to blueprints (bcl@redhat.com) -- Update ppc64le isolabel to match x86_64 logic (bcl@redhat.com) -- Add blacklist_exceptions to multipath.conf (bcl@redhat.com) -- tests: Add python3-mock and python3-sphinx_rtd_theme (bcl@redhat.com) -- Use make ci inside test-in-copy target (atodorov@redhat.com) -- Allow overriding $CLI outside test scripts (atodorov@redhat.com) -- tests: Make it easier to update version globs (bcl@redhat.com) -- New test: Build live-iso and boot with KVM (atodorov@redhat.com) -- lorax-composer: Return UnknownBlueprint errors when using deleted blueprints (bcl@redhat.com) -- lorax-composer: Delete workspace copy when deleting blueprint (bcl@redhat.com) -- New test: Build qcow2 compose and test it with QEMU-KVM (atodorov@redhat.com) diff --git a/sources b/sources index 2578a4f..2280cb7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lorax-34.9.tar.gz) = 592a2fe3a4dbb7deb62745acc7b5874afa01dfbe89e74232d74e013954bac3a64d22353ff876b09b38d4b5fadb3a2762612a9f5ce7e340168f7a3ee8e9b7f900 +SHA512 (lorax-34.14.tar.gz) = 16e95ac9cbc4bd63c3cacd8ec42e1dc96cf3d19ab24b842a56eb7d2c23ac40cc8650cc1ce8dcdb3b3d697ac0022e7b3eb2ae72c0175c96dbe50cdb0316cd288e diff --git a/tests/.fmf/version b/tests/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/tests/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/tests/provision.fmf b/tests/provision.fmf new file mode 100644 index 0000000..dd69f34 --- /dev/null +++ b/tests/provision.fmf @@ -0,0 +1,5 @@ +--- + +standard-inventory-qcow2: + qemu: + m: 4G diff --git a/tests/scripts/run_tests.sh b/tests/scripts/run_tests.sh new file mode 100755 index 0000000..242d17c --- /dev/null +++ b/tests/scripts/run_tests.sh @@ -0,0 +1,13 @@ +#!/bin/bash +set -eux +# Gather up the list of system repo files and use them for lorax +REPOS=$(for f in /etc/yum.repos.d/*repo; do echo -n "--repo $f "; done) +if [ -z "$REPOS" ]; then + echo "No system repos found" + exit 1 +fi + +# NOTE: We must use --nomacboot because the test system doesn't have the hfsplus fs available +# Run lorax using the host's repository configuration file +lorax --product="Fedora" --version=34 --release=34 --volid="Fedora-34-test" \ + $REPOS --isfinal --nomacboot /var/tmp/lorax-fedora-iso/ diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..d39d256 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,15 @@ +--- +# Run lorax with the new templates +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + + required_packages: + - lorax + + tests: + - simple: + dir: scripts + run: ./run_tests.sh