openwrtbuildinfrastructures -past,presentand(near)future · past&present manualbuilds...
TRANSCRIPT
![Page 1: OpenWrtbuildinfrastructures -past,presentand(near)future · Past&Present Manualbuilds scripts/env Buildbot • downloads.openwrt.org • IRC Limitedbuildtesting Noruntimetesting](https://reader034.vdocuments.site/reader034/viewer/2022042302/5ecd5716aa433b21953006f7/html5/thumbnails/1.jpg)
OPENWRT SUMMIT 2016
OpenWrt build infrastructures- past, present and (near) futureLuka Perkov
![Page 2: OpenWrtbuildinfrastructures -past,presentand(near)future · Past&Present Manualbuilds scripts/env Buildbot • downloads.openwrt.org • IRC Limitedbuildtesting Noruntimetesting](https://reader034.vdocuments.site/reader034/viewer/2022042302/5ecd5716aa433b21953006f7/html5/thumbnails/2.jpg)
About me
◦ OpenWrt developer
◦ Sartura’s manager
◦ (ex) developer
![Page 3: OpenWrtbuildinfrastructures -past,presentand(near)future · Past&Present Manualbuilds scripts/env Buildbot • downloads.openwrt.org • IRC Limitedbuildtesting Noruntimetesting](https://reader034.vdocuments.site/reader034/viewer/2022042302/5ecd5716aa433b21953006f7/html5/thumbnails/3.jpg)
Building OpenWrt images
What’s in it for you?
◦ Building requires time - be mindful
◦ You might already be doing it (wrong)
◦ Find out what is coming
![Page 4: OpenWrtbuildinfrastructures -past,presentand(near)future · Past&Present Manualbuilds scripts/env Buildbot • downloads.openwrt.org • IRC Limitedbuildtesting Noruntimetesting](https://reader034.vdocuments.site/reader034/viewer/2022042302/5ecd5716aa433b21953006f7/html5/thumbnails/4.jpg)
Use cases
◦ For one or multiple devices
◦ When requested by customer
◦ On every git commit
◦ (nightly) periodic builds
◦ Debug versions or production images
◦ Snapshots or releases
![Page 5: OpenWrtbuildinfrastructures -past,presentand(near)future · Past&Present Manualbuilds scripts/env Buildbot • downloads.openwrt.org • IRC Limitedbuildtesting Noruntimetesting](https://reader034.vdocuments.site/reader034/viewer/2022042302/5ecd5716aa433b21953006f7/html5/thumbnails/5.jpg)
Past & Present
◦ Manual builds
◦ scripts/env
◦ Buildbot
• downloads.openwrt.org• IRC
◦ Limited build testing
◦ No runtime testing
![Page 6: OpenWrtbuildinfrastructures -past,presentand(near)future · Past&Present Manualbuilds scripts/env Buildbot • downloads.openwrt.org • IRC Limitedbuildtesting Noruntimetesting](https://reader034.vdocuments.site/reader034/viewer/2022042302/5ecd5716aa433b21953006f7/html5/thumbnails/6.jpg)
Continuous Integration
◦ Drone.io
• Docker-based• Works well with GitHub and Bitbucket• Can be patched and customized• Build instructions defined in the .drone.yml file
![Page 7: OpenWrtbuildinfrastructures -past,presentand(near)future · Past&Present Manualbuilds scripts/env Buildbot • downloads.openwrt.org • IRC Limitedbuildtesting Noruntimetesting](https://reader034.vdocuments.site/reader034/viewer/2022042302/5ecd5716aa433b21953006f7/html5/thumbnails/7.jpg)
OpenWrt
◦ openwrt-ninja GitHub account
◦ defconfig is built for every pull request
![Page 8: OpenWrtbuildinfrastructures -past,presentand(near)future · Past&Present Manualbuilds scripts/env Buildbot • downloads.openwrt.org • IRC Limitedbuildtesting Noruntimetesting](https://reader034.vdocuments.site/reader034/viewer/2022042302/5ecd5716aa433b21953006f7/html5/thumbnails/8.jpg)
![Page 9: OpenWrtbuildinfrastructures -past,presentand(near)future · Past&Present Manualbuilds scripts/env Buildbot • downloads.openwrt.org • IRC Limitedbuildtesting Noruntimetesting](https://reader034.vdocuments.site/reader034/viewer/2022042302/5ecd5716aa433b21953006f7/html5/thumbnails/9.jpg)
![Page 10: OpenWrtbuildinfrastructures -past,presentand(near)future · Past&Present Manualbuilds scripts/env Buildbot • downloads.openwrt.org • IRC Limitedbuildtesting Noruntimetesting](https://reader034.vdocuments.site/reader034/viewer/2022042302/5ecd5716aa433b21953006f7/html5/thumbnails/10.jpg)
![Page 11: OpenWrtbuildinfrastructures -past,presentand(near)future · Past&Present Manualbuilds scripts/env Buildbot • downloads.openwrt.org • IRC Limitedbuildtesting Noruntimetesting](https://reader034.vdocuments.site/reader034/viewer/2022042302/5ecd5716aa433b21953006f7/html5/thumbnails/11.jpg)
![Page 12: OpenWrtbuildinfrastructures -past,presentand(near)future · Past&Present Manualbuilds scripts/env Buildbot • downloads.openwrt.org • IRC Limitedbuildtesting Noruntimetesting](https://reader034.vdocuments.site/reader034/viewer/2022042302/5ecd5716aa433b21953006f7/html5/thumbnails/12.jpg)
![Page 13: OpenWrtbuildinfrastructures -past,presentand(near)future · Past&Present Manualbuilds scripts/env Buildbot • downloads.openwrt.org • IRC Limitedbuildtesting Noruntimetesting](https://reader034.vdocuments.site/reader034/viewer/2022042302/5ecd5716aa433b21953006f7/html5/thumbnails/13.jpg)
![Page 14: OpenWrtbuildinfrastructures -past,presentand(near)future · Past&Present Manualbuilds scripts/env Buildbot • downloads.openwrt.org • IRC Limitedbuildtesting Noruntimetesting](https://reader034.vdocuments.site/reader034/viewer/2022042302/5ecd5716aa433b21953006f7/html5/thumbnails/14.jpg)
Moving forward -- Action items
◦ Run all builds on every commit or pull requests
◦ Infrastructure test and deployment
◦ Optimization of the build process
• Reusing toolchain builds• Download directory mirror
![Page 15: OpenWrtbuildinfrastructures -past,presentand(near)future · Past&Present Manualbuilds scripts/env Buildbot • downloads.openwrt.org • IRC Limitedbuildtesting Noruntimetesting](https://reader034.vdocuments.site/reader034/viewer/2022042302/5ecd5716aa433b21953006f7/html5/thumbnails/15.jpg)
![Page 16: OpenWrtbuildinfrastructures -past,presentand(near)future · Past&Present Manualbuilds scripts/env Buildbot • downloads.openwrt.org • IRC Limitedbuildtesting Noruntimetesting](https://reader034.vdocuments.site/reader034/viewer/2022042302/5ecd5716aa433b21953006f7/html5/thumbnails/16.jpg)
◦ Extensive experience in:
• Remote management implementations• TR-069 (CWMP)• NETCONF/YANG
• Web UI development• Web UI deliveries for several customers• Present in products that are in stores today or will be launched soon
![Page 17: OpenWrtbuildinfrastructures -past,presentand(near)future · Past&Present Manualbuilds scripts/env Buildbot • downloads.openwrt.org • IRC Limitedbuildtesting Noruntimetesting](https://reader034.vdocuments.site/reader034/viewer/2022042302/5ecd5716aa433b21953006f7/html5/thumbnails/17.jpg)
Partners and Customers
◦ Sartura has closely collaborated on a number of software projects withnumerous companies:
• Cisco Systems• Marvell• Gateworks• Alfa Network
• Patton• Amplified Engineering• Anyfi Networks• ...
Full history of our collaborations can be provided upon inquiry