bitovi / bitovi/github-actions-deploy-stackstorm

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

Open
#27 7 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Shell
Stars
9
Forks
4
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.