Skip to content

Commit

Permalink
Merge pull request #949 from Nordix/mquhuy/merge-the-two-e2e-pipelines
Browse files Browse the repository at this point in the history
🌱 Merge e2e_features_test to capm3-e2e-tests pipeline
  • Loading branch information
metal3-io-bot authored Jan 14, 2025
2 parents fd3a36e + 60b835c commit 2277ecb
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions jenkins/jobs/capm3-e2e-tests.pipeline
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ script {
echo "Test triggered from ${UPDATED_REPO}"
ci_git_url = "https://github.com/metal3-io/project-infra.git"

if ("${env.REPO_OWNER}" == 'metal3-io' && "${env.REPO_NAME}" == 'project-infra') {
if ( "${env.REPO_OWNER}" == 'metal3-io' && "${env.REPO_NAME}" == 'project-infra' ) {
ci_git_branch = (env.PULL_PULL_SHA) ?: 'main'
ci_git_base = (env.PULL_BASE_REF) ?: 'main'
// Fetch the base branch and the ci_git_branch when running on project-infra PR
Expand All @@ -24,14 +24,24 @@ script {
if ( "${GINKGO_FOCUS}" == 'integration' || "${GINKGO_FOCUS}" == 'basic' ) {
agent_label = "metal3ci-8c16gb-${IMAGE_OS}"
TIMEOUT=10800 // 3h
} else if ( "${GINKGO_FOCUS}" == 'pivoting' ) {
BUILD_TAG = "${env.BUILD_TAG}-pivoting-based"
TIMEOUT = 18000 // 5h for node reuse
agent_label = "metal3ci-8c32gb-${IMAGE_OS}"
} else if ( "${GINKGO_FOCUS}" == 'remediation' ) {
BUILD_TAG = "${env.BUILD_TAG}-remediation-based"
TIMEOUT = 18000 // 5h for remediation
agent_label = "metal3ci-8c24gb-${IMAGE_OS}"
} else if ( "${GINKGO_FOCUS}" == 'k8s-upgrade' ) {
agent_label = "metal3ci-8c24gb-${IMAGE_OS}"
TIMEOUT=14400 // 4h
TIMEOUT = 14400 // 4h
} else if ( "${env.EPHEMERAL_TEST}" == 'true' || "${GINKGO_FOCUS}" == "scalability" ) {
TIMEOUT=21600 // 6h
TIMEOUT = 21600 // 6h
agent_label = "metal3ci-8c32gb-${IMAGE_OS}"
} else {
agent_label = "metal3ci-8c32gb-${IMAGE_OS}"
BUILD_TAG = "${env.BUILD_TAG}-other-features"
GINKGO_SKIP = "pivoting remediation" // Allow non pivoting features
}

}
Expand Down

0 comments on commit 2277ecb

Please sign in to comment.