December 2024 Summaries
1 posts from Blacksmith
Filter
Month:
Year:
Post Summaries
Back to Blog
GitHub Actions uses a usage-based billing model that charges by job minutes rounded up to whole minutes, making private-repository CI costs potentially unpredictable, while public repositories can use standard Ubuntu runners for free. Cost reduction strategies include combining short related jobs to reduce rounding overhead, using concurrency settings to cancel outdated runs, enabling matrix fail-fast behavior, caching dependencies and Docker layers, optimizing Dockerfiles and image sizes, setting job and workflow timeouts, and defining job dependencies so downstream tasks run only after earlier stages succeed. The discussion also recommends selecting runner sizes based on workload needs and telemetry data, balancing higher per-minute costs against potentially faster execution. It presents Blacksmith runners as an alternative claiming lower per-minute pricing and faster CPU-intensive performance, with a simple migration process, though these claims are promotional.
Dec 17, 2024
2,107 words in the original blog post.