-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from zapier/update-docs
Add detail to docs.
- Loading branch information
Showing
7 changed files
with
121 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,37 @@ | ||
# TF Buddy | ||
# TFBuddy | ||
|
||
TFBuddy allows Terraform Cloud users to get apply-before-merge workflows in their Pull Requests. | ||
|
||
## Terraform Cloud API Driven Runs | ||
|
||
Terraform Cloud (TFC) has a native VCS integration that can trigger plans and applies based for repositories, however it | ||
requires a merge after apply workflow that is not desirable in many cases. This tool has been developed to enable a | ||
requires a merge after apply workflow that may not be desirable in some cases. This tool has been developed to enable a | ||
apply-before-merge workflow. | ||
|
||
### How | ||
### How it works | ||
|
||
This tool provides a server function that processes webhooks from Gitlab/Github, triggers a Run in TFC for Merge/Pull Requests | ||
and then passes status updates of those Runs back to the Merge/Pull Request in the form of comments. | ||
|
||
This tool provides a server function that processes webhooks from Gitlab/Github, triggers a Run in TFC for the Merge Request | ||
and then passes status updates of those back to the Merge/Pull Request in the form of comments. | ||
|
||
### Architecture | ||
|
||
TFBuddy consists of the webhook handler and a NATS cluster. | ||
|
||
![](./docs/img/overview.png) | ||
|
||
### Building | ||
|
||
``` | ||
git clone ssh://[email protected]/zapier/tfbuddy.git | ||
cd tfbuddy | ||
go mod download | ||
go test -v ./... | ||
go build -v | ||
``` | ||
## Installation | ||
|
||
### Helm | ||
|
||
See [Installation Docs](https://tfbuddy.readthedocs.io/en/stable/usage/) | ||
|
||
|
||
## Documentation | ||
|
||
To learn more about TF Buddy [go to the complete documentation](https://tfbuddy.readthedocs.io/). | ||
To learn more about TF Buddy [go to the complete documentation](https://tfbuddy.readthedocs.io/). | ||
|
||
--- | ||
|
||
Made by SRE Team @ ![zapier](https://zapier-media.s3.amazonaws.com/zapier/images/logo60orange.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters