Skip to content

Move kcp/ to contrib/kcp/#314

Merged
mjudeikis merged 4 commits into
kbind-dev:mainfrom
ntnn:contribs
Sep 19, 2025
Merged

Move kcp/ to contrib/kcp/#314
mjudeikis merged 4 commits into
kbind-dev:mainfrom
ntnn:contribs

Conversation

@ntnn

@ntnn ntnn commented Sep 19, 2025

Copy link
Copy Markdown
Member

Summary

Just the move so actualy changes aren't lost in the noise later.

I was considering adding a test-contribs recipe, but the unit test recipe is already module aware so that would be overkill.
The test-e2e should stay as it is as it needs the setup with kcp and dex, which may not be required for all contribs tests.

There's also the build recipe that directly targets kcp-init. I've left it for now, I'm not yet sure if the contribs/ should be self-contained or if the makefile should build absolutely everything.
Same for codegen - I could see codegen looking into the makefiles of the contribs and execute a codegen target if it exists. At the moment the codegen script calls into the kcp makefile explicitly.

What Type of PR Is This?

/kind cleanup

Related Issue(s)

Fixes #

Release Notes

NONE

@ntnn ntnn requested a review from a team as a code owner September 19, 2025 09:08
@ntnn ntnn force-pushed the contribs branch 5 times, most recently from 4cb8d93 to 8365313 Compare September 19, 2025 11:49
Comment thread Makefile
verify-modules: modules # Verify go modules are up to date
@for MOD in $(GOMODS); do \
(cd $$MOD; echo "Verifying $$MOD"; if ! git diff --quiet HEAD -- go.mod go.sum; then echo "[$$MOD] go modules are out of date, please run 'make modules'"; exit 1; fi; ) \
(cd $$MOD; echo "Verifying $$MOD"; if ! git diff --quiet HEAD -- go.mod go.sum; then git diff -- go.mod go.sum; echo "[$$MOD] go modules are out of date, please run 'make modules'"; exit 1; fi; ) \

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Added this because a verify CI job failed without any indication what is different. This way we'll at least see why the modules are different.

cnvergence
cnvergence previously approved these changes Sep 19, 2025
@cnvergence

Copy link
Copy Markdown
Member

Is the e2e test scenario a part of #296?

@ntnn

ntnn commented Sep 19, 2025

Copy link
Copy Markdown
Member Author

Ah yes, that the poc MJ did; I'll remove that that shouldn't be in yet. I wouldn't hurt but it would be cleaner to add it later when its done.

mjudeikis and others added 4 commits September 19, 2025 16:49
Signed-off-by: Nelo-T. Wallus <red.brush9525@fastmail.com>
Signed-off-by: Nelo-T. Wallus <n.wallus@sap.com>
Signed-off-by: Nelo-T. Wallus <red.brush9525@fastmail.com>
Signed-off-by: Nelo-T. Wallus <n.wallus@sap.com>
Signed-off-by: Nelo-T. Wallus <red.brush9525@fastmail.com>
Signed-off-by: Nelo-T. Wallus <n.wallus@sap.com>
Signed-off-by: Nelo-T. Wallus <red.brush9525@fastmail.com>
Signed-off-by: Nelo-T. Wallus <n.wallus@sap.com>
@mjudeikis mjudeikis merged commit 513cf60 into kbind-dev:main Sep 19, 2025
9 checks passed
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.

3 participants