generated from hashicorp/terraform-provider-scaffolding-framework
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added timeout option on apollostudio_sub_graph_validation
- Loading branch information
1 parent
79a6a39
commit 047f331
Showing
8 changed files
with
265 additions
and
236 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
kind: Added | ||
body: Added option to specificy timout on apollostudio_sub_graph_validation | ||
time: 2024-03-29T13:40:37.032618677+01:00 |
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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
version: '3' | ||
|
||
tasks: | ||
build-local: | ||
cmds: | ||
- go build -o terraform-provider-{{ .NAME }}_{{ .VERSION }} | ||
- mkdir -p ~/.terraform.d/plugins/registry.terraform.io/labd/{{ .NAME }}/{{ .VERSION }}/{{ .PLATFORM }}/ | ||
- mv terraform-provider-{{ .NAME }}_{{ .VERSION }} ~/.terraform.d/plugins/registry.terraform.io/labd/{{ .NAME }}/{{ .VERSION }}/{{ .PLATFORM }}/terraform-provider-{{ .NAME }}_v{{ .VERSION }} | ||
- cmd: codesign --deep --force -s - ~/.terraform.d/plugins/registry.terraform.io/labd/{{ .NAME }}/{{ .VERSION }}/{{ .PLATFORM }}/terraform-provider-{{ .NAME }}_v{{ .VERSION }} | ||
platforms: [darwin] | ||
vars: | ||
VERSION: 99.0.0 | ||
NAME: commercetools | ||
PLATFORM: | ||
sh: echo "$(go env GOOS)_$(go env GOARCH)" | ||
|
||
format: | ||
cmds: | ||
- go fmt ./... | ||
|
||
test: | ||
cmds: | ||
- go test -v ./... | ||
|
||
docs: | ||
cmds: | ||
- go generate | ||
|
||
coverage-html: | ||
cmds: | ||
- go test -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=./... ./... | ||
- go tool cover -html=coverage.txt | ||
|
||
coverage: | ||
cmds: | ||
- go test -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=./... ./... | ||
- go tool cover -func=coverage.txt | ||
|
||
testacc: | ||
cmds: | ||
- TF_ACC=1 go test -v ./... | ||
|
||
testacct: | ||
cmds: | ||
- TF_ACC=1 go test -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=./... -v ./... | ||
|
||
mockacc: | ||
cmds: | ||
- go test -count=1 -v ./... | ||
env: | ||
TF_ACC: 1 | ||
CTP_CLIENT_ID: unittest | ||
CTP_CLIENT_SECRET: x | ||
CTP_PROJECT_KEY: unittest | ||
CTP_SCOPES: manage_project:projectkey | ||
CTP_API_URL: http://localhost:8989 | ||
CTP_AUTH_URL: http://localhost:8989 |
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
Oops, something went wrong.