-
Notifications
You must be signed in to change notification settings - Fork 640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix cache of build pipeline #1819
Comments
@nliaudat do you understand why caching no longer works? As you can see here, it stopped working after this changes: e661e1d @Slider0007 I looked into it but could not trace it down to the reason :( |
I mean sdkconfig.esp32cam-testing and in general all sdkconfig. XXX another than default should no be uploaded to repo.
|
could you give it a try? |
We have separate caching for each branch, and because its the first build for that branch, obviously there is no chache available yet, see https://github.com/jomjol/AI-on-the-edge-device/actions?query=branch%3Aesp_sys_info
The cache can not get full in this way. See https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#force-deleting-cache-entries, github automatically starts deleting other caches if space is exceeded!
That is interesting! Sadly I can not reproduce this :( |
Have to investigate futher .... What about "Create clean-branch-cache-after-pull-request-got-closed.yml" |
Latest small commit (add file to git ignore) : |
use build cache v3.2.3 ??
|
I've add manually triggered workflow clear_cache.yml in #1831 |
I tried to use the example from https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#force-deleting-cache-entries, but it does not work due to missing credentials.
❤️ Does that fix the caching issue? |
Looking at following screenshot shows that it works for your forked rolling but not ours: maybe https://stackoverflow.com/a/63590002 has an explanation:
Since we modified the We need to delete that cache somehow or update the key used for it.
Or maybe it solves itself after a week? |
I reworked the build pipeline according the example in https://github.com/actions/cache/blob/main/tips-and-workarounds.md#update-a-cache Hopefully this fixes it now. => #1836 |
@nliaudat sorry to have accused your changes to platformio.ini. |
@caco3 np, but please learn platformio.ini env asap :) |
For the Github Actions, we can use caches. One of them caches the Espressif build objects, making a build speed up from 10 to 2..3 minutes.
This no longer seems to work.
the
platformio.ini
changed a lot in the last weeks. I looked a bit into it but already the slightest changes break the caching :(The text was updated successfully, but these errors were encountered: