RedHatInsights / insights-api-common-rails

Header, Encryption, RBAC, Serialization, Pagination and other common behavior for Insights microservices built with Rails
Apache License 2.0
3 stars 25 forks source link

Add github workflow to release to rubygems automatically #199

Closed lindgrenj6 closed 4 years ago

lindgrenj6 commented 4 years ago

https://github.com/marketplace/actions/publish-to-rubygems

Uses that action, which just runs rake release at the project root, we just need two secrets:

cc @gmcculloug @syncrou @slemrmartin

lindgrenj6 commented 4 years ago

@syncrou this is ready to go now that we have it working for topological_inventory-providers-common

slemrmartin commented 4 years ago

@lindgrenj6 where are the secrets stored?

lindgrenj6 commented 4 years ago

It is in the repository settings - but I think you have to be owner to add them.

We also found out that GITHUB_TOKEN is implicitly added by the workflow run, so we only need to provide the rubygem key to get the workflow working.