grafana / cloudcost-exporter

Prometheus Exporter for Cloud Provider agnostic cost metrics
Apache License 2.0
66 stars 4 forks source link

Define the Versioning Strategy #18

Open Pokom opened 11 months ago

Pokom commented 11 months ago

While 0 is the new 1.0, we should have a well defined strategy on how we version and release cloudcost-exporter.

Define a release workflow in github actions.

nikimanoledaki commented 6 days ago

Out of curiosity, what is the current release process? Is it manually done through --> https://github.com/grafana/cloudcost-exporter/releases/new where a new tag is also created manually?

As for the cadence, it looks like it's weekly to bi-monthly. Could you share more on the reason for the patches, such as 0.4.x, versus new minor versions?

Pokom commented 6 days ago

@nikimanoledaki see https://github.com/grafana/cloudcost-exporter/blob/main/docs/contribute/releases.md for a very brief guide on the release process. For versioning, we try to stick with semver as best as we can, but it's always a judgement call. Fixes/dependencies end up being patches, whereas new features is a minor version update. Since we're still in alpha, we make no gaurantees of backwards compatibility so we've stuck with 0.x.x until we're ready .

As for the cadence, it looks like it's weekly to bi-monthly.

Cadence is so far as we need it, but mostly aligning with PR's merged in or dependency updates.

nikimanoledaki commented 6 days ago

Thank you, hadn't seen the release docs on this!

Happy to add a goreleaser workflow if you agree to this approach :) That way we can start hacking at it. We would still need to create new tags manually. The workflow would listen to new tags that are created. How does that sound?