Replies: 1 comment
-
|
Hi! Sadly, I dont have any experience with Dagger and I cant really help you, feel free to ask in our matrix channel . An idea to solve the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there!
Currently building esp32 firmware locally, would like to move this to CI and also to other machines of developers easily by using dagger. This a tool which is based on docker layers and thus can mount cache directories from previous builds.
The build tool will no run a certain step if the inputs didn't change.. e.g.
withDirectory("/tmp/build", src)wheresrcis a directory from the host system which includes moving parts like outputs of local builds and such will invalidate the cache each time. If you would provide a constrained filter which makes the build deterministic/hermetic it will cache it and use the layerCurrently I've the following setup
Things which are not cached
cargo install espup --locked --version 0.15.1is not backed and being run every time .. it downloads crates and compiles themespup install -t esp32is also being run every time .. it mentions[warn]: Failed to detect version of Xtensa Rust, reinstalling it.. I'm mounting the cache directory of cargo and also the toolchain directory .. but no luck?Beta Was this translation helpful? Give feedback.
All reactions