Skip to content

Commit

Permalink
Merge pull request #2 from terraform-providers/master
Browse files Browse the repository at this point in the history
Update Local fork
  • Loading branch information
johnwildes authored Feb 17, 2020
2 parents c3f2e8d + 225783a commit 06f4d66
Show file tree
Hide file tree
Showing 5,634 changed files with 917,134 additions and 481,770 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
44 changes: 44 additions & 0 deletions .github/ISSUE_TEMPLATE/Beta_Feedback.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
name: 2️⃣ Bug Report
about: Feedback regarding the Beta for features coming in 2.0

---

<!--- Please keep this note for the community --->

### Community Note

* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

<!--- Thank you for keeping this note for the community --->

### Terraform (and AzureRM Provider) Version

<!-- this can be obtained from `terraform -v` -->

* Terraform Core version: [fill in]
* AzureRM Provider version: [fill in]

### Terraform Configuration Files

<!--- Information about code formatting: https://help.github.com/articles/basic-writing-and-formatting-syntax/#quoting-code --->

```hcl
# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key: https://keybase.io/hashicorp
```

### Description / Feedback

<!--- What should have happened? --->

### References

<!---
Information about referencing Github Issues: https://help.github.com/articles/basic-writing-and-formatting-syntax/#referencing-issues-and-pull-requests
Are there any other GitHub issues (open or closed) or pull requests that should be linked here? Such as vendor documentation?
--->

1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/Feature_Request.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
name: 🚀 Feature Request
about: I have a suggestion (and might want to implement myself 🙂)!
title: Support for [thing]

---

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/Question.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ so we recommend using our other community resources instead of asking here 👍.

If you have a support request or question please submit them to one of these resources:

* [Terraform community resources](https://www.terraform.io/docs/extend/community/index.html)
* [HashiCorp Community Forums](https://discuss.hashicorp.com/c/terraform-providers)
* [HashiCorp support](https://support.hashicorp.com) (Terraform Enterprise customers)
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ website/node_modules
*.backup
./*.tfstate
.terraform/
*.tfvars
*.auto.tfvars
*.log
*.bak
*~
Expand Down Expand Up @@ -42,3 +44,6 @@ examples/**/test.tf
examples/**/test.tfvars
examples/**/terraform
examples/**/terraform.zip

#never upload the build to git
terraform-provider-azurerm
36 changes: 36 additions & 0 deletions .golangci-travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
run:
deadline: 60m10s
modules-download-mode: vendor

issues:
max-per-linter: 0
max-same-issues: 0

linters:
disable-all: true
enable:
- deadcode
- errcheck
- gofmt
- goimports
- gosimple
- govet
- ineffassign
- interfacer
- nakedret
- misspell
- staticcheck
- structcheck
- typecheck
- unconvert
- varcheck
- vet
- vetshadow
- whitespace

linters-settings:
errcheck:
ignore: github.com/hashicorp/terraform-plugin-sdk/helper/schema:ForceNew|Set,fmt:.*,io:Close
misspell:
ignore-words:
- hdinsight
9 changes: 7 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
run:
deadline: 7m7s
deadline: 10m10s
modules-download-mode: vendor

issues:
Expand All @@ -12,6 +12,7 @@ linters:
- deadcode
- errcheck
- gofmt
- goimports
- gosimple
- govet
- ineffassign
Expand All @@ -26,7 +27,11 @@ linters:
- varcheck
- vet
- vetshadow
- whitespace

linters-settings:
errcheck:
ignore: github.com/hashicorp/terraform/helper/schema:ForceNew|Set,fmt:.*,io:Close
ignore: github.com/hashicorp/terraform-plugin-sdk/helper/schema:ForceNew|Set,fmt:.*,io:Close
misspell:
ignore-words:
- hdinsight
26 changes: 26 additions & 0 deletions .hashibot.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
queued_behavior "release_commenter" "releases" {
repo_prefix = "terraform-provider-"

message = <<-EOF
This has been released in [version ${var.release_version} of the provider](${var.changelog_link}). Please see the [Terraform documentation on provider versioning](https://www.terraform.io/docs/configuration/providers.html#provider-versions) or reach out if you need any assistance upgrading. As an example:
```hcl
provider "${var.project_name}" {
version = "~> ${var.release_version}"
}
# ... other configuration ...
```
EOF
}

poll "closed_issue_locker" "locker" {
schedule = "0 50 14 * * *"
closed_for = "720h" # 30 days
max_issues = 500
sleep_between_issues = "5s"

message = <<-EOF
I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!
EOF
}
55 changes: 38 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,49 @@
dist: trusty
dist: xenial
sudo: required
services:
- docker
language: go
go:
- "1.11.x"

install:
# This script is used by the Travis build to install a cookie for
# go.googlesource.com so rate limits are higher when using `go get` to fetch
# packages that live there.
# See: https://github.com/golang/go/issues/12933
- bash scripts/gogetcookie.sh
- make tools

script:
- make test
- make lint
- make website-test
- "1.13.x"

branches:
only:
- master
- master

env:
global:
GOFLAGS=-mod=vendor

install:
# This script is used by the Travis build to install a cookie for
# go.googlesource.com so rate limits are higher when using `go get` to fetch
# packages that live there.
# See: https://github.com/golang/go/issues/12933
- bash scripts/gogetcookie.sh
- make tools

matrix:
fast_finish: true
allow_failures:
- go: tip
- go: tip
include:
- name: "make lintrest"
script:
- GOGC=5 make lintrest
# results in a OOM error
#- name: "make lintunused"
# script: GOGC=5 make lintunused
- name: "make tflint"
script:
- GO111MODULE=off go get -u github.com/hashicorp/terraform
- make tflint
- name: "make test"
script: make test
- name: "make depscheck"
script: make depscheck
- name: "make website-lint"
script:
- GO111MODULE=off go get -u github.com/hashicorp/terraform
- make website-lint
- name: "make website-test"
script: make website-test
Loading

0 comments on commit 06f4d66

Please sign in to comment.