mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-01-27 18:19:28 +00:00
37 lines
1.2 KiB
Bash
Executable File
37 lines
1.2 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Copyright 2015 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.
|
|
|
|
set -o errexit
|
|
set -o nounset
|
|
set -o pipefail
|
|
set -o xtrace
|
|
|
|
# Runs test-cmd and test-integration, intended to be run in prow.k8s.io
|
|
|
|
# TODO: make test-integration should handle this automatically
|
|
source ./hack/install-etcd.sh
|
|
|
|
# TODO: drop KUBE_INTEGRATION_TEST_MAX_CONCURRENCY later when we've figured out
|
|
# stabilizing the tests / CI Setting this to a hardcoded value is fragile.
|
|
export KUBE_INTEGRATION_TEST_MAX_CONCURRENCY=4
|
|
|
|
# Save the verbose stdout as well.
|
|
export KUBE_KEEP_VERBOSE_TEST_OUTPUT=y
|
|
export LOG_LEVEL=4
|
|
set -x;
|
|
make test-cmd
|
|
make test-integration
|