Uh oh!
There was an error while loading. Please reload this page.
Jenkinsfile: build wb8x-bootlet with online-demokit initramfs by default - #366
Open
ekateluv wants to merge 1 commit into
Open
Jenkinsfile: build wb8x-bootlet with online-demokit initramfs by default#366ekateluv wants to merge 1 commit into
ekateluv wants to merge 1 commit into
Conversation
The demokit bootlet used to be built by hand with INITRAMFS_URLS pointing at a manually uploaded wb-initramfs .deb. Take it from the wirenboard/wb-initramfs permanent/online-demokit job instead.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Что происходит; кому и зачем нужно:
Bootlet для демочемодана (
wb8x-bootlet) должен собираться с demokit-initramfs изwirenboard/wb-initramfs, веткаpermanent/online-demokit(write-protect + восстановление разметки). Раньше это делалось вручную: job запускали сINITRAMFS_URLS=http://fw-releases.wirenboard.com/utils/initramfs.deb, куда заранее заливали собранный deb (видно в логе сборки #3 ветки).buildWbKernelумеет брать initramfs напрямую из артефактов job'а wb-initramfs по имени ветки (WB_INITRAMFS_BRANCH→copyArtifacts). Задаём это значением по умолчанию в Jenkinsfile demokit-ветки, чтобы автоматическая сборка ветки давала правильный bootlet без ручных параметров.Что поменялось для пользователей:
Сборка
permanent/wb8-online-demokitпо умолчанию тянетwb-initramfs-wb8xизwb-initramfs/permanent/online-demokit(последний успешный билд), а не из dev-tools. На другие ветки не влияет.Как проверял/а:
Логика
WB_INITRAMFS_BRANCHвjenkins-pipeline-lib/vars/buildWbKernel.groovy; jobwb-initramfs/permanent/online-demokitсобран успешно, артефакты вpkgs/*.deb. Сборка ядра по PR покажет версию initramfs в логе (Initramfs version: …).