Skip to content

Commit

Permalink
Merge branch 'master' of github.com:databrickslabs/databricks-terraform
Browse files Browse the repository at this point in the history
  • Loading branch information
stikkireddy committed Apr 23, 2020
2 parents a059e41 + 524321c commit 858aba7
Show file tree
Hide file tree
Showing 297 changed files with 13,666 additions and 2,131 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Expand Up @@ -325,4 +325,7 @@ pip-selfcheck.json
.DS_Store
/*.dbc
/*.bck
/templates
/templates
website/**/*.tar.gz
website/**/*.zip
website/public/**
5 changes: 2 additions & 3 deletions .goreleaser.yml
Expand Up @@ -3,7 +3,6 @@
before:
hooks:
# You may remove this if you don't use go modules.
- make docs
- go mod download
builds:
- env:
Expand All @@ -23,18 +22,18 @@ archives:
windows: Windows
amd64: 64-bit
386: 32-bit
name_template: "databricks-terraform-{{ .Os }}-{{ .Arch }}-{{ .Tag }}-SNAPSHOT-{{ .ShortCommit }}"
format_overrides:
- goos: windows
format: zip
files:
- LICENSE*
- CHANGELOG*
- NOTICE*
- docs/build/html/**/*
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-SNAPSHOT-{{ .ShortCommit }}"
name_template: "{{ .Tag }}"
changelog:
sort: asc
filters:
Expand Down
17 changes: 17 additions & 0 deletions Makefile
Expand Up @@ -66,4 +66,21 @@ terraform-apply: terraform-setup
@echo "==> Initializing Terraform plan..."
@TF_LOG_PATH=log.out TF_LOG=debug terraform apply

snapshot:
@echo "==> Making Snapshot..."
@goreleaser release --rm-dist --snapshot
@cp dist/*.gz website/content/_index.files/
@cp dist/*.zip website/content/_index.files/

hugo: snapshot
@echo "==> Making Docs..."
@rm -rf terraform-provider-databricks website/content/_index.files/*
@cp dist/*.gz website/content/_index.files/
@cp dist/*.zip website/content/_index.files/
@cd website && hugo

internal-docs-sync:
@echo "==> Uploading Website..."
@azcopy login --service-principal --application-id $(AZCOPY_SPA_CLIENT_ID) --tenant-id=$(AZCOPY_SPA_TENANT_ID) && azcopy sync './website/public' '$(AZCOPY_STORAGE_ACCT)' --recursive

.PHONY: build fmt python-setup docs vendor terraform-local build fmt coverage test
20 changes: 0 additions & 20 deletions docs/Makefile

This file was deleted.

35 changes: 0 additions & 35 deletions docs/make.bat

This file was deleted.

29 changes: 0 additions & 29 deletions docs/requirements.txt

This file was deleted.

57 changes: 0 additions & 57 deletions docs/source/conf.py

This file was deleted.

18 changes: 0 additions & 18 deletions docs/source/index.rst

This file was deleted.

128 changes: 0 additions & 128 deletions docs/source/provider/provider.md

This file was deleted.

0 comments on commit 858aba7

Please sign in to comment.