buildkite / terraform-provider-buildkite

Terraform provider for Buildkite
https://registry.terraform.io/providers/buildkite/buildkite/latest
MIT License
56 stars 34 forks source link

Refactor to remove hard coded goreleaser architecture #532

Closed wolfeidau closed 4 months ago

wolfeidau commented 4 months ago

This change is primarily focused on the goreleaser configuration, which is updated as follows:

  1. Remove the installation process and follow the pattern used to install terraform using docker copy, and a method which will automatically cover other architectures such as arm64.
  2. Ensure goreleaser configuration is validated during builds to avoid release build only failures.
  3. This also leans on the signature of the goreleaser docker container to pin the artifact in a similar way to terraform.

Hopefully these refinements can be also be used to improve other projects using goreleaser and buildkite.