-
Notifications
You must be signed in to change notification settings - Fork 63
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
Generate homebrew formula during imgpkg release #180
Conversation
An example of what the homebrew Formula looks like. see: DennisDenuto/homebrew-carvel#2 Note: In addition to the existing assets that are uploaded (binary files) This will also upload compressed archives "zip" of said binary files. (The homebrew Formula will download and extract the zip files instead of referencing the binary files) Prior to merging in:This github action requires a PAT that has write access to the Under imgpkg's settings / Secrets / Repository Secrets -->
|
36e7615
to
8dbba85
Compare
8dbba85
to
6b606b8
Compare
6b606b8
to
6a7670b
Compare
Going to pivot and change away from goreleaser generating the homebrew file and instead using bash. Main reason being that goreleaser relies on 'zip' artifacts being uploaded to use in the homebrew file. In addition to also uploading binary files, having zip equivalents will add complexity down-the-line when we decide to sign and verify our distribution assets. |
This PR is going to change to instead update a metadata file in carvel-release-scripts repo See the corresponding PR in that repo here: carvel-dev/release-scripts#1 Moving this PR into draft for now... |
48e8639
to
71d56fd
Compare
71d56fd
to
e3d1f1c
Compare
e3d1f1c
to
29a8965
Compare
@cppforlife This is ready for a review and ready to merge. I have added the deploy keys to imgpkg and carvel-release-scripts. Tested on my fork of imgpkg. Resulted in the following commit made to carvel-release-scripts: carvel-dev/release-scripts@9aa30e4 |
29a8965
to
f510b37
Compare
f510b37
to
c27e89d
Compare
- The github action will commit to carvel-homebrew repo with the updated formula Authored-by: Dennis Leon <[email protected]>
Authored-by: Dennis Leon <[email protected]>
Authored-by: Dennis Leon <[email protected]>
- this avoids having to upload a 'zip' file since generating homebrew formulas with goreleaser requires an archive and doesn't allow providing standalone binaries Authored-by: Dennis Leon <[email protected]>
- carvel-release-scripts will use the release yaml to generate the associated assets (such as the homebrew formula) and is responsible to updating the various distribution channels from it. - Add ssh-key when checking out carvel-release-scripts - Fix typo in repo Authored-by: Dennis Leon <[email protected]>
c27e89d
to
395cfa5
Compare
Merging as discussed with dk |
formula
Authored-by: Dennis Leon [email protected]