bitovi / bitovi/github-actions-deploy-stackstorm

PR review flow integration: Terraform plan + Ansible dry-run

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

Mô tả

This is a good time and repository to show the PR flow with BitOps.
https://github.com/bitovi/bitops/issues/325

When using this GH Action, on every PR the terraform should run plan, and ansible should run dry-run,
show the result as a GH Status check.
Once the PR is approved and merged, - run the actual terraform apply.

Bonus points if we could post the `tf plan` diff back to the PR as a comment.

See https://github.com/marketplace/actions/terraform-pr-commenter#screenshots as an example:
![](https://github.com/robburger/terraform-pr-commenter/blob/master/images/plan-output.png?raw=true)

StackStorm is a complex beast and allowing users to run the proper PR review flow instead of "I'm feeling lucky" `apply` would prevent users from shooting themselves in the foot and encourage best practices.

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu từ điểm vào GitHub Action của repository và theo dõi cách các lần chạy deployment của Terraform và Ansible được gọi. Xác định quy trình PR xoay quanh Terraform plan, Ansible dry-run, các GitHub status checks và apply sau khi merge; bình luận diff Terraform tùy chọn thuộc phạm vi bổ sung. Được xem là hoàn tất khi workflow phân biệt an toàn giữa các lần chạy review và các lần chạy deployment sau khi merge.

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

Đánh giá

Công nghệ
ansible, aws, github-actions, shell, terraform
Lĩnh vực
ci-cd, cloud, devops, infrastructure
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
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
25/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.