Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: semantic releases and automatic changelog. #26

Merged
merged 8 commits into from
Feb 23, 2023

Conversation

gardar
Copy link
Member

@gardar gardar commented Feb 17, 2023

  • Adds a CI workflow for automatically generating changelog using antsibull-changelog and antsichaut.
  • Adds a CI workflow for automatically building/publishing collection as releases (will add galaxy publish later, when collection is "released").

Both the changelog and collection build/publish workflows use semantic versioning and conventional commits to avoid toil.

We need to manually publish one release that has a semantic version (currently the latest version is tagged as latest). After that the workflow can take care of the rest.
I didn't want to add complexity to the workflow by supporting a non-semantic version label that's only going to be used initially.

Signed-off-by: gardar <gardar@users.noreply.github.com>
Signed-off-by: gardar <gardar@users.noreply.github.com>
Signed-off-by: gardar <gardar@users.noreply.github.com>
Signed-off-by: gardar <gardar@users.noreply.github.com>
Signed-off-by: gardar <gardar@users.noreply.github.com>
@gardar
Copy link
Member Author

gardar commented Feb 17, 2023

CC: @SuperQ

@gardar
Copy link
Member Author

gardar commented Feb 17, 2023

The CI failures on this PR are caused because some of the workflow actions are expecting to find a config on the default branch, so they should only be present on this initial PR.

Signed-off-by: gardar <gardar@users.noreply.github.com>
Copy link
Member

@paulfantom paulfantom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just one minor nit.

CONTRIBUTING.md Outdated Show resolved Hide resolved
Signed-off-by: gardar <gardar@users.noreply.github.com>
Signed-off-by: gardar <gardar@users.noreply.github.com>
@gardar
Copy link
Member Author

gardar commented Feb 23, 2023

779c4f4 Disabled the auto publish for now in favor of a draft, we can re-enable it later once the collection reaches a production ready stage.

@SuperQ SuperQ merged commit 4c2d82f into prometheus-community:main Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants