Fix review comments - luxas, ixdy

This commit is contained in:
Manjunath A Kumatagi 2017-06-30 18:43:55 +05:30
parent 60778cdaa4
commit 19ca6ca9f2
80 changed files with 53 additions and 87 deletions

View File

@ -23,17 +23,17 @@ filegroup(
"//test/images/fakegitserver:all-srcs",
"//test/images/goproxy:all-srcs",
"//test/images/logs-generator:all-srcs",
"//test/images/mount-tester:all-srcs",
"//test/images/mounttest:all-srcs",
"//test/images/n-way-http:all-srcs",
"//test/images/net:all-srcs",
"//test/images/netexec:all-srcs",
"//test/images/network-tester:all-srcs",
"//test/images/nettest:all-srcs",
"//test/images/no-snat-test:all-srcs",
"//test/images/no-snat-test-proxy:all-srcs",
"//test/images/port-forward-tester:all-srcs",
"//test/images/porter:all-srcs",
"//test/images/resource-consumer:all-srcs",
"//test/images/serve_hostname:all-srcs",
"//test/images/serve-hostname:all-srcs",
],
tags = ["automanaged"],
)

View File

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
REGISTRY ?= gcr.io/k8s-e2e-images
REGISTRY ?= gcr.io/kubernetes-e2e-test-images
GOARM=7
QEMUVERSION=v2.7.0
GOLANG_VERSION=1.8.3

View File

@ -1 +0,0 @@
clusterapi-tester

View File

@ -1 +1 @@
1.1
1.0

View File

@ -0,0 +1 @@
1.0

View File

@ -1 +0,0 @@
dnsutils

View File

@ -1 +1 @@
1.1
1.0

View File

@ -1 +0,0 @@
ep

View File

@ -1 +1 @@
0.2
1.0

View File

@ -1 +0,0 @@
fakegitserver

View File

@ -1 +1 @@
0.2
1.0

View File

@ -1 +0,0 @@
goproxy

View File

@ -1 +1 @@
0.2
1.0

View File

@ -1 +0,0 @@
hostexec

View File

@ -1 +1 @@
1.3
1.0

View File

@ -63,8 +63,6 @@ build() {
pushd ${temp_dir}
# image tag
TAG=$(<VERSION)
# image name
IMAGENAME=$(<NAME)
if [[ -f BASEIMAGE ]]; then
BASEIMAGE=$(getBaseImage ${arch})
@ -84,12 +82,8 @@ build() {
fi
fi
docker build --pull -t ${REGISTRY}/${IMAGENAME}-${arch}:${TAG} .
docker build --pull -t ${REGISTRY}/${IMAGE}-${arch}:${TAG} .
# Image without any arch postfix will point to amd64 by default.
if [[ "${arch}" == "amd64" ]]; then
docker tag ${REGISTRY}/${IMAGENAME}-${arch}:${TAG} ${REGISTRY}/${IMAGENAME}:${TAG}
fi
popd
done
}
@ -102,12 +96,8 @@ push() {
archs=${!QEMUARCHS[@]}
fi
for arch in ${archs}; do
IMAGENAME=$(<${IMAGE}/NAME)
TAG=$(<${IMAGE}/VERSION)
gcloud docker -- push ${REGISTRY}/${IMAGENAME}-${arch}:${TAG}
if [[ "${arch}" == "amd64" ]]; then
gcloud docker -- push ${REGISTRY}/${IMAGENAME}:${TAG}
fi
gcloud docker -- push ${REGISTRY}/${IMAGE}-${arch}:${TAG}
done
}

View File

@ -1 +0,0 @@
iperf

View File

@ -1 +1 @@
0.1
1.0

View File

@ -1 +0,0 @@
jessie-dnsutils

View File

@ -1 +1 @@
0.1
1.0

View File

@ -1 +0,0 @@
logs-generator

View File

@ -1 +1 @@
v0.1.2
1.0

View File

@ -1,5 +0,0 @@
amd64=gcr.io/google_containers/mounttest-amd64:0.9
arm=gcr.io/google_containers/mounttest-arm:0.9
arm64=gcr.io/google_containers/mounttest-arm64:0.9
ppc64le=gcr.io/google_containers/mounttest-ppc64le:0.9
s390x=gcr.io/google_containers/mounttest-s390x:0.9

View File

@ -1 +0,0 @@
mounttest-user

View File

@ -1 +0,0 @@
0.6

View File

@ -1 +0,0 @@
mounttest

View File

@ -1 +0,0 @@
0.9

View File

@ -0,0 +1,5 @@
amd64=gcr.io/kubernetes-e2e-test-images/mounttest-amd64:1.0
arm=gcr.io/kubernetes-e2e-test-images/mounttest-arm:1.0
arm64=gcr.io/kubernetes-e2e-test-images/mounttest-arm64:1.0
ppc64le=gcr.io/kubernetes-e2e-test-images/mounttest-ppc64le:1.0
s390x=gcr.io/kubernetes-e2e-test-images/mounttest-s390x:1.0

View File

@ -0,0 +1 @@
1.0

View File

@ -8,12 +8,6 @@ load(
"go_library",
)
go_binary(
name = "mount-tester",
library = ":go_default_library",
tags = ["automanaged"],
)
go_library(
name = "go_default_library",
srcs = ["mt.go"],
@ -32,3 +26,9 @@ filegroup(
srcs = [":package-srcs"],
tags = ["automanaged"],
)
go_binary(
name = "mounttest",
library = ":go_default_library",
tags = ["automanaged"],
)

View File

@ -0,0 +1 @@
1.0

View File

@ -1 +0,0 @@
n-way-http

View File

@ -1 +1 @@
1.1
1.0

View File

@ -1 +0,0 @@
e2e-net

View File

@ -1 +1 @@
1.1
1.0

View File

@ -1 +0,0 @@
netexec

View File

@ -1 +1 @@
1.8
1.0

View File

@ -8,12 +8,6 @@ load(
"go_library",
)
go_binary(
name = "network-tester",
library = ":go_default_library",
tags = ["automanaged"],
)
go_library(
name = "go_default_library",
srcs = ["nettest.go"],
@ -38,3 +32,9 @@ filegroup(
srcs = [":package-srcs"],
tags = ["automanaged"],
)
go_binary(
name = "nettest",
library = ":go_default_library",
tags = ["automanaged"],
)

View File

@ -0,0 +1 @@
1.0

View File

@ -1 +0,0 @@
nettest

View File

@ -1 +0,0 @@
2.0

View File

@ -1 +0,0 @@
no-snat-test-proxy

View File

@ -1 +1 @@
1.0.2
1.0

View File

@ -1 +0,0 @@
no-snat-test

View File

@ -1 +1 @@
1.0.2
1.0

View File

@ -1 +0,0 @@
cuda-vector-add

View File

@ -1 +0,0 @@
v0.2

View File

@ -1 +0,0 @@
portforwardtester

View File

@ -1 +1 @@
1.3
1.0

View File

@ -1 +0,0 @@
porter

View File

@ -1 +1 @@
0.1
1.0

View File

@ -1 +0,0 @@
redis

View File

@ -1 +1 @@
0.1
1.0

View File

@ -1 +0,0 @@
resource_consumer

View File

@ -1 +1 @@
0.1
1.0

View File

@ -1 +0,0 @@
resource_consumer/controller

View File

@ -1 +1 @@
0.1
1.0

View File

@ -8,12 +8,6 @@ load(
"go_library",
)
go_binary(
name = "serve_hostname",
library = ":go_default_library",
tags = ["automanaged"],
)
go_library(
name = "go_default_library",
srcs = ["serve_hostname.go"],
@ -32,3 +26,9 @@ filegroup(
srcs = [":package-srcs"],
tags = ["automanaged"],
)
go_binary(
name = "serve-hostname",
library = ":go_default_library",
tags = ["automanaged"],
)

View File

@ -0,0 +1 @@
1.0

View File

@ -1 +0,0 @@
serve_hostname

View File

@ -1 +0,0 @@
v1.7