Merge pull request #24046 from ihmccreery/fix-upgrade-splits

Fix upgrade tests
pull/6/head
Jeff Lowdermilk 2016-04-08 12:43:51 -07:00
commit c0567e3b5f
2 changed files with 5 additions and 1 deletions

View File

@ -290,7 +290,7 @@ if [[ -n "${JENKINS_PUBLISHED_TEST_VERSION:-}" ]]; then
fetch_published_version_tars "${JENKINS_PUBLISHED_TEST_VERSION}" fetch_published_version_tars "${JENKINS_PUBLISHED_TEST_VERSION}"
cd kubernetes cd kubernetes
# Upgrade the cluster before running other tests # Upgrade the cluster before running other tests
if [[ "${E2E_UPGRADE_TEST,,}" == "true" ]]; then if [[ "${E2E_UPGRADE_TEST:-}" == "true" ]]; then
# Add a report prefix for the e2e tests so that the tests don't get overwritten when we run # Add a report prefix for the e2e tests so that the tests don't get overwritten when we run
# the rest of the e2es. # the rest of the e2es.
E2E_REPORT_PREFIX='upgrade' e2e_test "${GINKGO_UPGRADE_TEST_ARGS:-}" E2E_REPORT_PREFIX='upgrade' e2e_test "${GINKGO_UPGRADE_TEST_ARGS:-}"

View File

@ -870,6 +870,7 @@
export JENKINS_PUBLISHED_TEST_VERSION="ci/latest-1.2" export JENKINS_PUBLISHED_TEST_VERSION="ci/latest-1.2"
export GINKGO_TEST_ARGS="--ginkgo.focus=Kubectl" export GINKGO_TEST_ARGS="--ginkgo.focus=Kubectl"
export GINKGO_PARALLEL="y" export GINKGO_PARALLEL="y"
export E2E_OPT="--check_version_skew=false"
- 'gke-upgrade-master-1.1-1.2': - 'gke-upgrade-master-1.1-1.2':
description: 'Deploys a cluster at v1.1, upgrades its master to v1.2, and runs v1.1 tests against it.' description: 'Deploys a cluster at v1.1, upgrades its master to v1.2, and runs v1.1 tests against it.'
timeout: 30 timeout: 30
@ -880,6 +881,7 @@
export E2E_UPGRADE_TEST="true" export E2E_UPGRADE_TEST="true"
export GINKGO_UPGRADE_TEST_ARGS="--ginkgo.focus=\[Feature:MasterUpgrade\] --upgrade-target=ci/latest-1.2" export GINKGO_UPGRADE_TEST_ARGS="--ginkgo.focus=\[Feature:MasterUpgrade\] --upgrade-target=ci/latest-1.2"
export JENKINS_USE_OLD_TESTS="true" export JENKINS_USE_OLD_TESTS="true"
export E2E_OPT="--check_version_skew=false"
- 'gke-upgrade-cluster-1.1-1.2': - 'gke-upgrade-cluster-1.1-1.2':
description: 'Deploys a cluster at v1.1, upgrades the cluster to v1.2, and runs v1.1 tests against it.' description: 'Deploys a cluster at v1.1, upgrades the cluster to v1.2, and runs v1.1 tests against it.'
timeout: 30 timeout: 30
@ -890,6 +892,7 @@
export E2E_UPGRADE_TEST="true" export E2E_UPGRADE_TEST="true"
export GINKGO_UPGRADE_TEST_ARGS="--ginkgo.focus=\[Feature:ClusterUpgrade\] --upgrade-target=ci/latest-1.2" export GINKGO_UPGRADE_TEST_ARGS="--ginkgo.focus=\[Feature:ClusterUpgrade\] --upgrade-target=ci/latest-1.2"
export JENKINS_USE_OLD_TESTS="true" export JENKINS_USE_OLD_TESTS="true"
export E2E_OPT="--check_version_skew=false"
- 'gke-upgrade-cluster-new-1.1-1.2': - 'gke-upgrade-cluster-new-1.1-1.2':
description: 'Deploys a cluster at v1.1, upgrades the cluster to v1.2, and runs v1.2 tests against it.' description: 'Deploys a cluster at v1.1, upgrades the cluster to v1.2, and runs v1.2 tests against it.'
timeout: 30 timeout: 30
@ -899,5 +902,6 @@
export JENKINS_PUBLISHED_TEST_VERSION="ci/latest-1.2" export JENKINS_PUBLISHED_TEST_VERSION="ci/latest-1.2"
export E2E_UPGRADE_TEST="true" export E2E_UPGRADE_TEST="true"
export GINKGO_UPGRADE_TEST_ARGS="--ginkgo.focus=\[Feature:ClusterUpgrade\] --upgrade-target=ci/latest-1.2" export GINKGO_UPGRADE_TEST_ARGS="--ginkgo.focus=\[Feature:ClusterUpgrade\] --upgrade-target=ci/latest-1.2"
export E2E_OPT="--check_version_skew=false"
jobs: jobs:
- 'kubernetes-e2e-{suffix}' - 'kubernetes-e2e-{suffix}'