249 Commits

Author SHA1 Message Date
Kai Lueke
bc0e34c04f .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 20:28:23 +09:00
Kai Lueke
de4eb8f755 Set up symlinks for same image artifacts to remove qemu/qemu_uefi_secure
The qemu and qemu_uefi_secure images have the same contents as the
qemu_uefi image which wastes space on the release server. A similar
case is the PXE vmlinuz which is the same as the regular one, too.

Set up symlinks for same images, and also detect this when compressing
to set up symlinks there as well. To reduce complexity, the qemu and
qemu_uefi_secure images are not supported anymore and the Jenkins or
GitHub CI will skip over them if specified. Users that build their own
images need to adapt, though.
2024-04-09 15:09:29 +02:00
Jeremi Piotrowski
dd9e0303c4
Merge pull request #1792 from flatcar/jepio/clock
NTP/PTP by default on Azure/AWS/GCP
2024-03-28 12:14:27 +01:00
Jeremi Piotrowski
db12d276c7 .github: Add chrony to package sync list
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-28 12:08:54 +01:00
Krzesimir Nowak
cacfe9f17c .github: Put newly added packages under automation 2024-03-28 08:44:16 +01:00
Krzesimir Nowak
f0d446e3a5 .github: Add new libs to automation 2024-03-21 17:44:52 +01:00
Jeremi Piotrowski
53e164969f ci: Build sysexts together with image
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-11 11:57:45 +00:00
Jeremi Piotrowski
bda8148236 .github: Add zfs ebuilds and related eclasses to sync list
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-11 11:57:45 +00:00
Krzesimir Nowak
a67915b574
Merge pull request #1733 from flatcar/krnowak/drop-libssh2
Drop unused net-libs/libssh2 package
2024-03-07 08:43:41 +01:00
Krzesimir Nowak
93c4a369a8
Merge pull request #1727 from flatcar/buildbot/weekly-portage-stable-package-updates-2024-03-04
Weekly portage-stable package updates 2024-03-04
2024-03-06 16:05:13 +01:00
Krzesimir Nowak
985fb10a4f .github: Drop net-libs/libssh2 from automation 2024-03-06 15:55:44 +01:00
Kai Lüke
6c2c11db7d
Merge pull request #1707 from flatcar/kai/pxe-compat
sys-kernel/bootengine: Restore support for custom PXE OEM contents
2024-03-05 16:35:42 +01:00
Kai Lueke
e1fc7a808d .github: Build PXE image as additional VM image format
The PXE image and its helper script is a very handy way to test an image
because it does not preserve state. One can boot the same file over and
over again without having to reset the image. One can also easily pass
in additional kernel cmdline options without having to set up grub.cfg.
2024-03-05 16:35:03 +01:00
Krzesimir Nowak
06ba92970d .github: Drop dev-python/boto from automation 2024-03-04 11:38:46 +01:00
Krzesimir Nowak
88d1effdc4 .github: Add sys-process/audit and dev-lang/swig to automation 2024-03-01 16:02:19 +01:00
Krzesimir Nowak
f2d7be8cd9
Merge pull request #1702 from flatcar/buildbot/weekly-portage-stable-package-updates-2024-02-26
Weekly portage-stable package updates 2024-02-26
2024-02-28 14:51:01 +01:00
Krzesimir Nowak
c7653ee64e .github: Drop app-containers/docker-proxy from automation 2024-02-26 16:03:29 +01:00
Sayan Chowdhury
3bc6944409 .github/workflow: Add the packages to automation list
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2024-02-26 15:46:12 +01:00
Krzesimir Nowak
c6ec4f22c3 .github: Drop dev-python/pyparsing from automation 2024-02-26 10:31:23 +01:00
Dongsu Park
389118452d .github: add app-crypt/gnupg to list for weekly updates 2024-02-20 13:33:05 +01:00
Krzesimir Nowak
17c2e3f83b
Merge pull request #1638 from flatcar/krnowak/gh-action-nodejs-bump
.github: Some action version bumps to avoid deprecation warnings
2024-02-15 13:16:45 +01:00
Krzesimir Nowak
009ebb89c1 .github: Add bash-completion eclass to automation 2024-02-08 14:20:17 +01:00
Krzesimir Nowak
79d1263246 .github: Add more packages to automation 2024-02-08 14:20:17 +01:00
Krzesimir Nowak
925961be01 .github: Add some eclasses to automation 2024-02-08 14:20:17 +01:00
Krzesimir Nowak
558b78ffc5 portage-stable: Rename some packages
gtk-doc-am and autotools got moved to dev-build category, strace got
moved to dev-debug category.
2024-02-08 14:20:16 +01:00
Krzesimir Nowak
a7926df927 .github: Bump github actions 2024-02-07 17:50:06 +01:00
Krzesimir Nowak
24dab44337
Merge pull request #1569 from flatcar/buildbot/weekly-portage-stable-package-updates-2024-01-15
Weekly portage-stable package updates 2024-01-15
2024-01-25 18:15:17 +01:00
Mathieu Tortuyaux
31b722d0ba
sdk: add app-crypt/ccid
required for pcsc-lite daemon to work

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-01-23 17:09:48 +01:00
Mathieu Tortuyaux
86f4e68f53
sdk: add opensc dependency
it's used to interact with the HSM device.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-01-23 17:09:48 +01:00
Mathieu Tortuyaux
9845627a43
sdk: add libp11 to SDK
this is the pkcs11 engine for OpenSSL

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-01-23 17:09:48 +01:00
Krzesimir Nowak
665d13dbe3 .github: Drop sys-kernel/installkernel from automation 2024-01-16 12:55:16 +01:00
Krzesimir Nowak
ef40478bbf portage-stable, overlay: Move some packages
In Gentoo, packages dev-util/cmake, dev-util/meson,
dev-util/meson-format-array, dev-util/ninja and sys-devel/make got
moved to new category named dev-build. Reflect that in our repos too.

The {sys-devel,dev-build}/make package is moved from overlay into
portage-stable - it used to be there to carry a patch that fixed
builds of the sys-devel/binutils package. I think that the issue was
fixed long time ago in make, so now it's time to put it back to
portage-stable and under package automation.
2024-01-16 12:55:15 +01:00
Krzesimir Nowak
13dbf13db5 .github: Drop sys-boot/gnu-efi from automation for now
Updating it to 3.0.17 breaks the build. First there are some
signedness issues (which I fixed), but then there is some header
ordering issue which results in errors about some names being
undefined. This is because a header that defines those names includes
some other header before defining the names. That other header pulls
in some other header that end up referencing the not-yet-defined
names:

In file included from /usr/include/efi/efilib.h:22,
                 from Include/OpenSslSupport.h:19,
                 from Include/stddef.h:15,
                 from /usr/include/efi/x86_64/efibind.h:99,
                 from /usr/include/efi/efi.h:42,
                 from ./Library/BaseLib.h:1,
                 from ./InternalCryptLib.h:18,
                 from Hash/CryptMd4.c:15:
/usr/include/efi/efidebug.h:22:8: error: unknown type name ‘UINTN’
   22 | extern UINTN     EFIDebug;

/usr/include/efi/x86_64/efibind.h defines UINTN in line 124, but
includes stddef.h in line 99.

I'm not dealing with it knowing that Sayan is working on secure-boot
stuff which involves updating sys-boot/shim, so this bug should go
away soon.
2024-01-08 17:42:22 +01:00
Krzesimir Nowak
b98a0016ff .github: Update packages list 2024-01-08 17:42:22 +01:00
Krzesimir Nowak
5655ce2afe .github: Add app-* packages to automation 2023-12-07 16:43:30 +01:00
Krzesimir Nowak
9cc998d099 .github: Add app-text/mandoc to automation 2023-12-07 15:41:55 +01:00
Krzesimir Nowak
29a38e14e9 .github: Drop sys-cluster/ipvsadm from automation 2023-12-07 12:58:40 +01:00
Krzesimir Nowak
186ee9bfb2 .github: Add packages to automation 2023-12-07 12:58:40 +01:00
Krzesimir Nowak
9b63891ef2
Merge pull request #1394 from flatcar/krnowak/net-libs-automation
Add net-libs packages under automation
2023-12-07 12:55:26 +01:00
Krzesimir Nowak
a39e53aed3 .github/ci: Install python3-packaging package
show-fixed-kernel-cves.py script from flatcar-build-scripts requires
this package:

Traceback (most recent call last):
  File "/home/runner/actions-runner/_work/scripts/scripts/flatcar-build-scripts/show-fixed-kernel-cves.py", line 29, in <module>
    from packaging import version
ModuleNotFoundError: No module named 'packaging'
2023-11-21 16:00:00 +01:00
Krzesimir Nowak
c9b9864ae1 .github/ci: AAAARGH! 2023-11-21 16:00:00 +01:00
Krzesimir Nowak
810306c884 ci-automation/image-changes, .github/ci: Further deduplication 2023-11-21 16:00:00 +01:00
Krzesimir Nowak
89f0cba474 .github/ci: Deduplicate the image changes job 2023-11-21 16:00:00 +01:00
Krzesimir Nowak
0490c9c672 .github/ci: Report about base sysexts for against last nightly too 2023-11-21 16:00:00 +01:00
Krzesimir Nowak
c5b8a80d36 ci-automation: List built base sysext explicitly
Instead of depending on default value of build_image's base_sysext
parameter, create a file that explicitly lists which base sysexts will
be built for each architecture. The file can be sourced by other
scripts that need this kind of information. Currently, image.sh and
image_changes.sh use this file.
2023-11-21 16:00:00 +01:00
Krzesimir Nowak
dabb54783d .github/ci, ci-automation/image-changes: Print diffs for base sysexts 2023-11-21 16:00:00 +01:00
Krzesimir Nowak
5b3e90eceb .github/ci: Fix artifacts paths 2023-11-21 16:00:00 +01:00
Krzesimir Nowak
d373052ca4 ci-automation/image-changes: Filter out OEM IDs not built for an arch
This is to limit the amount of reports consisting purely of failures,
because some files were missing. And those files will be missing,
because an OEM might not even have any image for certain arches (like
digitalocean has no arm64 images).
2023-11-21 16:00:00 +01:00
Krzesimir Nowak
c03d372c54 .github/ci: Run image reports job after vms job
It shows changes also in OEM images and these are built in vms step.
2023-11-21 16:00:00 +01:00
Krzesimir Nowak
202b905a47 .github/ci: Fix clobbering of parameters and env vars 2023-11-21 16:00:00 +01:00