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

Enables cd permissions for plugin-signpath #3900

Merged
merged 7 commits into from
Nov 5, 2024

Conversation

paulsavoie
Copy link
Contributor

@paulsavoie paulsavoie commented Apr 26, 2024

Link to GitHub repository

https://github.com/jenkinsci/signpath-plugin

If you are modifying the release permission of your plugin or component, fill out the following checklist:

Release permission checklist (for submitters)

When enabling automated releases (cd: true)

Follow the documentation to ensure, your pull request is set up properly. Don't merge it yet.
In case of changes requested by the hosting team, an open PR facilitates future reviews, without derailing work across multiple PRs.

Link to the PR enabling CD in your plugin

In this PR

CD checklist (for submitters)

Reviewer checklist

There are IRC Bot commands for it.

@paulsavoie paulsavoie requested a review from a team as a code owner April 26, 2024 08:54
@NotMyFault
Copy link
Member

You forgot to fill out the PR template.

@paulsavoie
Copy link
Contributor Author

You forgot to fill out the PR template.

Hello, sorry for the late reply, the message got lost on me. I don't understand the template. All I want to do is enabled the automated releases. It says to reference the PR that is performing this change. From my understanding, this very PR that I am commenting on is the one.

@timja
Copy link
Member

timja commented May 16, 2024

It should be a PR in this repository for making the Maven and GitHub workflow changes required:
https://github.com/jenkinsci/signpath-plugin

see
https://www.jenkins.io/doc/developer/publishing/releasing-cd/

@paulsavoie
Copy link
Contributor Author

Thank you @timja - and again sorry for the delay. GitHub notification unfortunately go nowhere for me. There is no such PR in https://github.com/jenkinsci/signpath-plugin, we've fulfilled all the criteria (as far as I can tell) separately and most of them from the beginning.
All that's missing is the change in this (jenkins-infra repo) PR.

@timja
Copy link
Member

timja commented Jun 11, 2024

As far as I can tell you've done none of https://www.jenkins.io/doc/developer/publishing/releasing-cd/ (apart from this PR)
Please check it closer

@volbobvol
Copy link
Contributor

Dear @timja
thank you for guiding us through the release process. Could you please check this PR:

jenkinsci/signpath-plugin#17

regards,
Volodymyr

@NotMyFault
Copy link
Member

As far as I can tell you've done none of jenkins.io/doc/developer/publishing/releasing-cd (apart from this PR) Please check it closer

But this PR doesn't address https://www.jenkins.io/doc/developer/publishing/releasing-cd/#update-maven-pom-and-config at all.

@volbobvol
Copy link
Contributor

But this PR doesn't address https://www.jenkins.io/doc/developer/publishing/releasing-cd/#update-maven-pom-and-config at all.

Thank you for your thorough review.

This part was already in the main branch, which is why it is not in the pull request. I should have mentioned it in the PR description. See the following files:

We would like to have a manually controlled prefix. The only difference that I see, and which I'm not sure about, is in the maven.config file.

In the example, the revision is set to 1 - <revision>1</revision>. We already have version 2.0.1, so ideally, we would like to continue versioning if possible.

Additionally, the second one, <changelist>999999-SNAPSHOT</changelist>, is empty in our codebase: <changelist></changelist>.

regards,
Volodymyr

@volbobvol
Copy link
Contributor

Hi @timja and @NotMyFault,

I wanted to follow up on my last comment. We've already made the required changes in the main branch, which is why they aren't reflected in this PR. Here are the files for your reference:

.mvn/maven.config
pom.xml
Could you please review and let us know if anything else is needed? We’re eager to move forward and appreciate your guidance.

Thanks,
Volodymyr

@timja
Copy link
Member

timja commented Aug 9, 2024

@volbobvol
Copy link
Contributor

Hi @timja

Thank you for the review.

I've created a new pull request to address the changes you mentioned:
jenkinsci/signpath-plugin#25

Thanks,
Volodymyr

@volbobvol
Copy link
Contributor

Hi @timja and @NotMyFault,

I wanted to follow up on my pull request. Have you had a chance to review it?
jenkinsci/signpath-plugin#25

Thanks,
Volodymyr

@timja
Copy link
Member

timja commented Oct 1, 2024

Hi @timja and @NotMyFault,

I wanted to follow up on my pull request. Have you had a chance to review it? jenkinsci/signpath-plugin#25

Thanks, Volodymyr

I reviewed jenkinsci/signpath-plugin#25 on August 19th and you haven't responded to the review =/

@volbobvol
Copy link
Contributor

volbobvol commented Oct 5, 2024

Hi @timja, thank you for your review.

Your last finding has now been addressed:

These two lines (version and changelist) are still not correct, please review the documentation and adapt:
https://github.com/jenkinsci/signpath-plugin/blob/e0b85b951934c0e03ef88194af3414dbb96ec5ef/pom.xml#L12
https://github.com/jenkinsci/signpath-plugin/blob/e0b85b951934c0e03ef88194af3414dbb96ec5ef/pom.xml#L16

These two lines have been updated and now align with the "Manually controlled prefix (optional)" version approach.

Is there anything else we need to do, to enable for CD?

@volbobvol
Copy link
Contributor

Hi @timja and @NotMyFault,

I wanted to check in again regarding the pull request. Do you think we’re ready to proceed with enabling CD?

Thanks for your time,
Volodymyr

@timja timja merged commit 915e1de into jenkins-infra:master Nov 5, 2024
3 checks passed
@timja
Copy link
Member

timja commented Nov 5, 2024

Sorry not sure what happened here I should have merged when I approved your other PR

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.

4 participants