git: 2ed0305bc3f2 - main - CI: Run pkgbase METALOG lint script
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 15 Mar 2023 01:58:18 UTC
The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=2ed0305bc3f24258b977d640d3399d07c47e1b42 commit 2ed0305bc3f24258b977d640d3399d07c47e1b42 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2022-11-16 21:24:19 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2023-03-15 01:13:46 +0000 CI: Run pkgbase METALOG lint script tools/pkgbase/metalog_reader.lua checks for errors in METALOG (for pkgbase staging), such as hard links with differing modes, duplicate entries, etc. Run it as part of the Cirrus-CI job to prevent regressions. Reviewed by: manu, imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D37521 --- .cirrus.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index 77510e1ea09e..e16a16838d66 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -44,6 +44,8 @@ task: - su user -c "make -j$(sysctl -n hw.ncpu) CROSS_TOOLCHAIN=${TOOLCHAIN_PKG} WITHOUT_TOOLCHAIN=yes buildworld buildkernel" package_script: - su user -c "make CROSS_TOOLCHAIN=${TOOLCHAIN_PKG} WITHOUT_TOOLCHAIN=yes PKG_FORMAT=tar packages" + package_check_script: + - su user -c "/usr/libexec/flua tools/pkgbase/metalog_reader.lua -c /usr/obj/$(pwd -P)/${TARGET}.${TARGET_ARCH}/worldstage/METALOG" test_script: - sh .cirrus-ci/pkg-install.sh qemu-nox11 - sh tools/boot/ci-qemu-test.sh