Skip to content

Conversation

sean-breen
Copy link
Contributor

@sean-breen sean-breen commented Sep 30, 2025

Proposed changes

Reduces packaging time for releases considerably by building only the binaries we need, one for each supported architecture (amd64 + arm64). These binaries are then packaged using nfpm as normal.

To generate the required nfpm configuration files I have implemented a string substitution step which copies the current nfpm.yaml and replaces the string ^BUILD_PATH^ with the appropriate build path for the respective architecture.

This will result in our binaries having consistent checksums which will be added to the assertion documents generated by the security team's workflows.

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • I have run make install-tools and have attached any dependency changes to this pull request
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • If applicable, I have updated any relevant documentation (README.md)
  • If applicable, I have tested my cross-platform changes on Ubuntu 22, Redhat 8, SUSE 15 and FreeBSD 13

@sean-breen sean-breen closed this Oct 13, 2025
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.

1 participant