ci: cache nix-store using nix-community/cache-nix-action #65

Merged
teutat3s merged 2 commits from ci/enable-cache into main 2023-12-13 00:59:09 +00:00
Owner
Related repo: https://git.pub.solar/pub-solar/actions-base-image
b12f approved these changes 2023-11-18 21:36:09 +00:00
axeman approved these changes 2023-12-08 15:47:14 +00:00
axeman left a comment
Owner

Would be nice to use cachix, so we can benefit from nix builds in CI. But this is already an improvement so feel free to merge.

Would be nice to use cachix, so we can benefit from nix builds in CI. But this is already an improvement so feel free to merge.
teutat3s changed title from ci: try to enable cache for nix store to WIP ci: try to enable cache for nix store 2023-12-11 11:16:49 +00:00
teutat3s changed title from WIP ci: try to enable cache for nix store to WIP: ci: try to enable cache for nix store 2023-12-11 11:17:02 +00:00
teutat3s force-pushed ci/enable-cache from 35943b90cd to 4ada18c05c 2023-12-11 18:15:19 +00:00 Compare
teutat3s force-pushed ci/enable-cache from 4ada18c05c to 54d67b5f75 2023-12-11 18:16:52 +00:00 Compare
teutat3s force-pushed ci/enable-cache from 54d67b5f75 to b15641bee3 2023-12-11 18:27:21 +00:00 Compare
teutat3s force-pushed ci/enable-cache from b15641bee3 to 970ccaf040 2023-12-11 18:29:44 +00:00 Compare
Author
Owner

Would be nice to use cachix, so we can benefit from nix builds in CI. But this is already an improvement so feel free to merge.

cachix is already in place.

- name: Prepare cachix
uses: https://github.com/cachix/cachix-action@v12
with:
name: pub-solar
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'

This actually works now after some network debugging for the cache to work. Merging now 🎉

> Would be nice to use cachix, so we can benefit from nix builds in CI. But this is already an improvement so feel free to merge. cachix is already in place. https://git.pub.solar/pub-solar/infra/src/commit/a3ce107c738acb41dab523f0bc6a55c00e4aec01/.forgejo/workflows/check.yml#L10-L14 This actually works now after some network debugging for the cache to work. Merging now 🎉
teutat3s changed title from WIP: ci: try to enable cache for nix store to ci: try to enable cache for nix store 2023-12-13 00:13:29 +00:00
teutat3s force-pushed ci/enable-cache from 9e525baa32 to e4c4644a8e 2023-12-13 00:43:26 +00:00 Compare
teutat3s added 1 commit 2023-12-13 00:56:46 +00:00
ci: dependencies now included in actions-base-image
All checks were successful
Flake checks / Check (pull_request) Successful in 3m24s
ebc7abf685
https://git.pub.solar/pub-solar/actions-base-image
teutat3s changed title from ci: try to enable cache for nix store to ci: cache nix-store using nix-community/cache-nix-action 2023-12-13 00:58:31 +00:00
teutat3s merged commit efe31cadd9 into main 2023-12-13 00:59:09 +00:00
teutat3s deleted branch ci/enable-cache 2023-12-13 00:59:09 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: pub-solar/infra#65
No description provided.