Project

General

Profile

Actions

Bug #5863

closed

Building the jenkins image on rpi4 takes > 1h

Added by osmith over 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
01/18/2023
Due date:
% Done:

100%

Spec Reference:

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

Related to Core testing infrastructure - Feature #5848: builders need ccacheResolvedosmith12/28/2022

Actions
Actions #1

Updated by osmith about 1 year ago

Actions #2

Updated by osmith about 1 year ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10
Actions #3

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.

Actions #4

Updated by osmith about 1 year ago

  • % Done changed from 10 to 90

laforge wrote in #note-3:

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.

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:
Actions #5

Updated by osmith about 1 year ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)