splicemachine / splicectl

GNU Affero General Public License v3.0
2 stars 2 forks source link

splicectl: Release - Redhat/CentOS (yum/rpm) Package build during github actions #15

Closed RileyMcCuen closed 3 years ago

RileyMcCuen commented 3 years ago

Description

Added a github action that deploys a new rpm package with the updated splicectl artifact every time a release is submitted to gh.

Motivation and Context

This makes it much easier to install and manage splicectl on Redhat/CentOS machines now, and any other distros that use rpm packages.

See (DBAAS-5849)[https://splicemachine.atlassian.net/browse/DBAAS-5849?atlOrigin=eyJpIjoiY2RlMTBkYTZhOTU0NGZkNmE4YTEzZjU2OWUwNTExN2UiLCJwIjoiaiJ9]

Dependencies

How Has This Been Tested?

I made a fork of this repository and tested the whole process with a manual trigger of the workflow, all of the packages made it to their destination. There is also a test built into the action, where it will use yum to install the package and make sure the version that is output by the splicectl version command matches the newest release in effect verifying the new artifact has been installed.

Screenshots (if appropriate)

Checklist

If the pull request includes user-facing changes, extra documentation is required:

Changelog Inclusions

Additions

Can now install splicectl on Redhat and CentOS using the instructions in the top level readme.

Changes

Fixes

Deprecated

Removed

Breaking Changes