Skip to content

Commit

Permalink
Merge pull request rancher#44181 from igomez06/v2.7-update-on-tag-matrix
Browse files Browse the repository at this point in the history
[v2.7] Configuration updates for the onTag Jobs
  • Loading branch information
anupama2501 authored Jan 23, 2024
2 parents 8379ceb + 11ed764 commit c5aded8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
4 changes: 2 additions & 2 deletions tests/v2/validation/Jenkinsfile.recurring
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ node {
text(name: 'CONFIG', value: configYaml),
string(name: 'REPO', value: "${rancherRepo}"),
string(name: 'BRANCH', value: "${branch}"),
string(name: 'TEST_RUN_ID', value: "${testRunID}"),
string(name: 'QASE_TEST_RUN_ID', value: "${testRunID}"),
string(name: 'TEST_PACKAGE', value: "${env.TEST_PACKAGE}"),
string(name: 'GOTEST_TESTCASE', value: "${runFlag} -p 1"),
string(name: 'TAGS', value: tags),
Expand All @@ -271,7 +271,7 @@ node {
text(name: 'CONFIG', value: configYaml),
string(name: 'REPO', value: "${rancherRepo}"),
string(name: 'BRANCH', value: "${branch}"),
string(name: 'TEST_RUN', value: "${env.TEST_RUN}"),
string(name: 'QASE_TEST_RUN_ID', value: "${testRunID}"),
string(name: 'TEST_PACKAGE', value: "${env.TEST_PACKAGE}"),
string(name: 'TAGS', value: "${env.TAGS}"),
string(name: 'GOTEST_TESTCASE', value: "${env.GOTEST_TESTCASE} -p 1"),
Expand Down
2 changes: 1 addition & 1 deletion tests/v2/validation/pipeline/Jenkinsfile_release_upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ node {
def containerName = "${job_name}${env.BUILD_NUMBER}_$it-provisioning"
try {
sh "docker run --name ${containerName} -t -e CATTLE_TEST_CONFIG=\"${absoluteConfigPath}\" " +
"${imageName} sh -c \"/root/go/bin/gotestsum --format standard-verbose --packages=\"${testsDir}${testPackage}\" --junitfile ${testResultsOut} -- ${testCase} -timeout=\"60m\" -v\""
"${imageName} sh -c \"/root/go/bin/gotestsum --format standard-verbose --packages=\"${testsDir}${testPackage}\" --junitfile ${testResultsOut} -- -tags=validation ${testCase} -timeout=\"60m\" -v\""

dir("./${patchedConfigsDir}") {
sh "docker cp ${containerName}:${rootPath}${configsDir}/$it ."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,14 +230,12 @@ if ( true == via_webhook() && (!(rancher_version ==~ rancher_version_regex)) ) {
jobs["go-provisioning"] = { build job: 'rancher_ontag_go_certification', parameters: goParams }
// windows note: https://github.com/rancher/dashboard/issues/6549
// jobs["windows"] = { build job: 'rancher-v3_ontag_windows_certification', parameters: params}
if (rancher_version.startsWith("v2.6") || rancher_version.startsWith("v2.7")){
// Rancher server 2 is used to test GKE, EKS, AKS and Imported clusters.
jobs["eks"] = { build job: 'rancher-v3_ontag_eks_certification', parameters: params2 }
jobs["aks"] = { build job: 'rancher-v3_ontag_aks_certification', parameters: params2 }
// gke note: https://github.com/rancher/qa-tasks/issues/429
// jobs["gke"] = { build job: 'rancher-v3_ontag_gke_certification', parameters: params2 }
// Rancher server 2 is used to test GKE, EKS, AKS and Imported clusters.
jobs["eks"] = { build job: 'rancher-v3_ontag_eks_certification', parameters: params2 }
jobs["aks"] = { build job: 'rancher-v3_ontag_aks_certification', parameters: params2 }
// gke note: https://github.com/rancher/qa-tasks/issues/429
// jobs["gke"] = { build job: 'rancher-v3_ontag_gke_certification', parameters: params2 }

}
jobs["import"] = { build job: 'rancher-v3_ontag_import_certification', parameters: params2}
jobs["importk3s"] = { build job: 'rancher-v3_ontag_import_k3s_certification', parameters: params2}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ def node_template_az():
"dockerPort": "2376",
"environment": "AzurePublicCloud",
"faultDomainCount": "3",
"image": "canonical:UbuntuServer:18.04-LTS:latest",
"image": "Canonical:0001-com-ubuntu-server-jammy:22_04-lts:latest",
"location": "westus",
"managedDisks": False,
"noPublicIp": False,
Expand Down

0 comments on commit c5aded8

Please sign in to comment.