Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
test: enable scale/upgrade for base E2E cluster config (#2670)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackfrancis authored Feb 3, 2020
1 parent 2858d8e commit e93b58c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ stage ("discover tests") {
echo("${jobName} is limted to '${jobCfg.options?.allowedOrchestratorVersions}'; running for ${version}")
}

if(params.UPGRADE_CLUSTER) {
if(params.UPGRADE_CLUSTER || jobCfg.env["UPGRADE_CLUSTER"]) {
// we are upgrading, so we need to determine the next logical version to upgrade
tasks = tasks + tasksForUpgradeJob(jobCfg, aksEngineAllVersions, jobName, version)
} else {
Expand Down
5 changes: 4 additions & 1 deletion test/e2e/test_cluster_configs/base.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"env": {},
"env": {
"SCALE_CLUSTER": true,
"UPGRADE_CLUSTER": true
},
"apiModel": {
"apiVersion": "vlabs",
"properties": {
Expand Down

0 comments on commit e93b58c

Please sign in to comment.