Remove website-test from CI and Makefile. (#468)

As part of the repo transition, our docs have been
removed from terraform.io They now redirect to our
page in the registry.

e832984aa6

This leads to test failures in CI. These test can
be removed as they are no longer relevent.

HashiCorp has provided a tool for previewing how
markdown will render on the registry.
This commit is contained in:
Andrew Starr-Bochicchio 2020-07-21 11:11:22 -04:00 committed by GitHub
parent a5a7e8ce76
commit 0da4a4a4e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 15 deletions

View File

@ -16,7 +16,6 @@ install:
script:
- make test
- make vet
- make website-test
branches:
only:

View File

@ -1,6 +1,5 @@
TEST?=$$(go list ./... |grep -v 'vendor')
GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor)
WEBSITE_REPO=github.com/hashicorp/terraform-website
PKG_NAME=digitalocean
SLUG=do
@ -45,18 +44,7 @@ test-compile:
go test -c $(TEST) $(TESTARGS)
website:
ifeq (,$(wildcard $(GOPATH)/src/$(WEBSITE_REPO)))
echo "$(WEBSITE_REPO) not found in your GOPATH (necessary for layouts and assets), get-ting..."
git clone https://$(WEBSITE_REPO) $(GOPATH)/src/$(WEBSITE_REPO)
endif
@$(MAKE) -C $(GOPATH)/src/$(WEBSITE_REPO) website-provider PROVIDER_PATH=$(shell pwd) PROVIDER_NAME=$(PKG_NAME) PROVIDER_SLUG=$(SLUG)
@echo "Use this site to preview markdown rendering: https://registry.terraform.io/tools/doc-preview"
website-test:
ifeq (,$(wildcard $(GOPATH)/src/$(WEBSITE_REPO)))
echo "$(WEBSITE_REPO) not found in your GOPATH (necessary for layouts and assets), get-ting..."
git clone https://$(WEBSITE_REPO) $(GOPATH)/src/$(WEBSITE_REPO)
endif
@$(MAKE) -C $(GOPATH)/src/$(WEBSITE_REPO) website-provider-test PROVIDER_PATH=$(shell pwd) PROVIDER_NAME=$(PKG_NAME) PROVIDER_SLUG=$(SLUG)
.PHONY: build test testacc vet fmt fmtcheck errcheck test-compile website website-test
.PHONY: build test testacc vet fmt fmtcheck errcheck test-compile website