diff --git a/Makefile b/Makefile index a6942ff56c..01f17ee9cf 100644 --- a/Makefile +++ b/Makefile @@ -196,8 +196,9 @@ create-updates.img: bots # test runs in kernel_t context and triggers massive amounts of SELinux # denials; SELinux gets disabled, but would still trigger unexpected messages +# we create huge VMs, so we need to reduce parallelism on CI integration-test: prepare-test-deps test/reference $(UPDATES_IMG) - TEST_AUDIT_NO_SELINUX=1 test/common/run-tests + J=$$((TEST_JOBS/4)); [ $$J -ge 1 ] || J=1; TEST_AUDIT_NO_SELINUX=1 test/common/run-tests --jobs $$J test/reference: test/common test/common/pixel-tests pull diff --git a/src/components/storage/ModifyStorage.jsx b/src/components/storage/ModifyStorage.jsx index 229af6a9be..0626a9c69f 100644 --- a/src/components/storage/ModifyStorage.jsx +++ b/src/components/storage/ModifyStorage.jsx @@ -33,6 +33,11 @@ export const ModifyStorage = ({ idPrefix, onCritFail, onRescan, setShowStorage, const targetSystemRoot = useContext(TargetSystemRootContext); const mountPointConstraints = useMountPointConstraints(); const isEfi = mountPointConstraints?.some(c => c["required-filesystem-type"]?.v === "efi"); + const cockpitAnaconda = JSON.stringify({ + mount_point_prefix: targetSystemRoot, + available_devices: selectedDevices, + efi: isEfi, + }); return ( <> @@ -41,13 +46,9 @@ export const ModifyStorage = ({ idPrefix, onCritFail, onRescan, setShowStorage, variant="link" icon={} onClick={() => { - window.localStorage.setItem("cockpit_anaconda", - JSON.stringify({ - mount_point_prefix: targetSystemRoot, - available_devices: selectedDevices, - efi: isEfi, - }) - ); + window.sessionStorage.setItem("cockpit_anaconda", cockpitAnaconda); + // FIXME: Remove when cockpit-storaged 311 is available in Rawhide + window.localStorage.setItem("cockpit_anaconda", cockpitAnaconda); setShowStorage(true); }} > diff --git a/test/vm.install b/test/vm.install index 5bd9e05d43..cb31e81f4d 100755 --- a/test/vm.install +++ b/test/vm.install @@ -49,7 +49,9 @@ def vm_install(image, verbose, quick): # cockpit-storaged is also available in the default rawhide compose, make sure we don't pull it from there download_from_copr(f"packit/cockpit-project-cockpit-{cockpit_pr}", "cockpit-storaged", machine) else: - packages_to_download += " cockpit-storaged" + # FIXME: Download cockpit-storaged from custom COPR + # till https://github.com/cockpit-project/cockpit/pull/19924#event-11785480839 is released + download_from_copr("@cockpit/main-builds", "cockpit-storaged", machine) # Build anaconda-webui from SRPM unless we are testing a anaconda-webui PR scenario # from a different repo, then pull it from the anaconda-webui PR COPR repo