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

Plugin release automation #248

Merged
merged 3 commits into from
Jul 25, 2023
Merged

Plugin release automation #248

merged 3 commits into from
Jul 25, 2023

Conversation

scurvydoggo
Copy link
Member

@scurvydoggo scurvydoggo commented Jul 24, 2023

This enables automatic releases upon merge to master, with release note generation.

It follows the guide here: https://www.jenkins.io/doc/developer/publishing/releasing-cd/

Depends on: jenkins-infra/repository-permissions-updater#3451

Testing done

Submitter checklist

@scurvydoggo scurvydoggo added the chore Reduces future maintenance label Jul 24, 2023
@scurvydoggo scurvydoggo changed the title CD Automation Plugin release automation Jul 24, 2023
@scurvydoggo scurvydoggo marked this pull request as ready for review July 24, 2023 04:38
@scurvydoggo scurvydoggo requested a review from a team as a code owner July 24, 2023 04:38
Copy link
Member

@samrocketman samrocketman left a comment

Choose a reason for hiding this comment

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

Looks right to me. I see you also have a PR merged on jenkins-infra/repository-permissions-updater#3451

In the future, if you want to release you have two methods: manually trigger the workflow from GitHub actions; alternately, add enhancement label before merging a PR and upon merge it will create a release.

The continuous release is near instantaneous. There will no longer be a large 8-hour delay before releases publish to the JUC. So that you're aware, it's good to be sure a PR is release-ready before merging it (documentation, hopefully some tests, config migrations if any, etc).

@scurvydoggo
Copy link
Member Author

Ok. So in order to test the pipeline, I'll merge this and see what happens. I expect this will publish a new version of this plugin which contains no actual changes, just a different number. However it would set the basis for future releases.

@scurvydoggo scurvydoggo merged commit 7664e3b into master Jul 25, 2023
15 checks passed
@scurvydoggo scurvydoggo deleted the cd branch July 25, 2023 06:41
@scurvydoggo
Copy link
Member Author

Good news, everyone!

It appears to have updated the drafted release. So the refactoring has preserved that behaviour.

I'm not quite sure how to trigger the release. I think I un-draft it? Or merge a PR with a enhancement or fix label? I need to understand that aspect. However I believe we are able to merge the other PR now and it will be appended to the release notes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Reduces future maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants