Bug #5863
closedBuilding the jenkins image on rpi4 takes > 1h
100%
Description
When changing debian-buster-jenkins, rebuilding it on the rpi4s takes a very long time. This is annoying when making changes to the infrastructure, but also keeps the rpis busy so doing gerrit verifications etc. will take longer. It also leads to the SD cards wearing out faster than necessary.
A lot of the dependencies installed in this image are not used on rpi4, for example everything needed for building manuals.
In fact we only build these projects on the rpis:- osmo-bts
- osmo-pcu
- osmo-trx
I'll create a minimal debian-buster-jenkins-arm image that will install just what we need to build these.
Related issues
Updated by osmith about 1 year ago
- Related to Feature #5848: builders need ccache added
Updated by osmith about 1 year ago
- Status changed from New to In Progress
- % Done changed from 0 to 10
Updated by laforge about 1 year ago
we might try to build that image on the lx2? Would be interesting to see the comparison in speed
and then decide what to do about it.
Updated by osmith about 1 year ago
- % Done changed from 10 to 90
laforge wrote in #note-3:
I'm sure it would build faster there. In theory we could do that to build it for arm, and then push it into the docker registry... but still, there are so many things in the image that we don't use on the raspberry pis, I think it would make more sense to use a minimal image instead. I only saw this message after I finished the patches:we might try to build that image on the lx2? Would be interesting to see the comparison in speed
and then decide what to do about it.
Updated by osmith about 1 year ago
- Status changed from In Progress to Resolved
- % Done changed from 90 to 100