Skip to content

Moved access-operator-api dep to systemtest#11905

Merged
ppatierno merged 2 commits intostrimzi:mainfrom
ppatierno:move-access-operator-dependency-to-systemtest
Sep 25, 2025
Merged

Moved access-operator-api dep to systemtest#11905
ppatierno merged 2 commits intostrimzi:mainfrom
ppatierno:move-access-operator-dependency-to-systemtest

Conversation

@ppatierno
Copy link
Copy Markdown
Member

This PR is a cherry-pick of #11904 into main branch.

In summary, it fixes the issue with Maven Central not allowing -SNAPSHOT dependencies in artifacts being pushed.
For this reason the access operator API dependency (which is 0.2.0-SNAPSHOT) is moved to the systemtest directly which is the only one using it and not pushed to Maven Central.

More details on the above linked PR.

Signed-off-by: Paolo Patierno <ppatierno@live.com>
@ppatierno ppatierno added this to the 0.49.0 milestone Sep 24, 2025
@ppatierno ppatierno requested a review from a team September 24, 2025 15:32
Copy link
Copy Markdown
Member

@scholzj scholzj left a comment

Choose a reason for hiding this comment

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

Should we rather keep it as is and aim for getting rid of it soon by releasing 0.2.0? If we wanna move it, can we move the repository reference with it?

Signed-off-by: Paolo Patierno <ppatierno@live.com>
@ppatierno
Copy link
Copy Markdown
Member Author

ppatierno commented Sep 24, 2025

Should we rather keep it as is and aim for getting rid of it soon by releasing 0.2.0? If we wanna move it, can we move the repository reference with it?

It's a pity we didn't move the repository within the release-0.48.x PR as well (just for clarity). Anyway, too late and it's not needed.
Regarding not merging this PR, I would be happy not doing it if the access operator 0.2.0 release will be out in a reasonable time before Strimzi 0.49.0, otherwise we are going to hit the same issue. FYI @katheris
Finally, I was just wondering ... if we decide to not merging this ... are we really sure that the access-operator API module should be anyway available to the entire project (to all module via the dependency management) instead of being only where it's used (currently systemtest). Do we envisage other modules where it could be used?

@scholzj
Copy link
Copy Markdown
Member

scholzj commented Sep 24, 2025

Finally, I was just wondering ... if we decide to not merging this ... are we really sure that the access-operator API module should be anyway available to the entire project (to all module via the dependency management) instead of being only where it's used (currently systemtest). Do we envisage other modules where it could be used?

I think we have all the other system-test only dependencies in the dependency management. It makes sure they are all aligned, you have nice centralized overview of all the dependencies there, etc. So TBH, I do not see a real reason why not have it there once we get out of the SNAPSHOT mess.

@im-konge
Copy link
Copy Markdown
Member

Also I can have a look if I can just do it without KAO's API module. But it would not be "so nice" and maybe it would be redundant.

@scholzj
Copy link
Copy Markdown
Member

scholzj commented Sep 24, 2025

Also I can have a look if I can just do it without KAO's API module. But it would not be "so nice" and maybe it would be redundant.

I guess you can always use the generic custom resource API. But it will probably make it harder to use (no DSL for the resources).

@scholzj
Copy link
Copy Markdown
Member

scholzj commented Sep 24, 2025

But IIRC the plan was to do the 0.2.0 release after the JOSDK update. So hopefully it does not take long. And then I do not see any major issue why not have it in the main dependency management.

@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.55%. Comparing base (eac4148) to head (80d576b).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #11905      +/-   ##
============================================
- Coverage     67.57%   67.55%   -0.02%     
+ Complexity     7104     7103       -1     
============================================
  Files           574      574              
  Lines         28181    28181              
  Branches       3201     3201              
============================================
- Hits          19043    19039       -4     
- Misses         7815     7818       +3     
- Partials       1323     1324       +1     

see 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@scholzj
Copy link
Copy Markdown
Member

scholzj commented Sep 24, 2025

/azp run regression

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Copy Markdown
Member

@katheris katheris left a comment

Choose a reason for hiding this comment

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

I'm going to do an access operator release once the Strimzi 0.48.0 release is out, so we can revert this then, but I'm happy with this in the interim

@ppatierno
Copy link
Copy Markdown
Member Author

So given the approvals it seems that we agree to merge this for now. At least it could save surprise if we release 0.49.0 before the access operator 0.2.0 is out. Afterwards we'll change back to the main pom if you want but not using a -SNAPSHOT dependency anymore.

@ppatierno ppatierno merged commit 9a0f0ca into strimzi:main Sep 25, 2025
31 checks passed
@ppatierno ppatierno deleted the move-access-operator-dependency-to-systemtest branch September 25, 2025 12:27
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