From 06f23204b57b5f3d07c8231bd0ff63e084e3da2c Mon Sep 17 00:00:00 2001 From: renner Date: Tue, 21 Oct 2025 18:39:52 +0200 Subject: [PATCH] fix(tests): only bootc lint once at the very end A DX build would run the regular lint at the end of that stage and then for the dx stage again. This will only bootc lint it once at the end. --- Containerfile | 2 ++ build_files/shared/build-base.sh | 1 - build_files/shared/build-dx.sh | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index 0a7787a64..22381a884 100644 --- a/Containerfile +++ b/Containerfile @@ -50,3 +50,5 @@ RUN --mount=type=cache,dst=/var/cache/libdnf5 \ --mount=type=bind,from=ctx,source=/,target=/ctx \ --mount=type=secret,id=GITHUB_TOKEN \ /ctx/build_files/shared/build-dx.sh + +RUN bootc container lint diff --git a/build_files/shared/build-base.sh b/build_files/shared/build-base.sh index b18fa39b5..1bc9fe47e 100755 --- a/build_files/shared/build-base.sh +++ b/build_files/shared/build-base.sh @@ -67,5 +67,4 @@ echo "::group:: Cleanup" /ctx/build_files/shared/clean-stage.sh mkdir -p /var/tmp && chmod -R 1777 /var/tmp -bootc container lint echo "::endgroup::" diff --git a/build_files/shared/build-dx.sh b/build_files/shared/build-dx.sh index 260e36a21..b7d220bca 100755 --- a/build_files/shared/build-dx.sh +++ b/build_files/shared/build-dx.sh @@ -56,7 +56,6 @@ echo "Variant=Developer Experience" >> /usr/share/kde-settings/kde-profile/defau # Clean Up echo "::group:: Cleanup" -bootc container lint /ctx/build_files/shared/clean-stage.sh mkdir -p /var/tmp && \ chmod -R 1777 /var/tmp