forked from kubernetes/perf-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Incorporating ClusterLoader,Network and DNS Tests to run these from K…
…ubetest Changed image Changed image Changed Image Convert registry to k8s.gcr.io Convert registry to k8s.gcr.io Convert registry to k8s.gcr.io Added comment Update run-e2e.sh Update run-e2e.sh
- Loading branch information
1 parent
9a478aa
commit 8812fa5
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/bash | ||
# Copyright 2017 The Kubernetes Authors. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# run the script to run e2e tests for cluster loader, netperf and dns. | ||
# This enables the same to be invoked from kubetest from test-infra. | ||
|
||
set -o nounset | ||
set -o pipefail | ||
|
||
PERFTEST_ROOT=$(dirname "${BASH_SOURCE}") | ||
#CLUSTERLOADER | ||
cd ${PERFTEST_ROOT}/clusterloader/e2e/ && go test -c -o e2e.test | ||
./e2e.test --ginkgo.v=true --ginkgo.focus="Cluster\sLoader" --kubeconfig="${HOME}/.kube/config" --viper-config=../config/test | ||
#NETPERF | ||
cd ${PERFTEST_ROOT}/network/benchmarks/netperf/ && go run ./launch.go --kubeConfig="${HOME}/.kube/config" --hostnetworking --iterations 1 | ||
#DNS | ||
cd ${PERFTEST_ROOT}/dns | ||
./run --params params/default.yaml --out-dir out --use-cluster-dns |