I want to automate the build of a Chocolatey package every time an author creates a new GitHub release. The specific example I am talking about is the HIBPOfflineCheck plugin for KeyPass2, but it could in practice be any software that is hosted on GitHub and uses the Release feature.
The flow I am looking to implement looks something like this:
[ author of the package commits changes to GitHub ] | V [ author creates a new release, could be manual or automated ] | V [ my CI build is triggered ] | V [ publish the new chocolaty package to chocolaty ]
Conceivably I could create a pull request against the original repository. However, that has some issues:
- It requires the original author to take over responsibility for maintaining a chocolatey package; they may have no interest in managing.
- Their CI system may be incapable of generating and publishing the package.
- They may not have the knowledge required to configure Chocolatey API keys etc.
Triggering CI based upon a new GitHub release is possible in Concourse CI, so it's not an original thought. However, Concourse is not a SaaS product.