mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 22:17:14 +00:00
Merge pull request #24432 from ihmccreery/upg-num-node-fix
Automatic merge from submit-queue Export NUM_MINIONS and MINION_SIZE for experimental upgrade tests This has precedent in `e2e.sh`: https://github.com/kubernetes/kubernetes/blob/release-1.1/hack/jenkins/e2e.sh#L811
This commit is contained in:
commit
5abbc24a86
@ -927,6 +927,13 @@
|
|||||||
export JENKINS_PUBLISHED_TEST_VERSION="ci/latest-1.2"
|
export JENKINS_PUBLISHED_TEST_VERSION="ci/latest-1.2"
|
||||||
export GINKGO_PARALLEL="y"
|
export GINKGO_PARALLEL="y"
|
||||||
export E2E_OPT="--check_version_skew=false"
|
export E2E_OPT="--check_version_skew=false"
|
||||||
|
# In v1.1, NUM_MINIONS defaults to 2, so we have to override to 3 here. NUM_MINIONS
|
||||||
|
# was changed to NUM_NODES in v1.2, but we don't need to override for v1.2+.
|
||||||
|
export NUM_MINIONS=3
|
||||||
|
# Similarly, in v1.1, MINION_SIZE defaults to 'n1-standard-1', so we need to
|
||||||
|
# override it here (specifically for HPA tests). MINION_SIZE was changed to
|
||||||
|
# NODE_SIZE in v1.2, but we don't need to override for v1.2+.
|
||||||
|
export MINION_SIZE='n1-standard-2'
|
||||||
- 'gke-1.1-1.2-upgrade-master':
|
- 'gke-1.1-1.2-upgrade-master':
|
||||||
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: 300
|
timeout: 300
|
||||||
@ -940,6 +947,13 @@
|
|||||||
export JENKINS_USE_OLD_TESTS="true"
|
export JENKINS_USE_OLD_TESTS="true"
|
||||||
export E2E_OPT="--check_version_skew=false"
|
export E2E_OPT="--check_version_skew=false"
|
||||||
export GINKGO_TEST_ARGS="--ginkgo.skip={default-skip-list-1-1}"
|
export GINKGO_TEST_ARGS="--ginkgo.skip={default-skip-list-1-1}"
|
||||||
|
# In v1.1, NUM_MINIONS defaults to 2, so we have to override to 3 here. NUM_MINIONS
|
||||||
|
# was changed to NUM_NODES in v1.2, but we don't need to override for v1.2+.
|
||||||
|
export NUM_MINIONS=3
|
||||||
|
# Similarly, in v1.1, MINION_SIZE defaults to 'n1-standard-1', so we need to
|
||||||
|
# override it here (specifically for HPA tests). MINION_SIZE was changed to
|
||||||
|
# NODE_SIZE in v1.2, but we don't need to override for v1.2+.
|
||||||
|
export MINION_SIZE='n1-standard-2'
|
||||||
- 'gke-1.1-1.2-upgrade-cluster':
|
- 'gke-1.1-1.2-upgrade-cluster':
|
||||||
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: 300
|
timeout: 300
|
||||||
@ -953,6 +967,13 @@
|
|||||||
export JENKINS_USE_OLD_TESTS="true"
|
export JENKINS_USE_OLD_TESTS="true"
|
||||||
export E2E_OPT="--check_version_skew=false"
|
export E2E_OPT="--check_version_skew=false"
|
||||||
export GINKGO_TEST_ARGS="--ginkgo.skip={default-skip-list-1-1}"
|
export GINKGO_TEST_ARGS="--ginkgo.skip={default-skip-list-1-1}"
|
||||||
|
# In v1.1, NUM_MINIONS defaults to 2, so we have to override to 3 here. NUM_MINIONS
|
||||||
|
# was changed to NUM_NODES in v1.2, but we don't need to override for v1.2+.
|
||||||
|
export NUM_MINIONS=3
|
||||||
|
# Similarly, in v1.1, MINION_SIZE defaults to 'n1-standard-1', so we need to
|
||||||
|
# override it here (specifically for HPA tests). MINION_SIZE was changed to
|
||||||
|
# NODE_SIZE in v1.2, but we don't need to override for v1.2+.
|
||||||
|
export MINION_SIZE='n1-standard-2'
|
||||||
- 'gke-1.1-1.2-upgrade-cluster-new':
|
- 'gke-1.1-1.2-upgrade-cluster-new':
|
||||||
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: 300
|
timeout: 300
|
||||||
@ -964,5 +985,12 @@
|
|||||||
export JENKINS_PUBLISHED_TEST_VERSION="ci/latest-1.2"
|
export JENKINS_PUBLISHED_TEST_VERSION="ci/latest-1.2"
|
||||||
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"
|
export E2E_OPT="--check_version_skew=false"
|
||||||
|
# In v1.1, NUM_MINIONS defaults to 2, so we have to override to 3 here. NUM_MINIONS
|
||||||
|
# was changed to NUM_NODES in v1.2, but we don't need to override for v1.2+.
|
||||||
|
export NUM_MINIONS=3
|
||||||
|
# Similarly, in v1.1, MINION_SIZE defaults to 'n1-standard-1', so we need to
|
||||||
|
# override it here (specifically for HPA tests). MINION_SIZE was changed to
|
||||||
|
# NODE_SIZE in v1.2, but we don't need to override for v1.2+.
|
||||||
|
export MINION_SIZE='n1-standard-2'
|
||||||
jobs:
|
jobs:
|
||||||
- 'kubernetes-e2e-{suffix}'
|
- 'kubernetes-e2e-{suffix}'
|
||||||
|
Loading…
Reference in New Issue
Block a user