Enable javascript in your browser for better experience. Need to know to enable it? Go here.

Philips's self-hosted GitHub runner

Last updated : Apr 03, 2024
NOT ON THE CURRENT EDITION
This blip is not on the current edition of the Radar. If it was on one of the last few editions, it is likely that it is still relevant. If the blip is older, it might no longer be relevant and our assessment might be different today. Unfortunately, we simply don't have the bandwidth to continuously review blips from previous editions of the Radar. Understand more
Apr 2024
Trial ?

虽然 GitHub Actions runners 已经覆盖了最常见的运行时环境,并且是最早投入使用的,但有时团队还是需要管理自托管运行器,比如当组织政策只允许从组织内部的安全边界内部署到私有托管基础设施时。在这种情况下,团队可以使用 Philips's self-hosted GitHub runner,这是一个 Terraform 模块,可以在 AWS EC2 竞价实例(spot instance)上启动自定义运行器。该模块还创建了一组 Lambda 用于处理这些运行器的生命周期管理(扩展和缩减)。根据我们的经验,这个工具极大地简化了自托管 GitHub Actions runner 的配置和管理。对于使用 Kubernetes 的团队来说,另一种选择是 actions-runner-controller

Apr 2023
Assess ?

虽然 GitHub Actions 运行器涵盖了一系列最常见的运行时,但有时您需要一些更具体的东西来满足特定的使用场景,例如,一个不太常见的语言运行时,或者一个特定的硬件配置。这时您就需要一个自我托管的运行器。Philips 的自我托管 GitHub 运行器 是一个 Terraform 模块,可以让您在 AWS EC2 Spot 实例上启动自定义运行器。当您使用自我托管运行器时,您会失去 GitHub Actions 提供的一些生命周期管理特性,而该模块则创建了一整套 Lambda 来帮助解决这类问题。这些 Lambda 为运行器的按需扩缩容做了大量工作。这有助于管理成本,并允许您缩短运行器工作时长,这在提高可重复性和安全性方面是一个好的实践。当您确实需要自我托管的运行器时,如果自己从头开始构建,您可能会缺失很多东西。请寻找类似这样的工具来代替。

Published : Apr 26, 2023

Download the PDF

 

 

 

English | Português 

Sign up for the Technology Radar newsletter

 

 

Subscribe now

Visit our archive to read previous volumes