This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

.github.ci: treat cache.lassul.us as upstream cache in hestia

With the lazy /nix/store in the machine jobs, hestia's drain read every
cache.lassul.us-only input path to mirror it into the GitHub Actions
cache, downloading 375-760 MiB per job through the lazy store and
spending 1-4.5 min uploading to the Actions cache at 2-11 MiB/s (PR 65
run). Those paths are already in cache.lassul.us; niks3 uploads
everything newly built.

upstream-cache-key-names replaces hestia's default list, so it repeats
cache.nixos.org-1 next to cache.lassul.us-1. In the eval job,
filter-drv-closures applies the same keys to the drv closures; members
signed by cache.lassul.us are substituted from there by the later jobs.

+3
+3
.github/workflows/ci.yml
··· 103 103 - uses: Mic92/hestia@v3 104 104 with: 105 105 upstream-cache-filter: true 106 + upstream-cache-key-names: cache.nixos.org-1 cache.lassul.us-1 106 107 filter-drv-closures: true 107 108 # the niks3 client of all jobs and the lazy store of the machine jobs, 108 109 # the others substitute them ··· 145 146 - uses: Mic92/hestia@v3 146 147 with: 147 148 upstream-cache-filter: true 149 + upstream-cache-key-names: cache.nixos.org-1 cache.lassul.us-1 148 150 wait-manifest-version: ${{ needs.eval.outputs.manifest-version }} 149 151 - env: 150 152 NIKS3: ${{ needs.eval.outputs.niks3 }} ··· 206 208 - uses: Mic92/hestia@v3 207 209 with: 208 210 upstream-cache-filter: true 211 + upstream-cache-key-names: cache.nixos.org-1 cache.lassul.us-1 209 212 wait-manifest-version: ${{ needs.shared.outputs.manifest-version }} 210 213 - env: 211 214 NIKS3: ${{ needs.eval.outputs.niks3 }}