crun
crun copied to clipboard
Fixes for RPM, Packit and TMT
[RPM]
Fix Copr builds. Because of the wrong copr_project macro, recent crun builds on copr didn't actually include the Epoch. We should use either copr_username, copr_projectname or both. Those 2 macros are only defined on copr environments.
Wasmedge support for copr builds disabled on RHEL10 until EPEL10 is available.
[Packit] Include epel9 repos for CentOS Stream builds. CentOS Stream builds don't have epel repos configured by default because of which they can't directly fetch the wasmedge build dependency.
Use package: [crun-fedora] for copr builds after commit. Without this change, duplicate copr builds jobs are triggered on the podman-next copr for [crun-fedora], [crun-centos].
Separate centos and rhel tasks. This allows centos jobs to be triggered on all PRs regardless of author's level of access to the repo. RHEL jobs would still need to be triggered by repo maintainers.
[TMT] Minimize distro conditionals. Differences across distros and versions in components like dnf as well as variable package availability for bats makes idiomatic TMT hard to maintain if we're to install all dependencies using rpm packages.
Fetching bats from upstream and simply deleting problematic yum repos instead of resorting to tricky dnf commands makes the TMT logic a lot easier to maintain.
copr builds in #1467 have been acting weird. Hence this new PR with all commits squashed so that packit creates a new ephemeral copr project.
Ephemeral COPR build failed. @containers/packit-build please check.
podman system tests failed. @containers/packit-build please check.
Ephemeral COPR build failed. @containers/packit-build please check.
podman system tests failed. @containers/packit-build please check.
Ephemeral COPR build failed. @containers/packit-build please check.
podman system tests failed. @containers/packit-build please check.
FWIW the artifact task from this PR is hanging forever apparently, and is taking up 6 out of 20 runners in this github organization.
Please rebase on https://github.com/containers/crun/pull/1472
Ephemeral COPR build failed. @containers/packit-build please check.
podman system tests failed. @containers/packit-build please check.
Ephemeral COPR build failed. @containers/packit-build please check.
podman system tests failed. @containers/packit-build please check.
Ephemeral COPR build failed. @containers/packit-build please check.
podman system tests failed. @containers/packit-build please check.
Ephemeral COPR build failed. @containers/packit-build please check.
podman system tests failed. @containers/packit-build please check.
Ephemeral COPR build failed. @containers/packit-build please check.
Ephemeral COPR build failed. @containers/packit-build please check.
podman system tests failed. @containers/packit-build please check.
Ephemeral COPR build failed. @containers/packit-build please check.
podman system tests failed. @containers/packit-build please check.
Failed to load packit config file:
Cannot parse package config. ValidationError({'jobs': {1: {'packages': defaultdict(<class 'dict'>, {'crun-centos': {'value': {'targets': ["Expected <class 'list'>, got 'epel-release' (type <class 'str'>)"]}}})}}})
For more info, please check out the documentation or contact the Packit team. You can also use our CLI command validate-config or our pre-commit hooks for validation of the configuration.
Failed to load packit config file:
Cannot parse package config. ValidationError({'jobs': {1: {'packages': defaultdict(<class 'dict'>, {'crun-centos': {'value': {'targets': ["Expected <class 'list'>, got 'epel-release' (type <class 'str'>)"]}}})}}})
For more info, please check out the documentation or contact the Packit team. You can also use our CLI command validate-config or our pre-commit hooks for validation of the configuration.
Failed to load packit config file:
Cannot parse package config. ValidationError({'jobs': {1: {'packages': defaultdict(<class 'dict'>, {'crun-centos': {'value': {'targets': ["Expected <class 'list'>, got 'epel-release' (type <class 'str'>)"]}}})}}})
For more info, please check out the documentation or contact the Packit team. You can also use our CLI command validate-config or our pre-commit hooks for validation of the configuration.
Ephemeral COPR build failed. @containers/packit-build please check.
podman system tests failed. @containers/packit-build please check.
Ephemeral COPR build failed. @containers/packit-build please check.
podman system tests failed. @containers/packit-build please check.
@giuseppe @edsantiago PTAL
I've not enabled RHEL10 yet, only CentOS Stream 10 for now. RHEL-10 gives me conflicts between the redhat-release and containers-common package installed from podman-next Copr on the RPM-GPG-KEY-redhat-release file.
Also, i'm installing bats from source on CentOS Stream 10 until epel 10 becomes available because installing from epel9 on centos stream 10 causes other issues.
LGTM, could you only take care of this issue reported by make syntax-check:
plans/all.fmf
maint.mk: empty line(s) or no newline at EOF
If it is not possible to fix, then we need to ignore these files by tweaking VC_LIST_EXCEPT_DEFAULT in the cfg.mk file