This repository has been archived by the owner on May 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Temp fix for the problem with failing jobs - move cache instead of co…
…pying We've seen a number of workflows failing with `No space left on device` error (e.g. https://github.com/keep-network/keep-ecdsa/actions/runs/924123923). The problem was a combination of a big cache size and significant memory allocation after building Docker image. According to moby/buildkit#1850: "At the moment caches are copied over the existing cache so it keeps growing". As a temporary fix (until issue gets fixed by GH), we introduce a step that moves the cache (similarily to how it's described in moby/buildkit#1896). The solution may not keep us from failures forever, as we still may hit the problems with the full memory if the size of the Docker image or cache increases (see this FD discussion: https://www.flowdock.com/app/cardforcoin/tech/threads/Clml1_lI4HYRKrr3N_vcSInDn6A).
- Loading branch information
1 parent
0718e95
commit cb99021
Showing
3 changed files
with
34 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters