Skip to content

Commit

Permalink
Stop using docker for CNI tests (istio#29055)
Browse files Browse the repository at this point in the history
* Stop using docker

* fix lint
  • Loading branch information
howardjohn authored Nov 19, 2020
1 parent d1a6633 commit 7300fb7
Show file tree
Hide file tree
Showing 27 changed files with 85 additions and 363 deletions.
3 changes: 0 additions & 3 deletions Makefile.core.mk
Original file line number Diff line number Diff line change
Expand Up @@ -451,9 +451,6 @@ benchtest: $(JUNIT_REPORT) ## Runs all benchmarks
report-benchtest:
prow/benchtest.sh report

cni.install-test: docker.install-cni
HUB=${HUB} TAG=${TAG} go test ${GOBUILDFLAGS} -count=1 ${T} -tags=integ ./cni/test/...

#-----------------------------------------------------------------------------
# Target: clean
#-----------------------------------------------------------------------------
Expand Down
24 changes: 0 additions & 24 deletions cni/deployments/kubernetes/install/test/README.md

This file was deleted.

2 changes: 1 addition & 1 deletion cni/pkg/install-cni/pkg/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const (
)

// Internal constants
const (
var (
CNIBinDir = "/opt/cni/bin"
HostCNIBinDir = "/host/opt/cni/bin"
SecondaryBinDir = "/host/secondary-bin-dir"
Expand Down
3 changes: 1 addition & 2 deletions cni/pkg/install-cni/pkg/install/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import (
"sync/atomic"

"istio.io/istio/cni/pkg/install-cni/pkg/constants"
"istio.io/pkg/log"
)

// StartServer initializes and starts a web server that exposes liveness and readiness endpoints at port 8000.
Expand All @@ -28,7 +27,7 @@ func StartServer() *atomic.Value {
isReady := initRouter(router)

go func() {
log.Fatala(http.ListenAndServe(":"+constants.Port, router))
_ = http.ListenAndServe(":"+constants.Port, router)
}()

return isReady
Expand Down
110 changes: 0 additions & 110 deletions cni/test/README.md

This file was deleted.

66 changes: 0 additions & 66 deletions cni/test/e2e.sh

This file was deleted.

1 change: 0 additions & 1 deletion cni/test/images/istio_cni_circleci_e2e_test.svg

This file was deleted.

Loading

0 comments on commit 7300fb7

Please sign in to comment.