<commit_before>#!/bin/bash
#
# This scripts starts the OpenShift server with a default configuration.
# The OpenShift Docker registry and router are installed.
# It will run all tests that are imported into test/extended.

set -o errexit
set -o nounset
set -o pipefail

# must run before we mutate the GOPATH in setup_env
go get -d k8s.io/kubernetes/pkg/util
export KUBE_REPO_ROOT="${GOPATH}/src/k8s.io/kubernetes"

OS_ROOT=$(dirname "${BASH_SOURCE}")/../..
source "${OS_ROOT}/hack/util.sh"
source "${OS_ROOT}/hack/common.sh"
os::log::install_errexit
cd "${OS_ROOT}"

# ensure_ginkgo_or_die

os::build::setup_env
#if [[ -z ${TEST_ONLY+x} ]]; then
#  go test -c ./test/extended -o ${OS_OUTPUT_BINPATH}/extended.test
#fi

export TMPDIR="${TMPDIR:-"/tmp"}"
export BASETMPDIR="${TMPDIR}/openshift-extended-tests/core"
export EXTENDED_TEST_PATH="${OS_ROOT}/test/extended"

# TODO: check out the version of Kube we need so that we have access to sample content - in the future,
# we want to get this content as well from cherrypicks (e2e test that is cherry-picked depends on content).
k8s_version=$(go run ${OS_ROOT}/hack/version.go ${OS_ROOT}/Godeps/Godeps.json k8s.io/kubernetes/pkg/util)
pushd "${KUBE_REPO_ROOT}" &>/dev/null
git checkout "${k8s_version}"
popd &>/dev/null

function join { local IFS="$1"; shift; echo "$*"; }

# The following skip rules excludes upstream e2e tests that fail.
# TODO: add all users to privileged
SKIP_TESTS=(
  "\[Skipped\]"           # Explicitly skipped upstream

  # Depends on external components, may not need yet<commit_msg>update extended test to point to correct version tool<commit_after>#!/bin/bash
#
# This scripts starts the OpenShift server with a default configuration.
# The OpenShift Docker registry and router are installed.
# It will run all tests that are imported into test/extended.

set -o errexit
set -o nounset
set -o pipefail

# must run before we mutate the GOPATH in setup_env
go get -d k8s.io/kubernetes/pkg/util
export KUBE_REPO_ROOT="${GOPATH}/src/k8s.io/kubernetes"

OS_ROOT=$(dirname "${BASH_SOURCE}")/../..
source "${OS_ROOT}/hack/util.sh"
source "${OS_ROOT}/hack/common.sh"
os::log::install_errexit
cd "${OS_ROOT}"

# ensure_ginkgo_or_die

os::build::setup_env
#if [[ -z ${TEST_ONLY+x} ]]; then
#  go test -c ./test/extended -o ${OS_OUTPUT_BINPATH}/extended.test
#fi

export TMPDIR="${TMPDIR:-"/tmp"}"
export BASETMPDIR="${TMPDIR}/openshift-extended-tests/core"
export EXTENDED_TEST_PATH="${OS_ROOT}/test/extended"

# TODO: check out the version of Kube we need so that we have access to sample content - in the future,
# we want to get this content as well from cherrypicks (e2e test that is cherry-picked depends on content).
k8s_version=$(go run ${OS_ROOT}/tools/godepversion/godepversion.go ${OS_ROOT}/Godeps/Godeps.json k8s.io/kubernetes/pkg/util)
pushd "${KUBE_REPO_ROOT}" &>/dev/null
git checkout "${k8s_version}"
popd &>/dev/null

function join { local IFS="$1"; shift; echo "$*"; }

# The following skip rules excludes upstream e2e tests that fail.
# TODO: add all users to privileged
SKIP_TESTS=(
  "\[Skipped\]"           # Explicitly skipped upstream

  # Depends on external components, may not need yet
{'fraction_non_alphanumeric': 0.12983338572775857, 'fraction_numerical': 0.005029864822382898, 'mean_word_length': 4.661921708185053, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1838618', 'n_tokens_mistral': 1112, 'n_tokens_neox': 1067, 'n_words': 341}