github / github/terraform-github-runner-vnet
Update Terraform to match new requirements for immutable actions
- 主要語言
- HCL
- 星號
- 7
- 分支
- 6
- PR 合併指標
- 30 天內沒有已合併 PR
描述
The below email went out about immutable actions going GA. We need to update the Terraform for the new documented NSG rules and hostnames.
https://docs.github.com/en/enterprise-cloud@latest/admin/configuring-settings/configuring-private-networking-for-hosted-compute-products/configuring-private-networking-for-github-hosted-runners-in-your-enterprise#prerequisites
> With the upcoming GA of [Immutable Actions](https://app.github.media/e/er?s=88570519&lid=6887&elqTrackId=2089613d1975440cba49cf1699d19312&elq=e8faad9f5a2649f09c612135dd5b536f&elqaid=4301&elqat=1&elqak=8AF5F83217BACB33C82BDA01DE29C845613B20B406C5BCB8005B1C13E7A3A7DD8887), Actions will now be stored as packages in the GitHub Container Registry. We are reaching out because your runners currently cannot access one or both of the required domains.
>
> Please ensure that your self-hosted runner allow lists are updated to accommodate the network traffic. Specifically, you should allow traffic to pkg.actions.githubusercontent .com to ensure Immutable Actions can be downloaded successfully and jobs don’t fail during setup. If you already allow *.actions.githubusercontent .com which is listed as a required [domain](https://app.github.media/e/er?s=88570519&lid=6884&elqTrackId=b7f11ed639fe4100ad273ddeeba717db&elq=e8faad9f5a2649f09c612135dd5b536f&elqaid=4301&elqat=1&elqak=8AF5C9C07190433D254390100DD088133C3220B406C5BCB8005B1C13E7A3A7DD8887) then no action is necessary. Traffic will also be required to ghcr .io for publishing new versions of an Immutable Action in the future, which will be available with the GA release.
>
> This update also affects runners in all versions of [GitHub Enterprise Server](https://app.github.media/e/er?s=88570519&lid=6886&elqTrackId=eea39858328e46ea8c49f65a7e7cbb28&elq=e8faad9f5a2649f09c612135dd5b536f&elqaid=4301&elqat=1&elqak=8AF5BA3D777FF49C74C2C5A980F48BC782EA20B406C5BCB8005B1C13E7A3A7DD8887) that use the [GitHub Connect](https://app.github.media/e/er?s=88570519&lid=6885&elqTrackId=2d4e8de21bdb4c3ab2c7d560daef8e1d&elq=e8faad9f5a2649f09c612135dd5b536f&elqaid=4301&elqat=1&elqak=8AF5919B165BDBDFBB56C205DC45E742C0A720B406C5BCB8005B1C13E7A3A7DD8887) feature to download actions directly from [github.com](http://github.com/). Customers are advised to update their self-hosted runner network allow lists accordingly. For further guidance on communication between self-hosted runners and GitHub, please refer to our [documentation](https://app.github.media/e/er?s=88570519&lid=6884&elqTrackId=22ddb4d8053f43f79a6abfede75ff273&elq=e8faad9f5a2649f09c612135dd5b536f&elqaid=4301&elqat=1&elqak=8AF52EEB92063F91403EC85E81F4CEFE25A020B406C5BCB8005B1C13E7A3A7DD8887).
>
>
> Additionally, our guidance for configuring Azure private networking has been updated to account for the new domains. The following IP addresses have been added to the NSG template in our [documentation](https://app.github.media/e/er?s=88570519&lid=6883&elqTrackId=e725ffdc135546de852f74dd95586c74&elq=e8faad9f5a2649f09c612135dd5b536f&elqaid=4301&elqat=1&elqak=8AF5E22CEABE3C14167980E8DF365B77FF5020B406C5BCB8005B1C13E7A3A7DD8887).
>
> [140.82.121.33/32](http://140.82.121.33/32)
> [140.82.121.34/32](http://140.82.121.34/32)
> [140.82.113.33/32](http://140.82.113.33/32)
> [140.82.113.34/32](http://140.82.113.34/32)
> [140.82.112.33/32](http://140.82.112.33/32)
> [140.82.112.34/32](http://140.82.112.34/32)
> [140.82.114.33/32](http://140.82.114.33/32)
> [140.82.114.34/32](http://140.82.114.34/32)
> [192.30.255.164/31](http://192.30.255.164/31)
> [4.237.22.32/32](http://4.237.22.32/32)
> [20.217.135.1/32](http://20.217.135.1/32)
> [4.225.11.196/32](http://4.225.11.196/32)
> [20.26.156.211/32](http://20.26.156.211/32)
貢獻指南
研究方向
從 terraform-github-runner-vnet 儲存庫開始,找出 NSG 範本和 hostname allow-list 定義,然後將其與連結的 GitHub-hosted-runner 私有網路先決條件進行比較。當文件中記載的 Immutable Actions 網域和列出的 IP 範圍已在 Terraform 設定中呈現,且模組的驗證檢查通過時,工作即完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- terraform
- 領域
- cloud, infrastructure
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100