Skip to content

Makefile things#313

Merged
mjudeikis merged 9 commits into
kbind-dev:mainfrom
ntnn:makefile-stuff
Sep 21, 2025
Merged

Makefile things#313
mjudeikis merged 9 commits into
kbind-dev:mainfrom
ntnn:makefile-stuff

Conversation

@ntnn

@ntnn ntnn commented Sep 19, 2025

Copy link
Copy Markdown
Member

Summary

Some minor improvements for the makefile

  1. Parallelism is now set based on number of cores/2 rather forced to 1
  2. Add run-dex recipe and use run-dex and run-kcp in test-e2e
  3. Symlink dex and kcp in hack/tools - this allows e.g. the kcp sdk/testing to use the kcp binary in there for test servers

What Type of PR Is This?

/kind cleanup

Related Issue(s)

Fixes #

Release Notes

NONE

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>
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>
Signed-off-by: Nelo-T. Wallus <red.brush9525@fastmail.com>
Signed-off-by: Nelo-T. Wallus <n.wallus@sap.com>
@ntnn ntnn requested a review from a team as a code owner September 19, 2025 09:06
Comment thread Makefile
Comment on lines -246 to -249
dex:
git clone https://github.com/dexidp/dex.git
dex/bin/dex: dex
(cd dex; make)

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.

This is sort-of references in docs/content/setup/quickstart.md, where it says to clone the dex repo, but makes no mention of the makefile.
I don't think we need these recipes.

Comment thread Makefile

run-kcp: $(KCP)
$(KCP) start
$(KCP_CMD) start --bind-address=127.0.0.1

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Does this works with ever changing IP address on the local interface? O_O

@mjudeikis mjudeikis merged commit ab03f00 into kbind-dev:main Sep 21, 2025
5 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