git: cba3becc2003 - stable/13 - CI: Run pkgbase METALOG lint script
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 Mar 2023 14:31:13 UTC
The branch stable/13 has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=cba3becc2003582d35b16a1784a01176c8facb76
commit cba3becc2003582d35b16a1784a01176c8facb76
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-11-16 21:24:19 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-03-23 14:30:30 +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
(cherry picked from commit 2ed0305bc3f24258b977d640d3399d07c47e1b42)
---
.cirrus.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.cirrus.yml b/.cirrus.yml
index 225840166cbc..824ffcda20ca 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -47,6 +47,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 tools/boot/ci-qemu-test.sh
post_script: