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

Note when people may have gotten a bad release-drafter config #4965

Merged
merged 1 commit into from
Mar 6, 2022

Conversation

daniel-beck
Copy link
Contributor

I was surprised to see that the config that needs changing is part of the archetype.

I was surprised to see that the config that needs changing is part of the archetype.
@daniel-beck daniel-beck requested a review from a team as a code owner March 5, 2022 22:32
@probot-autolabeler probot-autolabeler bot added the documentation Jenkins documentation, including user and developer docs, solution pages, etc. label Mar 5, 2022
@daniel-beck daniel-beck requested a review from jglick March 5, 2022 22:32
@@ -56,7 +56,9 @@ _extends: .github
Make sure to remove any `tag-template` override that may have been configured previously.

Delete `.github/workflows/release-drafter.yml` if you previously enabled Release Drafter using the GitHub Actions,
or link:https://github.com/apps/release-drafter/installations/775283[remove the App from the repository] if it was configured that way.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed trailing space.

@timja timja merged commit 1f1ccde into master Mar 6, 2022
@timja timja deleted the release-drafter-archetype branch March 6, 2022 07:55
@jglick
Copy link
Contributor

jglick commented Mar 7, 2022

I was surprised to see that the config that needs changing is part of the archetype.

Why would that be surprising? We do not currently enable JEP-229 in the archetype, and for MRP-based plugins the archetype defines the recommended RD config.

@daniel-beck
Copy link
Contributor Author

daniel-beck commented Mar 7, 2022

We do not currently enable JEP-229 in the archetype

It is, however, the recommended way to release: https://www.jenkins.io/doc/developer/publishing/releasing/

We now recommend plugins be released via GitHub, either automatically or with a manual trigger.

The archetype setting things up one way and then making people change it immediately when following the recommendations is surprising.

@jglick
Copy link
Contributor

jglick commented Mar 7, 2022

Ah I did not see that #4341 actually recommended it.

We could enable JEP-229 in archetypes for new plugins, when the @jenkinsci mode is enabled, though we would then need to also ensure that CD is enabled in RPU by default for newly hosted plugins I think. Also probably we would want to do jenkins-infra/jenkins-maven-cd-action#10 first so that we are not pushing a stale config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Jenkins documentation, including user and developer docs, solution pages, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants