Skip to content
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

feat: ingress v1 #250

Merged
merged 25 commits into from Feb 23, 2021
Merged

feat: ingress v1 #250

merged 25 commits into from Feb 23, 2021

Conversation

tokers
Copy link
Contributor

@tokers tokers commented Feb 8, 2021

Please answer these questions before submitting a pull request

  • Why submit this pull request?

  • Bugfix

  • New feature provided

  • Improve performance

  • Backport patches

  • Related issues


Bugfix

  • Description

  • How to fix?


New feature or improvement

  • Describe the details and related test reports.

Backport patches

  • Why need to backport?

  • Source branch

  • Related commits and pull requests

  • Target branch

@tokers tokers marked this pull request as draft February 8, 2021 09:40
@codecov-io
Copy link

codecov-io commented Feb 8, 2021

Codecov Report

Merging #250 (c8a2908) into master (09787ed) will increase coverage by 3.23%.
The diff coverage is 88.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #250      +/-   ##
==========================================
+ Coverage   48.41%   51.65%   +3.23%     
==========================================
  Files          35       34       -1     
  Lines        2239     2358     +119     
==========================================
+ Hits         1084     1218     +134     
+ Misses       1007      982      -25     
- Partials      148      158      +10     
Impacted Files Coverage Δ
pkg/ingress/apisix/route.go 0.00% <ø> (ø)
pkg/kube/translation/apisix_upstream.go 88.08% <ø> (ø)
pkg/kube/translation/translator.go 53.03% <0.00%> (ø)
pkg/apisix/cache/memdb.go 66.37% <50.00%> (-0.91%) ⬇️
pkg/config/config.go 80.00% <50.00%> (-3.34%) ⬇️
pkg/kube/translation/ingress.go 91.93% <91.93%> (ø)
cmd/ingress/ingress.go 73.97% <100.00%> (+2.76%) ⬆️
pkg/apisix/resource.go 77.77% <100.00%> (+0.22%) ⬆️
pkg/apisix/route.go 40.52% <100.00%> (+0.78%) ⬆️
pkg/seven/state/solver.go 1.98% <0.00%> (-1.99%) ⬇️
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 09787ed...c8a2908. Read the comment docs.

@tokers tokers added this to In progress in apisix-ingress-controller Feb 9, 2021
@tokers tokers marked this pull request as ready for review February 10, 2021 11:13
@@ -105,6 +105,9 @@ func TestSignalHandler(t *testing.T) {
}

func TestNewIngressCommandEffectiveLog(t *testing.T) {
// Delay for 2 seconds to avoid conflicting with the
// TestSignalHandler case.
time.Sleep(2 * time.Second)
Copy link
Contributor

Choose a reason for hiding this comment

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

It is strange, if the port conflict, we need to retry.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not the conflicts of port, just like the conflicts about terminal (stdout).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed by another way.

go.mod Outdated Show resolved Hide resolved
go.mod Outdated Show resolved Hide resolved
@gxthrj
Copy link
Contributor

gxthrj commented Feb 18, 2021

There are some conflicting files.

@tokers
Copy link
Contributor Author

tokers commented Feb 18, 2021

@gxthrj Fixed.

@gxthrj gxthrj merged commit fe68c79 into apache:master Feb 23, 2021
@tao12345666333 tao12345666333 moved this from In progress to Done in apisix-ingress-controller Aug 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants