peridot icon indicating copy to clipboard operation
peridot copied to clipboard

build RPM for peridot cli

Open NeilHanlon opened this issue 11 months ago • 4 comments

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 the WORKSPACE
  • Modified BUILD.bazel to include pkg_attributes, pkg_files, and pkg_rpm rules
  • Set version information in the Go code using Bazel build variables

NeilHanlon avatar Feb 29 '24 02:02 NeilHanlon

[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

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

resf-prow[bot] avatar Feb 29 '24 02:02 resf-prow[bot]

todo: actually make semver releases.

NeilHanlon avatar Feb 29 '24 02:02 NeilHanlon

@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?

NeilHanlon avatar Mar 11 '24 16:03 NeilHanlon

  • #169 Graphite 👈
  • main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @NeilHanlon and the rest of your teammates on Graphite Graphite

NeilHanlon avatar Jul 25 '24 13:07 NeilHanlon