Skip to content

kbuild: upload make backend dtbs from an archive - #3186

Open
nuclearcat wants to merge 1 commit into
kernelci:mainfrom
nuclearcat:kbuild-dtbs-archive-make
Open

kbuild: upload make backend dtbs from an archive#3186
nuclearcat wants to merge 1 commit into
kernelci:mainfrom
nuclearcat:kbuild-dtbs-archive-make

Conversation

@nuclearcat

Copy link
Copy Markdown
Member

Archive uploads of dtbs are only used when both the extracted dtb files and a dtbs.tar.xz artifact are present. The tuxmake backend gets the archive for free, but _package_dtbs() only ever copies the dtbs_install output into the artifacts directory, so make backend builds upload every dtb as a separate request. That is 36 of the currently scheduled kbuild jobs, including the whole CIP set and the arm64 chromebook build.

Pack the installed dtbs into dtbs.tar.xz with the same dtbs/ prefix inside as the tuxmake archive, so upload_artifacts() picks it up with no change. The archive is only created when at least one dtb was built, which leaves verify_build() to drop the artifact and the upload to fall back to individual files otherwise.

Archive uploads of dtbs are only used when both the extracted dtb files
and a dtbs.tar.xz artifact are present. The tuxmake backend gets the
archive for free, but _package_dtbs() only ever copies the dtbs_install
output into the artifacts directory, so make backend builds upload every
dtb as a separate request. That is 36 of the currently scheduled kbuild
jobs, including the whole CIP set and the arm64 chromebook build.

Pack the installed dtbs into dtbs.tar.xz with the same dtbs/ prefix
inside as the tuxmake archive, so upload_artifacts() picks it up with no
change. The archive is only created when at least one dtb was built,
which leaves verify_build() to drop the artifact and the upload to fall
back to individual files otherwise.

Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant