2020-06-09 18:24:17 -07:00
|
|
|
default: update-deps testacc
|
2020-05-14 17:06:23 -07:00
|
|
|
|
|
|
|
|
# Run acceptance tests
|
|
|
|
|
.PHONY: testacc
|
|
|
|
|
testacc:
|
|
|
|
|
TF_ACC=1 go test ./... -v $(TESTARGS) -timeout 120m
|
2020-06-09 18:24:17 -07:00
|
|
|
|
2020-07-24 20:29:19 -07:00
|
|
|
testacc-ci: install-go
|
2020-09-03 10:14:55 -07:00
|
|
|
git config --global --add url."git@github.com:".insteadOf "https://github.com/"
|
2020-07-24 20:29:19 -07:00
|
|
|
TF_ACC=1 ~/.go/bin/go test ./... -v $(TESTARGS) -timeout 120m
|
|
|
|
|
|
|
|
|
|
install-go:
|
|
|
|
|
./ci/goinstall.sh
|
|
|
|
|
|
2020-06-09 18:24:17 -07:00
|
|
|
update-deps:
|
|
|
|
|
GOPROXY=direct GOSUMDB=off go get -u
|
|
|
|
|
|
|
|
|
|
dev:
|
2020-08-11 16:12:26 -07:00
|
|
|
go build -o ~/.terraform.d/plugins/terraform-provider-boundary main.go
|