github / github/terraform-github-runner-vnet

Update Terraform to match new requirements for immutable actions

Đang mở
#3 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
HCL
Star
7
Fork
6
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu trong repository terraform-github-runner-vnet bằng cách xác định template NSG và các định nghĩa danh sách cho phép hostname, sau đó đối chiếu chúng với các điều kiện tiên quyết về private networking của GitHub-hosted-runner được liên kết. Công việc hoàn tất khi các domain Immutable Actions được ghi trong tài liệu và các dải IP được liệt kê được thể hiện trong cấu hình Terraform, đồng thời các bước kiểm tra validation của module đều đạt.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
terraform
Lĩnh vực
cloud, infrastructure
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
38/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.