Open fuxingloh opened 1 year ago
@fuxingloh: Thanks for opening an issue, it is currently awaiting triage.
The triage/accepted label can be added by foundation members by writing /triage accepted in a comment.
@fuxingloh: There are no 'area' labels on this issue. Adding an appropriate label will greatly expedite the process for us. You can add as many area as you see fit. If you are unsure what to do you can ignore this!
You can add area labels by leaving a /area
comment.
/kind feature /area workflow
Docker caching is currently not supported due to limitations of cargo/issues/2644. However, there are ways around this.
Ideally, the case scenario is to run cargo fetch on just the
Cargo.lock
file. However, that cannot run unlesssrc/*
are present which defeats the whole point of layered docker caching.Alternatively:
src/*
structure and useCargo.lock
toRUN cargo fetch
cargo-chef
_Originally posted by @fuxingloh in https://github.com/DeFiCh/metachain/pull/163#discussion_r1030071315_
Why?
For better DX.