-
Notifications
You must be signed in to change notification settings - Fork 193
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
Create await-node-ready binary and add to gateway and route-agent images #3237
Conversation
Related to submariner-io/submariner-operator#3274 Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
🤖 Created branch: z_pr3237/tpantelis/await_mode_ready |
@@ -75,6 +75,8 @@ bin/%/submariner-route-agent: $(shell find pkg/routeagent_driver) | |||
bin/%/submariner-globalnet: $(shell find pkg/globalnet) | |||
GOARCH=$(call dockertogoarch,$(patsubst bin/linux/%/,%,$(dir $@))) ${SCRIPTS_DIR}/compile.sh $@ ./pkg/globalnet | |||
|
|||
bin/%/await-node-ready: $(shell find pkg/await_node_ready) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This also uses pkg/node
and pkg/versions
.
bin/%/await-node-ready: $(shell find pkg/await_node_ready) | |
bin/%/await-node-ready: $(shell find pkg/await_node_ready pkg/node pkg/versions) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok but is that needed? Route agent only specifies $(shell find pkg/routeagent_driver)
but it uses other packages as well. Same with globalnet - $(shell find pkg/globalnet)
. The executable binary runs fine locally.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn’t affect the binary that gets built, it only determines when it gets rebuilt. But this approach is inherently brittle, I’ve got a better one — let’s merge this and I’ll fix all the binaries properly.
🤖 Closed branches: [z_pr3237/tpantelis/await_mode_ready] |
Related to submariner-io/submariner-operator#3274