coreruleset / modsecurity-crs-docker

Official ModSecurity Docker + Core Rule Set (CRS) images
https://coreruleset.org
Apache License 2.0
241 stars 63 forks source link

Reduce release build time #196

Closed theseion closed 5 months ago

theseion commented 5 months ago

Release builds currently take around 12 hours. We should reduce the build time. Some ideas:

fzipi commented 5 months ago

There is one more thing that we can do, that will give us real optimization: split the builds by arch. It was not possible before because of the manifest, but now it can be done with an extra step that recreates the manifest at the end...

theseion commented 5 months ago

I had already updated the PR to create jobs for each combination of (target, platform), but I realised that platforms are target specific (we only build OpenResty for two platforms). So instead of just reading platforms-base we would have to build up a map of actual (target, platform) combinations for the matrix. That was too complicated for just a quick change, so I reverted it.

theseion commented 5 months ago

Which manifest are you talking about, btw?