-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Building FortuneBuilder app #7301
Comments
I found that I need to add the following to
Now I am seeing other build errors:
|
From the README.md for this image currently https://github.com/kubernetes/ingress-nginx/blob/e98e3f3b9d43b3a81a4e0c7b91204d5550d74449/images/grpc-fortune-teller/README.md:
I would guess Bazel 0.12 is substantially older than what you have installed, stable bazel is v4.1.0 now. It's worth noting that this entire directory has a a few commits and hasn't really been actively developed https://github.com/kubernetes/ingress-nginx/commits/master/images/grpc-fortune-teller Seeing as this image is the only thing in the repo that appears to use bazel, I imagine they'd accept a PR reworking it. This repo is in need of more help, IMO #4404 https://github.com/kubernetes/ingress-nginx/graphs/contributors?from=2021-01-02&to=2021-06-30&type=c, so if you want this I'd guess take a stab at it. NOTE: not a maintainer here 🙃 |
Bazel 0.12 seems analogous to using NCSA Mosaic when there is Firefox, as so much has change. I doubt still the dependencies, which pulls stuff externally, would work. Perhaps when I gain more Bazel experience, I could take a stab at this, but currently this is beyond my ken. I was looking to test out the GRPC feature with a demo application, so I thought I would try to compile this, but well, ahem, I was not able to do that. Currently, I am using other demo grpc programs to try out for experimenting with this feature. |
This example really hasn't been updated for a long time. As @BenTheElder mentioned, we are now spending more time on this project and need more help.
@BenTheElder I know you have a lot of experience with Bazel, do you have time to help fix it? ❤️ |
I don't think bazel experience is necessary here, it's just go + grpc and can be adapted to the rest of the repo. Someone should rewrite the whole app probably?, it's also still using gopkg.lock ... I don't have a need for this myself, just trying to point out that to build it you probably need to use the tooling in the readme, or replace the build yourself (given nobody was working on this to begin with and the whole repo is currently somewhat understaffed) |
Thanks! You're right. My previous idea was based on the upgrade build tool (Bazel), so I think this may require Bazel related experience. (Sorry to trouble you) I just read the code of this app, it seems that it is just a sample program, and there is no strong dependency. @darkn3rd Because this has nothing to do with the ingress-nginx itself, I will remove the bug label. /remove-kind bug |
Yeah, I think it makes far more sense to throw out the existing build logic unless someone just needs to build it immediately, other than If you just need to build it now I'd try something like bazelisk + using the old version mentioned. It's apparent this sample is using extremely outdated tooling, I'm not sure if it makes sense to invest in at all vs pointing to some external sample apps ...? |
/remove help-wanted |
/remove-help |
/assign |
/area docs |
I need to test GRPC with ingress-nginx, as I will support mixed HTTP/1.1 and GRPC (HTTP/2) traffic through the ingress. The instructions document using this application to test the solution, but it requires Bazel build tools, which adds a layer of complexity and dependencies that are currently broken (as this area has not been refreshed). I understand that Bazel is the new shiny, but it would also be nice to have at least as an alternative, simple Makefile, and/or instructions to compile this go tools. Currently, going through a maze of dependencies as a first time Bazel user.
NGINX Ingress controller version: master branch, commit sha
4bdb5538a480552ef89472059cf357eaf17c362f
Kubernetes version (use
kubectl version
): 1.18Environment:
uname -a
):Bazel 4.1.0-homebrew
What happened:
Bazel build fails in current master.
What you expected to happen:
That this would build per instructions.
How to reproduce it:
/kind bug
The text was updated successfully, but these errors were encountered: