Skip to content

Commit 06f2320

Browse files
committed
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.
1 parent 421d80e commit 06f2320

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

Containerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,5 @@ RUN --mount=type=cache,dst=/var/cache/libdnf5 \
5050
--mount=type=bind,from=ctx,source=/,target=/ctx \
5151
--mount=type=secret,id=GITHUB_TOKEN \
5252
/ctx/build_files/shared/build-dx.sh
53+
54+
RUN bootc container lint

build_files/shared/build-base.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,4 @@ echo "::group:: Cleanup"
6767
/ctx/build_files/shared/clean-stage.sh
6868
mkdir -p /var/tmp &&
6969
chmod -R 1777 /var/tmp
70-
bootc container lint
7170
echo "::endgroup::"

build_files/shared/build-dx.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ echo "Variant=Developer Experience" >> /usr/share/kde-settings/kde-profile/defau
5656

5757
# Clean Up
5858
echo "::group:: Cleanup"
59-
bootc container lint
6059
/ctx/build_files/shared/clean-stage.sh
6160
mkdir -p /var/tmp && \
6261
chmod -R 1777 /var/tmp

0 commit comments

Comments
 (0)