Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add checksum generation and release asset upload to GitHub Actions workflow #10

Merged
merged 20 commits into from
Jun 24, 2024

Conversation

n0x29a
Copy link
Collaborator

@n0x29a n0x29a commented Jun 5, 2024

Add checksum generation and release asset upload to GitHub Actions workflow

  • Modified the GitHub Actions workflow (go-provider.yml) to include steps for generating checksums after the build process.
  • Added a step to archive binaries and checksums into a tar.gz file.
  • Added a step to upload the tar.gz file as a release asset.
  • Updated the Makefile:
    • Adjusted the build target to use the correct path for gox.
    • Added a new checksum target to generate SHA-256 checksums for all files in the bin directory and save them in checksums.txt.

@n0x29a n0x29a requested a review from Robert-Stam June 5, 2024 14:29
H4-8ZSI added 15 commits June 6, 2024 18:16
- Updated GitHub Actions workflow to support tagged releases with regex pattern for version tags.
- Added GoReleaser and Gox installations to the build process.
- Replaced manual release creation and asset upload with GoReleaser action.
- Integrated GPG key import for signed releases.
- Updated .goreleaser.yml to refine archive, build, and release settings:
  - Added zip format and license file to archives.
  - Adjusted binary naming conventions for Terraform CLI compatibility.
  - Improved build settings with environment variables, flags, and goos/goarch specifications.
  - Configured checksum and signature settings for improved security.
- Simplified Makefile by adding requirements target and updating build process to use GoReleaser.
- Updated provider documentation schema to mark `api_key` as required.

This commit enhances automation, security, and compatibility in the CI/CD pipeline.
@n0x29a n0x29a requested a review from Robert-Stam June 24, 2024 08:06
Copy link
Contributor

@Robert-Stam Robert-Stam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@n0x29a n0x29a merged commit 062b110 into main Jun 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants