25766 Commits

Author SHA1 Message Date
Mathieu Tortuyaux
dbcfeb378d
ci-automation/vm: do not compress Scaleway images
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-04-26 09:54:04 +02:00
Mathieu Tortuyaux
b241de5eca
vm_image_util: produce qcow2 images for Scaleway
For importing Scaleway images, extension needs to be '.qcow2'

See: https://www.scaleway.com/en/docs/compute/instances/how-to/snapshot-import-export-feature/
> Make sure that the QCOW / QCOW2 image file you want to import,
> uses the file extension .qcow or .qcow2 to avoid issues while importing the image.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-04-26 09:54:04 +02:00
Mathieu Tortuyaux
d4d7cadb5c
vm_image_util: add IMAGE_DISK_EXTENSION variable
This variable allows to override the disk extension which is initially
based on the DISK_FORMAT.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-04-26 09:51:06 +02:00
flatcar-ci
b91894b508 New version: beta-3913.1.0-nightly-20240425-2100 2024-04-25 21:00:27 +00:00
Dongsu Park
fc5f8c6c7b
Merge pull request #1932 from flatcar/linux-6.6.28-flatcar-3913
Upgrade Linux Kernel for flatcar-3913 from 6.6.21 to 6.6.28
2024-04-25 09:04:33 +02:00
flatcar-ci
92a1ff1a20 New version: beta-3913.1.0-nightly-20240424-2100 2024-04-24 21:00:26 +00:00
Dongsu Park
676741458a config sys-fs/zfs-kmod: fix Kernel version issue of zfs-kmod
In case of sysext of zfs-kmod, pkg_setup() calls linux-info_get_any_version()
of eclass/linux-info.eclass with MERGE_TYPE=binary and
LINUX_INFO_BINARY_RESET=0. That results in KV_FULL and KV_OUT_DIR being
unset, which is not what we want. So set LINUX_INFO_BINARY_RESET=1 to
avoid such side effect.

Without setting them, build_sysext complains like below, i.e. it tries to find
System.map of a wrong Kernel version 6.6.21, when it should find a newer
version like 6.6.23. That results in subsequent zfs CI tests failing due to
missing files like System.map and module deps.

```
System.map for kernel 6.6.21-flatcar was not found, may be due to the
built kernel sources no longer being available and lacking the fallback:
```

Suggested-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-04-24 15:03:43 +02:00
flatcar-ci
483a082863 New version: beta-3913.1.0-nightly-20240423-2100 2024-04-23 21:00:22 +00:00
Dongsu Park
140f3a1d79
Merge pull request #1944 from flatcar/mantle-update-flatcar-3913
Upgrade mantle container image to latest HEAD in flatcar-3913
2024-04-23 13:40:19 +02:00
Flatcar Buildbot
6588eb0a97 Update mantle container image to latest HEAD 2024-04-19 21:00:43 +00:00
flatcar-ci
c7ee831e06 New version: beta-3913.1.0-nightly-20240419-2100 2024-04-19 21:00:27 +00:00
Kai Lüke
29750e7f32
Merge pull request #1940 from flatcar/mantle-update-flatcar-3913
Upgrade mantle container image to latest HEAD in flatcar-3913
2024-04-19 13:47:01 +02:00
Flatcar Buildbot
b3dbf7ed64 Update mantle container image to latest HEAD 2024-04-19 11:36:48 +00:00
Kai Lueke
6cea9313f0 Merge pull request #1936 from flatcar/scripts
ci-automation/vms: Download vmlinuz file before building VM images
2024-04-19 19:36:56 +09:00
Kai Lueke
3aa3401ae1 ci-automation/vms: Download vmlinuz file before building VM images
After making flatcar_production_pxe.vmlinuz a symlink to
flatcar_production_image.vmlinuz the signature creation didn't work
because the target could not be found.
As we do with the generic image, download the kernel from bincache, too,
before starting the VM image build.
2024-04-19 19:36:56 +09:00
flatcar-ci
c353eba856 New version: beta-3913.1.0-nightly-20240418-2100 2024-04-18 21:00:26 +00:00
Dongsu Park
7f32faf649
Merge pull request #1926 from flatcar/mantle-update-flatcar-3913
Upgrade mantle container image to latest HEAD in flatcar-3913
2024-04-18 11:22:49 +02:00
Flatcar Buildbot
8305f2d9a3 sys-kernel/coreos-sources: Update from 6.6.21 to 6.6.28 2024-04-18 07:12:50 +00:00
Flatcar Buildbot
bc40cee312 Update mantle container image to latest HEAD 2024-04-17 21:00:42 +00:00
flatcar-ci
b0afb20230 New version: beta-3913.1.0-nightly-20240417-2100 2024-04-17 21:00:24 +00:00
Kai Lüke
5e6f06e3e6
Merge pull request #1920 from flatcar/mantle-update-flatcar-3913
Upgrade mantle container image to latest HEAD in flatcar-3913
2024-04-17 13:20:29 +02:00
Kai Lueke
30098fd6b7 Merge pull request #1915 from flatcar/scripts
build_library: Use original qemu image name in qemu script
2024-04-17 19:59:04 +09:00
Kai Lueke
c069bf034f build_library: Use original qemu image name in qemu script
The move to symlinking to the qemu-uefi image also resulted in the
qemu-uefi image being referenced in the qemu-bios and qemu-uefi-secure
scripts instead of referencing the image symlinks. Same for the VM name
shown in the qemu window title.
When generating the qemu scripts, use the original qemu image name and
VM name.
2024-04-17 19:58:48 +09:00
Flatcar Buildbot
7c2df0a1ee Update mantle container image to latest HEAD 2024-04-17 10:51:13 +00:00
flatcar-ci
bdca64cc6f New version: beta-3913.1.0-nightly-20240416-2100 2024-04-16 21:00:35 +00:00
Mathieu Tortuyaux
c6775e5755
Merge pull request #1914 from flatcar/mantle-update-flatcar-3913
Upgrade mantle container image to latest HEAD in flatcar-3913
2024-04-16 17:58:29 +02:00
Flatcar Buildbot
35b000a18a Update mantle container image to latest HEAD 2024-04-16 15:55:53 +00:00
flatcar-ci
fe5e09ea02 New version: alpha-3913.0.0-nightly-20240415-2100 2024-04-15 21:00:32 +00:00
Kai Lüke
f1d9417c87
Merge pull request #1903 from flatcar/mantle-update-flatcar-3913
Upgrade mantle container image to latest HEAD in flatcar-3913
2024-04-15 12:18:02 +02:00
Flatcar Buildbot
eff766b945 Update mantle container image to latest HEAD 2024-04-15 10:06:25 +00:00
Kai Lueke
1a6252f1d4 Merge pull request #1755 from flatcar/scripts
sys-kernel/coreos-modules: Enable TPM TIS drivers for arm64
2024-04-15 12:34:28 +09:00
Kai Lueke
d6dfbe262a sys-kernel/coreos-modules: Enable TPM TIS drivers for arm64
The arm64 kernel didn't have TPM support for the qemu TPM2 TIS software TPM.
This moves the TPM TIS kernel module enablement to the common config of both
architectures.

Authored-by: Kai Lueke <kailuke@microsoft.com>
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-04-15 12:34:28 +09:00
flatcar-ci
8a55b9edcd New version: alpha-3913.0.0-nightly-20240412-2100 2024-04-12 21:00:32 +00:00
Dongsu Park
87ac0c4553 New version: beta-3913.1.0 beta-3913.1.0 2024-04-12 17:10:03 +02:00
Dongsu Park
0c48fad8cf
Merge pull request #1889 from flatcar/mantle-update-flatcar-3913
Upgrade mantle container image to latest HEAD in flatcar-3913
2024-04-12 16:36:12 +02:00
Flatcar Buildbot
d69ea5188e Update mantle container image to latest HEAD 2024-04-12 12:57:31 +00:00
Kai Lüke
9d4b1dc9e3
Merge pull request #1884 from flatcar/mantle-update-flatcar-3913
Upgrade mantle container image to latest HEAD in flatcar-3913
2024-04-12 14:03:06 +02:00
Flatcar Buildbot
33a6eb672a Update mantle container image to latest HEAD 2024-04-11 21:00:43 +00:00
flatcar-ci
72aaa5255c New version: alpha-3913.0.0-nightly-20240411-2100 2024-04-11 21:00:26 +00:00
Kai Lüke
cdffafd42e
Merge pull request #1876 from flatcar/mantle-update-flatcar-3913
Upgrade mantle container image to latest HEAD in flatcar-3913
2024-04-11 10:48:29 +02:00
Flatcar Buildbot
433beebd5f Update mantle container image to latest HEAD 2024-04-11 08:02:40 +00:00
flatcar-ci
59f0218972 New version: alpha-3913.0.0-nightly-20240410-2100 2024-04-10 21:00:28 +00:00
Kai Lueke
3f6a02fe4f Merge pull request #1865 from flatcar/scripts
.github: Remove bz2 compression layer from zip artifacts
2024-04-10 22:40:37 +09:00
Kai Lueke
a97990d5f9 .github: Add flatcar_production_qemu.sh to generic image zip
When downloading the generic image to run a test it would be nice to
have the qemu script in the zip bundle.
2024-04-10 22:40:37 +09:00
Kai Lueke
80a6386543 .github: Remove bz2 compression layer from zip artifacts
The GitHub Action artifacts are compressed zip files which include
bz2 files which are either the raw .bin images that have many zero bytes
in the rootfs but the main data in /usr is using zstd compression, or
they are the qcow2 .img images which are compressed themselves (and of
course have the same /usr compression). The bz2 compression doesn't help
in our case.
Remove the bz2 compression layer. If in the future non-zip artifacts
are supported we can add it back for the .bin image only by using
explicit calls only for that file instead of the
--image_compression_formats= flag for all images.
2024-04-10 22:40:37 +09:00
Kai Lueke
f6848c812f Merge pull request #1861 from flatcar/scripts
build_library/grub.cfg: Enable TPM module by default
2024-04-10 20:21:05 +09:00
Kai Lueke
de5059d9e6 build_library/grub.cfg: Enable TPM module by default
For binding a secret to the OS we need TPM PCRs that measure the kernel
and boot configuration (UEFI). Used for:
https://github.com/flatcar/flatcar-website/pull/317
2024-04-10 20:21:05 +09:00
Kai Lueke
6806ec2ddd Skip non-UEFI and UEFI-Secure-Boot qemu image symlink/script for arm64
We didn't generate this before and it does not work in old branches.
2024-04-10 20:16:24 +09:00
flatcar-ci
7e1d724cc0 New version: alpha-3913.0.0-nightly-20240409-2100 2024-04-09 21:00:24 +00:00
Kai Lueke
f971300f67 Merge pull request #1847 from flatcar/scripts
Set up symlinks for same image artifacts to remove qemu/qemu_uefi_secure
2024-04-09 22:11:10 +09:00