cartesi / explorer

Cartesi Blockchain Explorer
https://explorer.cartesi.io
Apache License 2.0
9 stars 12 forks source link

Move rollups docker packaging from QEMU #35

Closed brunomenezes closed 1 year ago

brunomenezes commented 1 year ago

šŸ“„ Context

We have been using QEMU to generate our rollups docker image. Previously it was only generating the images using the Linux/amd64 architecture, and the times were reasonable, around 6 minutes without intermittent connectivity problems. Once we included the Linux/arm64, though, the timing for that generation alone is around 26 minutes, and we often see network connectivity problems (screenshot below) naturally followed by CI failure because it usually never recovers that connection. Therefore, we are looking for an alternative to solve that problem and avoid the workaround, that is, to rerun it šŸ« .

Screenshot 2023-07-06 at 12 12 55

āœ”ļø Solution

Initially, move from QEMU to depot.dev, which is specialised in building docker images. PS: funny enough, the example on the main page is showing how fast it is to build something on arm64

Reference: Sunodo CLI Action

šŸ“ˆ Subtasks

šŸŽÆ Definition of Done

brunomenezes commented 1 year ago

@tuler, I saw Sunodo's CLI CI code, and I have a question;

  1. Do we have a common account on depot.dev? If yes, please give me access or create a project on depot for us.