peridot
peridot copied to clipboard
build RPM for peridot cli
TL;DR
This PR introduces Bazel's rules_pkg and creates an RPM package for the Peridot CLI.
What changed?
- Added
rules_pkg
dependency to theWORKSPACE
- Modified
BUILD.bazel
to includepkg_attributes
,pkg_files
, andpkg_rpm
rules - Set version information in the Go code using Bazel build variables
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: NeilHanlon
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [NeilHanlon]
Approvers can indicate their approval by writing /approve
in a comment
Approvers can cancel approval by writing /approve cancel
in a comment
todo: actually make semver releases.
@mstg I was hoping I could use STABLE_BUILD_TAG here somehow, but I can't seem to figure how to pass this into the rules_pkg declaration.
Any thoughts?
This stack of pull requests is managed by Graphite. Learn more about stacking.
Join @NeilHanlon and the rest of your teammates on Graphite