Skip to content

Commit 86c6fe3

Browse files
committed
Adding hidden files
1 parent 5e647dc commit 86c6fe3

File tree

3 files changed

+96
-4
lines changed

3 files changed

+96
-4
lines changed

.gitignore

Lines changed: 37 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,39 @@
1+
*.dll
2+
*.exe
3+
.DS_Store
4+
example.tf
5+
terraform.tfplan
6+
terraform.tfstate
7+
bin/
8+
dist/
9+
modules-dev/
10+
/pkg/
11+
website/.vagrant
12+
website/.bundle
13+
website/build
14+
website/node_modules
15+
.vagrant/
16+
*.backup
17+
./*.tfstate
18+
.terraform/
19+
*.log
20+
*.bak
21+
*~
22+
.*.swp
123
.idea
2-
backups
324
*.iml
4-
terraform-provider-delphix
5-
build_instructions.txt
6-
code_snippets.sh
25+
*.test
26+
*.iml
27+
*.terraform.lock.hcl
28+
website/vendor
29+
30+
# Test exclusions
31+
!command/test-fixtures/**/*.tfstate
32+
!command/test-fixtures/**/.terraform/
33+
34+
# Keep windows files with windows line endings
35+
*.winfile eol=crlf
36+
37+
# examples executions
38+
./examples/environment/*.terraform*
39+
./examples/vdb/*.terraform*

.goreleaser.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Visit https://goreleaser.com for documentation on how to customize this
2+
# behavior.
3+
env:
4+
- PROVIDER_VERSION=1.0-beta
5+
before:
6+
hooks:
7+
# this is just an example and not a requirement for provider building/publishing
8+
- go mod tidy
9+
snapshot:
10+
name_template: '{{ .Env.PROVIDER_VERSION }}'
11+
builds:
12+
- env:
13+
# goreleaser does not work with CGO, it could also complicate
14+
# usage by users in CI/CD systems like Terraform Cloud where
15+
# they are unable to install libraries.
16+
- CGO_ENABLED=0
17+
mod_timestamp: '{{ .CommitTimestamp }}'
18+
flags:
19+
- -trimpath
20+
ldflags:
21+
- '-s -w -X main.version={{.Env.PROVIDER_VERSION}} -X main.commit={{.Commit}}'
22+
goos:
23+
- freebsd
24+
- windows
25+
- linux
26+
- darwin
27+
goarch:
28+
- amd64
29+
- '386'
30+
- arm
31+
- arm64
32+
ignore:
33+
- goos: darwin
34+
goarch: '386'
35+
binary: terraform-provider-delphix
36+
hooks:
37+
post:
38+
- cmd: ./dev_copy.sh
39+
env:
40+
- CP_PATH={{ .Path }}
41+
- CP_TARGET={{ .Target }}
42+
- CP_VERSION={{ .Env.PROVIDER_VERSION }}
43+
archives:
44+
- format: zip
45+
name_template: '{{ .ProjectName }}_{{ .Env.PROVIDER_VERSION }}_{{ .Os }}_{{ .Arch }}'
46+
checksum:
47+
extra_files:
48+
- glob: 'terraform-registry-manifest.json'
49+
name_template: '{{ .ProjectName }}_{{ .Env.PROVIDER_VERSION }}_manifest.json'
50+
name_template: '{{ .ProjectName }}_{{ .Env.PROVIDER_VERSION }}_SHA256SUMS'
51+
algorithm: sha256
52+
release:
53+
extra_files:
54+
- glob: 'terraform-registry-manifest.json'
55+
name_template: '{{ .ProjectName }}_{{ .Env.PROVIDER_VERSION }}_manifest.json'
56+
# If you want to manually examine the release before its live, uncomment this line:
57+
# draft: true
58+
changelog:
59+
skip: true

merge-content.zip

-28 KB
Binary file not shown.

0 commit comments

Comments
 (0)