Skip to content

Commit

Permalink
Update for terraform registry requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
ismarc committed Sep 2, 2021
1 parent 7c642fd commit 32826c2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
9 changes: 3 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,18 @@ builds:

archives:
- id: conjur-terraform-release-archive
name_template: "{{.ProjectName}}-{{.Version}}-{{.Os}}-{{.Arch}}"
format_overrides:
- goos: windows
format: zip
format: zip
files:
- README.md
- LICENSE

checksum:
name_template: 'SHA256SUMS.txt'
name_template: "{{.ProjectName}}_{{.Version}}_SHA256SUMS"

brews:
- description: Terraform provider for CyberArk Conjur
homepage: https://github.com/cyberark/terraform-provider-conjur
url_template: https://github.com/cyberark/terraform-provider-conjur/releases/download/v{{.Version}}/{{.ProjectName}}-{{.Version}}-{{.Os}}-{{.Arch}}.tar.gz
url_template: https://github.com/cyberark/terraform-provider-conjur/releases/download/v{{.Version}}/{{.ProjectName}}_{{.Version}}_{{.Os}}_{{.Arch}}.zip
caveats: |
After installation, you must symlink the provider into Terraform's plugins directory.
Symlinking is necessary because Homebrew is sandboxed and cannot write to your home directory.
Expand Down
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [0.6.1] - 2021-09-02
### Changed
- Archive format changed to support publishing to registry.terraform.io

## [0.6.0] - 2021-08-12
### Added
- Build for Apple M1 silicon.
Expand Down Expand Up @@ -51,7 +55,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Initial release
- Use https://github.com/cyberark/conjur-api-go to read configuration.

[Unreleased]: https://github.com/cyberark/terraform-provider-conjur/compare/v0.6.0...HEAD
[Unreleased]: https://github.com/cyberark/terraform-provider-conjur/compare/v0.6.1...HEAD
[0.6.1]: https://github.com/cyberark/terraform-provider-conjur/compare/v0.6.0...v0.6.1
[0.6.0]: https://github.com/cyberark/terraform-provider-conjur/compare/v0.5.0...v0.6.0
[0.5.0]: https://github.com/cyberark/terraform-provider-conjur/compare/v0.4.0...v0.5.0
[0.4.0]: https://github.com/cyberark/terraform-provider-conjur/compare/v0.3.1...v0.4.0
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pipeline {
stage('Build artifacts') {
steps {
sh './bin/build'
archiveArtifacts artifacts: "dist/*.tar.gz,dist/*.zip,dist/*.txt,dist/*.rb", fingerprint: true
archiveArtifacts artifacts: "dist/*.tar.gz,dist/*.zip,dist/*.txt,dist/*.rb,dist/*_SHA256SUMS", fingerprint: true
}
}
stage('Run integration tests (OSS)') {
Expand Down

0 comments on commit 32826c2

Please sign in to comment.