Skip to content

Commit 34d2211

Browse files
authored
Docs diagram (#399)
* Added resource relationship diagram * Removed testing for Go 1.13 Co-authored-by: Serge Smertin <[email protected]>
1 parent 4177d1e commit 34d2211

File tree

5 files changed

+7
-27
lines changed

5 files changed

+7
-27
lines changed

.travis.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
11
language: go
22
jobs:
33
include:
4-
- go: 1.13.x
5-
cache:
6-
directories:
7-
- $HOME/.cache/go-build
8-
- $HOME/gopath/pkg/mod
9-
script:
10-
- curl -sSL "https://github.com/gotestyourself/gotestsum/releases/download/v0.4.2/gotestsum_0.4.2_linux_amd64.tar.gz" | sudo tar -xz -C /usr/local/bin gotestsum
11-
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.25.0
12-
- time make lint
13-
- time make test
14-
- time make build
154
- go: 1.14.x
165
gemfile: gemfiles/Gemfile.rails-3.0.x
176
cache:
@@ -21,7 +10,6 @@ jobs:
2110
script:
2211
- curl -sSL "https://github.com/gotestyourself/gotestsum/releases/download/v0.4.2/gotestsum_0.4.2_linux_amd64.tar.gz" | sudo tar -xz -C /usr/local/bin gotestsum
2312
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.25.0
24-
- time make lint
2513
- time make test
2614
- time make build
2715

Makefile

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ lint:
1010
@echo "✓ Linting source code with golangci-lint make sure you run make fmt ..."
1111
@golangci-lint run --skip-dirs-use-default --timeout 5m
1212

13-
test:
13+
test: lint
1414
@echo "✓ Running tests..."
1515
@gotestsum --format pkgname-and-test-fails --no-summary=skipped --raw-command go test -v -json -short -coverprofile=coverage.txt ./...
1616

@@ -65,20 +65,8 @@ test-awsmt:
6565
@echo "✓ Running Terraform Acceptance Tests for AWS MT..."
6666
@/bin/bash scripts/run.sh awsmt '^(TestAcc|TestAwsAcc)' --debug --tee
6767

68-
terraform-setup: build
69-
@echo "✓ Initializing Terraform..."
70-
@terraform init
71-
72-
terraform-apply: terraform-setup
73-
@echo "✓ Initializing Terraform plan..."
74-
@TF_LOG_PATH=log.out TF_LOG=debug terraform apply
75-
7668
snapshot:
7769
@echo "✓ Making Snapshot..."
7870
@goreleaser release --rm-dist --snapshot
7971

80-
hugo:
81-
@echo "✓ Making Docs..."
82-
@cd website && hugo -d ../docs/
83-
84-
.PHONY: build fmt python-setup docs vendor terraform-local build fmt coverage test lint
72+
.PHONY: build fmt python-setup docs vendor build fmt coverage test lint

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Databricks Terraform Provider
22

3-
[![Build Status](https://travis-ci.org/databrickslabs/terraform-provider-databricks.svg?branch=master)](https://travis-ci.org/databrickslabs/terraform-provider-databricks) [![codecov](https://codecov.io/gh/databrickslabs/terraform-provider-databricks/branch/master/graph/badge.svg)](https://codecov.io/gh/databrickslabs/terraform-provider-databricks)
3+
![Resources](docs/resources.png)
44

55
End-to-end workspace creation on [AWS](scripts/awsmt-integration) or [Azure](scripts/azvnet-integration/databricks.tf)
66
| [Authentication](docs/index.md)
@@ -45,6 +45,8 @@ End-to-end workspace creation on [AWS](scripts/awsmt-integration) or [Azure](scr
4545
| [Contributing and Development Guidelines](CONTRIBUTING.md)
4646
| [Changelog](CHANGELOG.md)
4747

48+
[![Build Status](https://travis-ci.org/databrickslabs/terraform-provider-databricks.svg?branch=master)](https://travis-ci.org/databrickslabs/terraform-provider-databricks) [![codecov](https://codecov.io/gh/databrickslabs/terraform-provider-databricks/branch/master/graph/badge.svg)](https://codecov.io/gh/databrickslabs/terraform-provider-databricks)
49+
4850
If you use Terraform 0.13, please refer to instructions specified at [registry page](https://registry.terraform.io/providers/databrickslabs/databricks/latest):
4951

5052
```hcl

docs/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ description: |-
1010

1111
Use the Databricks Terraform provider to interact with almost all of [Databricks](http://databricks.com/) resources.
1212

13+
![Resources](resources.png)
14+
1315
## Example Usage
1416

1517
```hcl

docs/resources.png

155 KB
Loading

0 commit comments

Comments
 (0)