-
Notifications
You must be signed in to change notification settings - Fork 123
Build OpenWrt packages in main pipeline #3967
Conversation
Somehow overwriting the makefile variables of the openwrt elektra makefile was not possible, making it necessary to create a script that uses |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very good job! I also like the script. Thank you for adding this 💖
scripts/jenkins/Jenkinsfile.release
Outdated
withDockerEnv(image, [DockerOpts.MOUNT_MIRROR]) { | ||
checkout scm | ||
sh "./scripts/release/prepare-openwrt-makefile.sh /home/build/openwrt/package/feeds/packages/elektra/Makefile" | ||
sh "cd /home/build/openwrt && make package/feeds/packages/elektra/compile V=sc" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this maybe create too many logs? What about first try as fast as possible without verbosity, if it fails without concurrency and full verbosity, e.g.:
sh "cd /home/build/openwrt && make package/feeds/packages/elektra/compile V=sc" | |
sh "cd /home/build/openwrt && make package/feeds/packages/elektra/compile || make -j1 V=sc package/feeds/packages/elektra/compile" |
see also #3904
I wasn't successful in creating cross-compiled packages for ARM from an x86_64 architecture. Is cross compiling from a x86_64 architecture even the right approach for such packages? We wouldn't be able to test packages for different architectures anyway. The community maintained packages (https://github.com/openwrt/packages) also do not cross-compile packages, instead they use GitHub Actions to build and test these packages (including Elektra) on different architectures. Maybe we should also build+test the Elektra openwrt package on GitHub Actions with the necessary architectures instead of Jenkins? |
As discussed: let us merge this for x86 only. |
Nothing regarding OpenWRT is built in the Jenkins pipeline from what I see? 👀 Is this expected or is this due to the security measures on Jenkins? |
0f5a6cd
to
bfac71a
Compare
bfac71a
to
9f96c22
Compare
I moved the OpenWRT build from the release pipeline into the main pipeline. The OpenWRT packages should now be built on every master commit. |
Thank you, great work! |
Part of #3898
Basics
These points need to be fulfilled for every PR:
(added as entry in
doc/news/_preparation_next_release.md
whichcontains
_(my name)_
)Please always add something to the release notes.
(first line should have
module: short statement
syntax)close #X
, are in the commit messages.doc/news/_preparation_next_release.md
scripts/dev/reformat-all
If you have any troubles fulfilling these criteria, please write
about the trouble as comment in the PR. We will help you.
But we cannot accept PRs that do not fulfill the basics.
Checklist
Check relevant points but please do not remove entries.
For docu fixes, spell checking, and similar none of these points below
need to be checked.
(not in the PR description)
Review
Reviewers will usually check the following:
Labels
If you are already Elektra developer:
say that everything is ready to be merged.