Skip to content
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

Cirrus: Use per-project caches #104

Open
JeremyRand opened this issue Mar 29, 2021 · 0 comments · May be fixed by #107
Open

Cirrus: Use per-project caches #104

JeremyRand opened this issue Mar 29, 2021 · 0 comments · May be fixed by #107

Comments

@JeremyRand
Copy link
Member

I'm seeing this in the plain-binaries task:

[13:17:09.603] SHA for cache folders (/tmp/cirrus-ci-build/out) is '1d984823efc7aa958bbde08b075d67ee82d9a3a723cce6bf92081d81893bd862'
[13:17:09.603] Cache out_release_linux_x86_64 has changed!
[13:17:09.603] List of changes for cache folders (/tmp/cirrus-ci-build/out):
[13:17:09.603] created: plain-binaries/ncdns-c947efb679dd-linux-x86_64-2241e6.tar.xz
[13:17:09.603] created: q/q-0.0.4-linux-x86_64-126875.tar.gz
[13:17:14.556] out_release_linux_x86_64 cache size is 975Mb.
[13:17:14.556] Uploading cache out_release_linux_x86_64...

This cache upload took 27 seconds. Seems like it'd be faster if we only had to upload the output folders for the projects that actually got a change.

We should be able to do this by making the YML generator iterate over each of the subfolders of projects. The YML will need to be regenerated when new projects are added, but now that we verify determinism of the YML, Cirrus will remind us to do so.

JeremyRand added a commit to JeremyRand/ncdns-repro that referenced this issue Mar 30, 2021
@JeremyRand JeremyRand linked a pull request Mar 30, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant