-
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
Refactor e2e tests and update go dependencies #2573
Conversation
@@ -202,6 +202,7 @@ dep-ensure: | |||
dep version || go get -u github.com/golang/dep/cmd/dep | |||
dep ensure -v | |||
dep prune -v | |||
find vendor -name '*_test.go' -delete |
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.
Any idea why test files weren't pruned despite go-tests = true
?
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.
No. I even tried to update dep and the result was the same.
The new makefile task is required to avoid issues when we build the nginx image or the ingress controller |
Codecov Report
@@ Coverage Diff @@
## master #2573 +/- ##
=======================================
Coverage 40.63% 40.63%
=======================================
Files 74 74
Lines 5094 5094
=======================================
Hits 2070 2070
Misses 2743 2743
Partials 281 281 Continue to review full report at Codecov.
|
@@ -109,8 +115,6 @@ ifeq ($(ARCH),amd64) | |||
$(SED_I) "/CROSS_BUILD_/d" $(DOCKERFILE) | |||
else | |||
# When cross-building, only the placeholder "CROSS_BUILD_" should be removed | |||
# Register /usr/bin/qemu-ARCH-static as the handler for ARM binaries in the kernel | |||
$(DOCKER) run --rm --privileged multiarch/qemu-user-static:register --reset |
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.
So we don't need to do this in CI? I don't see any reference to make register-qemu
in .travis.yml
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.
No, we don't use this in CI (it takes too long to run, that is why I build docker images using a VM)
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aledbf, antoineco The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
No description provided.