techno-tim / k3s-ansible

The easiest way to bootstrap a self-hosted High Availability Kubernetes cluster. A fully automated HA k3s etcd install with kube-vip, MetalLB, and more. Build. Destroy. Repeat.
https://technotim.live/posts/k3s-etcd-ansible/
Apache License 2.0
2.41k stars 1.05k forks source link

Cache Failing. Switch to Self-Hosted Cache #534

Open timothystewart6 opened 4 months ago

timothystewart6 commented 4 months ago

GitHub has no way to store cache outside of their servers, even for self-hosted runners. This means that sometimes our cache of vagrant boxes gets pushed out of cache before it can be used. Worse yet, there is a dangling cache right now that cannot be found yet it is using up our space. This will automatically purge after 24 hours but there's nothing we can do until then. I wish they support s3 compatible storage natively however they do not.

Because of these reasons, I am considering running a self-hosted cache server

https://github.com/falcondev-oss/github-actions-cache-server

Otherwise I can attempt switch to an s3 compatible action here https://github.com/tespkg/actions-cache

image