Daan De Meyer
d641a1f8f7
mkosi: Various tools tree fixes ( #36059 )
2025-01-21 15:17:36 +01:00
Daan De Meyer
cb13d6b44f
mkosi: Run more commands as root
...
zypper has some new rather questionable userspace level permission
checking that blows ups completely when operating as root on an
cache directory owned by a non-root user, so let's build the tools
tree and set up meson as root to avoid the issue.
(https://github.com/openSUSE/libzypp/issues/603 )
Also drop a leftover debug message from coverage.yml while we're at
it.
2025-01-21 10:59:01 +01:00
Daan De Meyer
7645139bd7
mkosi: Use a bigger variety of tools tree distributions
...
Let's add more coverage for building with tools trees by building
each image with a tools tree of the same distribution and release.
Because not every tools tree distribution has a newer meson yet, we
only use --max-lines= when meson actually knows the option.
2025-01-21 10:57:29 +01:00
Daan De Meyer
685666afd8
mkosi: Update to latest
2025-01-21 10:57:27 +01:00
Luca Boccassi
7fe9fb9599
linter: run ruff format --diff so that the needed changes are actually printed
2025-01-19 15:59:01 +00:00
Daan De Meyer
e9b9fc080f
ci: Stop archiving packages
...
This takes up a lot of storage space and we're almost hitting the
limit so since nobody's actually using these and we just started
doing nightly builds in OBS, let's drop this and point people towards
OBS for nightly packages in the future.
2025-01-15 15:32:14 +00:00
Daan De Meyer
82d6bcbdea
mkosi: Update to latest
2025-01-15 10:21:12 +01:00
Daan De Meyer
6e5fb09d1c
ci: Skip coverage workflow on forks
...
Fixes #35964
2025-01-14 11:04:05 +01:00
Luca Boccassi
8442ac9c02
meson: add install tags for udev and hwdb
...
Allows building and installing them individually, like
other existing components
2025-01-10 15:15:13 +09:00
Daan De Meyer
103e92810a
mkosi: Re-enable TEST-21-DFUZZER when running with sanitizers
...
Similar to how CentOS CI did it previously, let's only run
TEST-21-DFUZZER when built with sanitizers for maximum effect.
2025-01-09 11:48:23 +00:00
Daan De Meyer
c5981510e9
ci: Rename qemu variable to vm
2025-01-06 12:08:33 +01:00
Daan De Meyer
28baef47a3
mkosi: Migrate more deprecated options
2025-01-06 12:07:53 +01:00
Daan De Meyer
c008b70370
mkosi: Update to latest
2025-01-05 21:18:32 +01:00
Daan De Meyer
1995084a9e
mkosi: Use tools tree by default
...
Let's enable usage of a tools tree by default to simplify the setup
for new contributors and save them from having to install or upgrade
a bunch of extra tools to get mkosi working as expected.
2024-12-20 20:09:35 +01:00
Daan De Meyer
3add2d73b3
coverage: Run on pull request in a few cases
...
If we're changing the integration test wrapper or coverage.yml, let's
run the coverage workflow on PRs as well to make sure it doesn't break.
2024-12-20 20:09:35 +01:00
Daan De Meyer
1dd345b00d
mkosi: Update to latest
2024-12-20 20:09:35 +01:00
Matteo Croce
77d4a263c1
mkosi: move config options
...
Move some config option in the right section, fixes the following warning:
```
mkosi.conf: Setting Credentials should be configured in [Runtime], not [Host].
mkosi.conf: Setting RuntimeBuildSources should be configured in [Runtime], not [Host].
mkosi.conf: Setting RuntimeScratch should be configured in [Runtime], not [Host].
mkosi.conf: Setting QemuSmp should be configured in [Runtime], not [Host].
mkosi.conf: Setting QemuSwtpm should be configured in [Runtime], not [Host].
mkosi.conf: Setting QemuVsock should be configured in [Runtime], not [Host].
mkosi.conf: Setting QemuKvm should be configured in [Runtime], not [Host].
```
2024-12-20 09:38:11 +01:00
anonymix007
640f8c3eb8
test: Add test-chid-match
2024-12-16 21:02:54 +03:00
Yu Watanabe
945d1e5189
ci: enable linter for generate-sym-test.py
2024-12-12 15:04:29 +09:00
Yu Watanabe
dbf83c6613
Revert "test: tentatively disable SELinux tests"
...
This reverts commit 261a3d191e .
2024-12-09 21:52:06 +01:00
Daan De Meyer
948bca0418
mkosi: Use rawhide tools tree in CI
...
To build rawhide images we might need more recent tools from rawhide
itself. While Arch would generally be up-to-date enough as well, it
doesn't provide the selinux tools so we use Fedora Rawhide instead.
2024-12-09 20:10:22 +01:00
Daan De Meyer
e469add21e
mkosi: Set meson --max-lines= to 300 in CI
...
By default meson only shows the last 100 lines of output for failed
tests. Let's bump this to 300 with the new --max-lines= option I added
so we get more useful output on test failures.
2024-12-08 12:55:43 +01:00
Daan De Meyer
71d19c5b56
mkosi: Use mkosi sandbox in CI with Fedora tools tree
...
This gives us a newer meson which will allow us to use the new
--max-lines= feature I added in meson 1.5.0.
2024-12-08 12:55:43 +01:00
Daan De Meyer
2ebb4c3991
mkosi: Update to latest
2024-12-08 12:55:35 +01:00
Yu Watanabe
261a3d191e
test: tentatively disable SELinux tests
...
Currently, mkosi GitHub action complains the following:
===
Could not find 'setfiles' which is required to relabel files.
===
Let's tentatively disable SELinux test.
2024-12-08 12:59:08 +09:00
Daan De Meyer
e022e73e3f
test: Implement TEST_PREFER_QEMU and use it in one of the mkosi jobs
...
We want to make sure the integration tests that don't require qemu
can run successfully both in an nspawn container and in a qemu VM.
So let's add one more knob TEST_PREFER_QEMU=1 to run jobs that normally
require nspawn in qemu instead.
Running these tests in qemu is also possible by not running as root but
that's very implicit so we add an explicit knob instead to make it explicit
that we want to run these in qemu instead of nspawn.
2024-12-05 16:43:11 +01:00
Daan De Meyer
900ac3a76a
ci: Implement coverage on top of mkosi ( #35407 )
2024-12-05 10:47:45 +01:00
Daan De Meyer
c45174f05d
ci: Implement coverage on top of mkosi
2024-12-05 00:21:57 +01:00
Luca Boccassi
162760f16c
Use nicer syntax in two places in CI ( #35455 )
2024-12-04 13:32:28 +00:00
Zbigniew Jędrzejewski-Szmek
f5292d63af
mkosi/ci: use a bash array to pass options
...
This patch initially also changed the configuration, but that'll be done in a
different way, so all that remains is the syntax change.
An array is nicer because the array definition can have inline comments and
doesn't use continuation symbols which are easy to mess up in edits.
2024-12-04 09:57:34 +01:00
dependabot[bot]
13a42b776d
build(deps): bump softprops/action-gh-release from 2.0.8 to 2.1.0
...
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release ) from 2.0.8 to 2.1.0.
- [Release notes](https://github.com/softprops/action-gh-release/releases )
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md )
- [Commits](c062e08bd5...01570a1f39 )
---
updated-dependencies:
- dependency-name: softprops/action-gh-release
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-03 12:56:21 +00:00
dependabot[bot]
533bdc05aa
build(deps): bump github/codeql-action from 3.26.10 to 3.27.5
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.26.10 to 3.27.5.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](e2b3eafc8d...f09c1c0a94 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-03 12:55:36 +00:00
dependabot[bot]
a06fed1140
build(deps): bump ninja from 1.11.1.1 to 1.11.1.2 in /.github/workflows
...
Bumps [ninja](https://github.com/scikit-build/ninja-python-distributions ) from 1.11.1.1 to 1.11.1.2.
- [Release notes](https://github.com/scikit-build/ninja-python-distributions/releases )
- [Changelog](https://github.com/scikit-build/ninja-python-distributions/blob/master/HISTORY.rst )
- [Commits](https://github.com/scikit-build/ninja-python-distributions/compare/1.11.1.1...1.11.1.2 )
---
updated-dependencies:
- dependency-name: ninja
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-03 12:53:41 +00:00
Daan De Meyer
8eab8f36bb
mkosi: update to latest
2024-11-30 13:09:40 +01:00
Daan De Meyer
f458a60391
test: Lint integration-test-wrapper.py
2024-11-24 16:47:20 +01:00
Daan De Meyer
a197604af4
mkosi: update to latest
2024-11-24 16:47:04 +01:00
Luca Boccassi
8a3ac7afa6
ci: add coverage for builds without sd-boot
...
This should catch compilation issues such as:
https://github.com/systemd/systemd/pull/35014
2024-11-04 20:27:00 +00:00
Luca Boccassi
441922336b
test: set nullglob to avoid failure when building without sd-boot
...
2024-11-04T20:13:17.3258095Z + for loader in build/src/boot/efi/*{.efi,.efi.stub}
2024-11-04T20:13:17.3258275Z ++ sbverify --list 'build/src/boot/efi/*.efi'
2024-11-04T20:13:17.3258525Z + [[ Error reading file build/src/boot/efi/*.efi: No such file or directory
2024-11-04T20:13:17.3258952Z Can't open image build/src/boot/efi/*.efi != \N\o\ \s\i\g\n\a\t\u\r\e\ \t\a\b\l\e\ \p\r\e\s\e\n\t ]]
2024-11-04 20:27:00 +00:00
dependabot[bot]
4839fb527f
build(deps): bump systemd/mkosi
...
Bumps [systemd/mkosi](https://github.com/systemd/mkosi ) from 2a35f9958bc6b82d95d1eac02dc245e9bb068765 to 8976a0abb19221e65300222f2d33067970cca0f1.
- [Release notes](https://github.com/systemd/mkosi/releases )
- [Commits](2a35f9958b...8976a0abb1 )
---
updated-dependencies:
- dependency-name: systemd/mkosi
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-02 23:18:12 +01:00
dependabot[bot]
593b125a30
build(deps): bump meson from 1.5.2 to 1.6.0 in /.github/workflows
...
Bumps [meson](https://github.com/mesonbuild/meson ) from 1.5.2 to 1.6.0.
- [Release notes](https://github.com/mesonbuild/meson/releases )
- [Commits](https://github.com/mesonbuild/meson/compare/1.5.2...1.6.0 )
---
updated-dependencies:
- dependency-name: meson
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-01 11:45:37 +00:00
dependabot[bot]
7fdcd903ab
build(deps): bump actions/checkout from 4.2.0 to 4.2.2
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.2.0 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](d632683dd7...11bd71901b )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-01 11:25:37 +01:00
Yu Watanabe
f85213e8f6
github: drop workaround and use distro mold
...
Now, ubuntu-24.04 has mold-2.30.0+dfsg-1build1 .
See https://packages.ubuntu.com/noble/mold .
2024-10-31 00:34:48 +09:00
Yu Watanabe
727dc1f23a
mkosi: fix sections for settings
...
Follow-up for 963157ca78 .
2024-10-11 07:33:42 +09:00
Daan De Meyer
7d9464ceac
mkosi: Update to latest
2024-10-09 20:36:57 +02:00
Yu Watanabe
e318675398
Merge pull request #34641 from behrmann/ukifystyle
...
Type annotate and format ukify
2024-10-10 02:21:29 +09:00
Jörg Behrmann
d5085be9c5
ci: Check ukify types and formatting.
2024-10-09 12:11:57 +02:00
Daan De Meyer
12a1b02b52
mkosi: Switch to Fedora 41
...
It's due for release soon and will fix the flakyness of TEST-58-REPART
so let's bump the Fedora 40 job to Fedora 41.
2024-10-07 10:55:05 +02:00
dependabot[bot]
6aed4876e8
build(deps): bump systemd/mkosi
...
Bumps [systemd/mkosi](https://github.com/systemd/mkosi ) from 2c9954fa51a3a995bbdc02db6ef51f5bd27bc1ba to 3454f7bd4ef0336ec80a117d593baaef0fe53398.
- [Release notes](https://github.com/systemd/mkosi/releases )
- [Commits](2c9954fa51...3454f7bd4e )
---
updated-dependencies:
- dependency-name: systemd/mkosi
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-01 22:49:03 +02:00
dependabot[bot]
086b94d8e2
build(deps): bump actions/checkout from 4.1.7 to 4.2.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.7 to 4.2.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](692973e3d9...d632683dd7 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-01 14:53:35 +02:00
dependabot[bot]
169e500b42
build(deps): bump github/codeql-action from 3.25.15 to 3.26.10
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.25.15 to 3.26.10.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](afb54ba388...e2b3eafc8d )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-01 14:53:24 +02:00