terraform/builtin/providers/github
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
..
config.go Add support for the Base URL endpoint so the GitHub provider can support GitHub Enterprise (#6434) 2016-05-09 19:22:53 +01:00
provider.go provider/github: add repository_webhook resource (#12924) 2017-03-23 11:21:45 +02:00
provider_test.go provider/github: supports importing resources (#10382) 2016-11-28 17:30:24 +00:00
resource_github_issue_label.go provider/github: Randomize repo and team names in acc tests (#12802) 2017-03-17 10:47:43 +00:00
resource_github_issue_label_test.go Updates google/go-github to the latest revision (#12604) 2017-03-12 16:05:18 +02:00
resource_github_membership.go Updates google/go-github to the latest revision (#12604) 2017-03-12 16:05:18 +02:00
resource_github_membership_test.go Updates google/go-github to the latest revision (#12604) 2017-03-12 16:05:18 +02:00
resource_github_organization_webhook.go provider/github: add repository_webhook resource (#12924) 2017-03-23 11:21:45 +02:00
resource_github_organization_webhook_test.go provider/github: add repository_webhook resource (#12924) 2017-03-23 11:21:45 +02:00
resource_github_repository.go Updates google/go-github to the latest revision (#12604) 2017-03-12 16:05:18 +02:00
resource_github_repository_collaborator.go Updates google/go-github to the latest revision (#12604) 2017-03-12 16:05:18 +02:00
resource_github_repository_collaborator_test.go Updates google/go-github to the latest revision (#12604) 2017-03-12 16:05:18 +02:00
resource_github_repository_test.go provider/github: Improve test failure message (#12978) 2017-03-23 09:19:03 +00:00
resource_github_repository_webhook.go provider/github: add repository_webhook resource (#12924) 2017-03-23 11:21:45 +02:00
resource_github_repository_webhook_test.go provider/github: add repository_webhook resource (#12924) 2017-03-23 11:21:45 +02:00
resource_github_team.go Updates google/go-github to the latest revision (#12604) 2017-03-12 16:05:18 +02:00
resource_github_team_membership.go Updates google/go-github to the latest revision (#12604) 2017-03-12 16:05:18 +02:00
resource_github_team_membership_test.go provider/github: Randomize repo and team names in acc tests (#12802) 2017-03-17 10:47:43 +00:00
resource_github_team_repository.go Updates google/go-github to the latest revision (#12604) 2017-03-12 16:05:18 +02:00
resource_github_team_repository_test.go provider/github: Randomize repo and team names in acc tests (#12802) 2017-03-17 10:47:43 +00:00
resource_github_team_test.go provider/github: Randomize repo and team names in acc tests (#12802) 2017-03-17 10:47:43 +00:00
util.go Updates google/go-github to the latest revision (#12604) 2017-03-12 16:05:18 +02:00
util_permissions.go Updates google/go-github to the latest revision (#12604) 2017-03-12 16:05:18 +02:00
util_test.go Adding privacy argument for GitHub teams for #6015 (#6116) 2016-04-11 13:09:25 +01:00