ingress-nginx icon indicating copy to clipboard operation
ingress-nginx copied to clipboard

replace httpbin

Open longwuyuan opened this issue 3 years ago • 10 comments

  • https://kubernetes.slack.com/archives/C021E147ZA4/p1659815361972969

image

  • The project uses the app https://httpbin.org/ to create a workload for testing
  • httpbin.org is not maintained since 4 years
  • When we tried to build this project's test related images on alpine-v3.16.1 for a CVE fix, the image crashed because some code within httpbin.org did not work with alpine-v3.16.1
  • This Issue is to replace httpin.org with https://httpbun.org
  • httpbun.org is actively maintained and writen in go
  • There seem to be many alternatives but if the api changes then test code will also need to change so more work and we don't ahve anough resources for it
  • Also httpbun was inspired by httpbin so hopefully we retain current simplicity instead of adding more complexity by choosing an alternative that is not having any similarities with httpbin

/good-first-issue

longwuyuan avatar Aug 08 '22 09:08 longwuyuan

@longwuyuan I would like to solve this issue:

* Why are we solving this issue?

I started to contribute to many projects in github, and would like to contribute where I can :)

* To address this issue, are there any code changes? If there are code changes, what needs to be done in the code and what places can the assignee treat as reference points?

replacing an older url with a new one, and then check if the api got changed

* Does this issue have zero to low barrier of entry?

yes

* How can the assignee reach out to you for help?

Click on my profile ;)

MalikMlitat avatar Aug 08 '22 09:08 MalikMlitat

  • @MalikMlitat Please assign to yourself and go ahead.
  • make kind-e2e-test must work after this change.

longwuyuan avatar Aug 08 '22 09:08 longwuyuan

  • What is the ETA for completing this @MalikMlitat

longwuyuan avatar Aug 08 '22 09:08 longwuyuan

  • @MalikMlitat Please assign to yourself and go ahead.

no self assignment is possible

* `make kind-e2e-test` must work after this change.

sue

  • What is the ETA for completing this @MalikMlitat

it depends, if its only the url, this can be done today, but if there are more changes excepted due to api change maybe until end of this week

MalikMlitat avatar Aug 08 '22 09:08 MalikMlitat

what happens if you just use /assign

longwuyuan avatar Aug 08 '22 09:08 longwuyuan

what happens if you just use /assign

image

MalikMlitat avatar Aug 08 '22 09:08 MalikMlitat

that image does not show you posting /assign and the resulting message from bot. I don't even see your post "/assign" . Try to post just this and noting else /assign

longwuyuan avatar Aug 08 '22 10:08 longwuyuan

/assign @MalikMlitat

MalikMlitat avatar Aug 08 '22 10:08 MalikMlitat

/triage accepted /priority backlog /area stabilization

strongjz avatar Aug 08 '22 13:08 strongjz

Hey, if this is an issue that is not being worked on, I'll be able to work on this.

Aryan-Deshpande avatar Aug 11 '22 16:08 Aryan-Deshpande

You can fork the project, make the changes and run make kind-e2e-test to see the results. Then update here. I plan to do the same.

longwuyuan avatar Aug 12 '22 12:08 longwuyuan

@MalikMlitat @Aryan-Deshpande , my preference is not to wait on this. I will also try the changes locally. If it works for me, then I will try to submit PR unless one of you beat me to it. Thanks

longwuyuan avatar Aug 12 '22 12:08 longwuyuan

/assign

longwuyuan avatar Aug 12 '22 12:08 longwuyuan

/assign

Aryan-Deshpande avatar Aug 12 '22 13:08 Aryan-Deshpande

You can fork the project, make the changes and run make kind-e2e-test to see the results. Then update here. I plan to do the same.

👍🏻

Aryan-Deshpande avatar Aug 12 '22 14:08 Aryan-Deshpande

@longwuyuan Created the change and ran "make kind-e2e-test" image Looks like the tests were passed. Can I create a PR?

Aryan-Deshpande avatar Aug 13 '22 13:08 Aryan-Deshpande

@MalikMlitat & @Aryan-Deshpande when will you complete this ?

longwuyuan avatar Aug 23 '22 01:08 longwuyuan

@MalikMlitat & @Aryan-Deshpande when will you complete this ?

We should be able to resolve this within the next 48 hours. I have successfully been able to build httpbun from scratch, working on multi-stage building in the dockerfile.

Aryan-Deshpande avatar Aug 23 '22 15:08 Aryan-Deshpande

We should be able to resolve this within the next 48 hours. I have successfully been able to build httpbun from scratch, working on multi-stage building in the dockerfile.

Thanks for update

longwuyuan avatar Aug 24 '22 06:08 longwuyuan

/remove good-first-issue Because multiple experienced folks are working on it and getting blocked for lack of clarifications

longwuyuan avatar Aug 26 '22 01:08 longwuyuan

/remove-good-first-issue

longwuyuan avatar Aug 26 '22 01:08 longwuyuan

/remove-help-wanted Because multiple experienced folks are working on it and getting blocked for lack of clarifications

longwuyuan avatar Aug 26 '22 01:08 longwuyuan

/remove-help

longwuyuan avatar Aug 26 '22 01:08 longwuyuan

/unassign @MalikMlitat

longwuyuan avatar Aug 26 '22 01:08 longwuyuan

/unassign @Aryan-Deshpande

longwuyuan avatar Sep 28 '22 15:09 longwuyuan

@Mahadsid, are you interested on this one ?

longwuyuan avatar Nov 30 '22 05:11 longwuyuan

assign to yourself and ask questions on kubernetes slack in the ingress-nginx-dev channel

longwuyuan avatar Nov 30 '22 05:11 longwuyuan

register yourself at slack.k8s.io

longwuyuan avatar Nov 30 '22 06:11 longwuyuan

hey @longwuyuan I am currently working on the PR, would like to work with @Mahadsid side by side if he would like to as well. I think we can get this issue closed if we'd work together. Although I need to conduct a few tests ( going to reform ingress-nginx with the new Docker image for httpbun ) and implement changes to this PR, and can hopefully get this PR merged soon.

Aryan-Deshpande avatar Dec 01 '22 12:12 Aryan-Deshpande

@Mahadsid lets meet on Zoom to sync up on this issue. Ping me on slack

longwuyuan avatar Dec 01 '22 15:12 longwuyuan