bitovi / bitovi/github-actions-deploy-stackstorm

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

オープン
#27 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る
feature
主要言語
Shell
スター
9
フォーク
4
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

リポジトリの GitHub Action エントリーポイントから開始し、Terraform と Ansible のデプロイ実行がどのように呼び出されるかを追跡します。Terraform plan、Ansible dry-run、GitHub status checks、マージ後の apply を中心に PR フローを定義します。オプションの Terraform diff コメントは追加スコープです。完了の条件は、ワークフローがレビュー実行とマージ済みのデプロイ実行を安全に区別できることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
ansible, aws, github-actions, shell, terraform
領域
ci-cd, cloud, devops, infrastructure
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。