From eaa1893e27a4be5c63e4caefee2fd3141ee86295 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Mon, 30 Jan 2023 15:28:03 +0100 Subject: [PATCH] ci-automation: Try reporting the changes in initrd too This relies on flatcar_production_image_initrd_contents.txt being uploaded to the server. It also exports the WITHWTD environment variable with a value 1, which will make the package-diff script to try out the wtd contents file variant first. --- ci-automation/image_changes.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci-automation/image_changes.sh b/ci-automation/image_changes.sh index e17eb10a0b..391836ef32 100644 --- a/ci-automation/image_changes.sh +++ b/ci-automation/image_changes.sh @@ -103,6 +103,9 @@ function _image_changes_impl() { echo "Image kernel config changes, compared to ${CHANNEL_A} ${VERSION_A}:" FILE=flatcar_production_image_kernel_config.txt flatcar-build-scripts/package-diff "${VERSION_A}" "${VERSION_B}" echo + echo "Image init ramdisk file changes, compared to ${CHANNEL_A} ${VERSION_A}:" + FILE=flatcar_production_image_initrd_contents.txt FILESONLY=1 flatcar-build-scripts/package-diff "${VERSION_A}" "${VERSION_B}" + echo echo "Image file size change (includes /boot, /usr and the default rootfs partitions), compared to ${CHANNEL_A} ${VERSION_A}:" FILE=flatcar_production_image_contents.txt CALCSIZE=1 flatcar-build-scripts/package-diff "${VERSION_A}" "${VERSION_B}" echo