grafana / pyroscope-rs

Pyroscope Profiler for Rust. Profile your Rust applications.
Apache License 2.0
132 stars 22 forks source link

CI / CD — Make it so that both Ruby and Python packages can be built and published via Github Actions #41

Closed petethepig closed 1 year ago

petethepig commented 2 years ago

We need to make it so that a new release for ruby or python can be created, built and published via Github Actions in 1 step.

We do a similar thing here in pyroscope-lambda-extension repo, we can use it for inspiration.

My understanding is that there are 2 workflows:

I figured we can have the same thing here. We already have the building phases implemented for both ruby and python. ~release-please can help us automate the tagging phase, and publishing we'll have to implement ourselves I suppose.~ see my comment below about the proposed order for this.

petethepig commented 2 years ago

@eh-am reported there's still some rough edges with release-please:

I figured in this repo we might also have issues with 2 separate packages.


I'd say let's start with release part which would build artifacts and publish them for each tag that matches something like ruby-v* and python-v*. We could use this Running your workflow only when a push of specific tags occurs functionality.

And then later in the future we can integrate it with release-please or something else like that for automated tagging + updates in version.rb and setup.py.