terraform/website/source/docs/providers/github/r
Raphael Randschau 6991ceb2e2 provider/github: add repository_webhook resource (#12924)
* provider/github: add repository_webhook resource

`repository_webhook` can be used to manage webhooks for repositories.
It is currently limited to organization repositories only.

The changeset includes both documentation and tests.
The tests are green:

```
make testacc TEST=./builtin/providers/github
TESTARGS='-run=TestAccGithubRepositoryWebhook_basic'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/03/21 16:20:07 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/github -v
-run=TestAccGithubRepositoryWebhook_basic -timeout 120m
=== RUN   TestAccGithubRepositoryWebhook_basic
--- PASS: TestAccGithubRepositoryWebhook_basic (5.10s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/github    5.113s
```

* provider/github: add github_organization_webhook

the `github_organization_webhook` resource is similar to the
`github_repository_webhook` resource, but it manages webhooks for an
organization.

the tests are green:

```
make testacc TEST=./builtin/providers/github
TESTARGS='-run=TestAccGithubOrganizationWebhook'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/03/21 17:23:33 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/github -v
-run=TestAccGithubOrganizationWebhook -timeout 120m
=== RUN   TestAccGithubOrganizationWebhook_basic
--- PASS: TestAccGithubOrganizationWebhook_basic (2.09s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/github    2.109s
```
2017-03-23 11:21:45 +02:00
..
issue_label.html.markdown provider/github: add GitHub labels resource (#10142) 2016-11-18 13:24:37 +02:00
membership.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
organization_webhook.html.markdown provider/github: add repository_webhook resource (#12924) 2017-03-23 11:21:45 +02:00
repository.html.markdown website: docs for github_repository resource 2016-10-13 08:04:18 -07:00
repository_collaborator.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
repository_webhook.html.markdown provider/github: add repository_webhook resource (#12924) 2017-03-23 11:21:45 +02:00
team.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
team_membership.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
team_repository.html.markdown website: github_team_repository purpose clarification 2016-10-13 08:04:18 -07:00