Budibase / budibase

Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MariaDB, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
https://budibase.com
Other
22.79k stars 1.58k forks source link

Reenable cache #14916

Closed adrinr closed 3 weeks ago

adrinr commented 3 weeks ago

Description

Reenabling the cache after figuring it out what the issue was. We follow the pattern defined in the docker docs around caching, specially to solve the slowness while building multiplatform architectures. We figure out that the issue was that the parallel runs were causing problems with the yarn cache, one overriding the other. Because of this we were seeing some build working while others would fail.

This PR reenables the cache we removed, and fixes the issue using different directories per each architecture.

qa-wolf[bot] commented 3 weeks ago

QA Wolf here! As you write new code it's important that your test coverage is keeping up. Click here to request test coverage for this PR!