Skip to content
Snippets Groups Projects
Commit 792e5c02 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6368: fix: activate other E2E targets

parent 0e861159
No related branches found
No related tags found
No related merge requests found
......@@ -222,7 +222,7 @@ pipeline {
FAILED_STAGE = env.STAGE_NAME
waitForAdminRollout(env.ADMIN_BEZEICHNER)
// waitForOzgCloudStackRollout([env.EA_BEZEICHNER, env.MAIN_BEZEICHNER])
waitForOzgCloudStackRollout([env.EA_BEZEICHNER, env.MAIN_BEZEICHNER])
}
}
post {
......@@ -254,67 +254,67 @@ pipeline {
failFast false
parallel {
// stage('E2E-Alfa-EA') {
// when {
// expression { !SKIP_RUN }
// }
// steps {
// catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
// script {
// def bezeichner = env.EA_BEZEICHNER
//
// Integer mongoDbPort = forwardMongoDbPort(generateNamespace(bezeichner))
//
// runTests(bezeichner, 'alfa-e2e', 'einheitlicher-ansprechpartner', env.KEYCLOAK_CLIENT_ALFA_APP, mongoDbPort, env.STAGE_NAME)
//
// stopForwardMongoDbPort(generateNamespace(bezeichner))
// }
// }
// }
// post {
// failure {
// script {
// FAILED_PARALLEL_STAGE += "${env.STAGE_NAME} "
// }
// }
// always {
// script {
// publishAlfaE2ETestResult("einheitlicher-ansprechpartner", "Alfa E2E-Tests EA")
// }
// }
// }
// }
//
// stage('E2E-Alfa-Main') {
// when {
// expression { !SKIP_RUN }
// }
// steps {
// catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
// script {
// def bezeichner = env.MAIN_BEZEICHNER
//
// Integer mongoDbPort = forwardMongoDbPort(generateNamespace(bezeichner))
//
// runTests(bezeichner, 'alfa-e2e', 'main-tests', env.KEYCLOAK_CLIENT_ALFA_APP, mongoDbPort, env.STAGE_NAME)
//
// stopForwardMongoDbPort(generateNamespace(bezeichner))
// }
// }
// }
// post {
// failure {
// script {
// FAILED_PARALLEL_STAGE += "${env.STAGE_NAME} "
// }
// }
// always {
// script {
// publishAlfaE2ETestResult("main-tests", "Alfa E2E-Tests main")
// }
// }
// }
// }
stage('E2E-Alfa-EA') {
when {
expression { !SKIP_RUN }
}
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
script {
def bezeichner = env.EA_BEZEICHNER
Integer mongoDbPort = forwardMongoDbPort(generateNamespace(bezeichner))
runTests(bezeichner, 'alfa-e2e', 'einheitlicher-ansprechpartner', env.KEYCLOAK_CLIENT_ALFA_APP, mongoDbPort, env.STAGE_NAME)
stopForwardMongoDbPort(generateNamespace(bezeichner))
}
}
}
post {
failure {
script {
FAILED_PARALLEL_STAGE += "${env.STAGE_NAME} "
}
}
always {
script {
publishAlfaE2ETestResult("einheitlicher-ansprechpartner", "Alfa E2E-Tests EA")
}
}
}
}
stage('E2E-Alfa-Main') {
when {
expression { !SKIP_RUN }
}
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
script {
def bezeichner = env.MAIN_BEZEICHNER
Integer mongoDbPort = forwardMongoDbPort(generateNamespace(bezeichner))
runTests(bezeichner, 'alfa-e2e', 'main-tests', env.KEYCLOAK_CLIENT_ALFA_APP, mongoDbPort, env.STAGE_NAME)
stopForwardMongoDbPort(generateNamespace(bezeichner))
}
}
}
post {
failure {
script {
FAILED_PARALLEL_STAGE += "${env.STAGE_NAME} "
}
}
always {
script {
publishAlfaE2ETestResult("main-tests", "Alfa E2E-Tests main")
}
}
}
}
stage('E2E-Admin-Main') {
when {
expression { !SKIP_RUN }
......@@ -529,12 +529,11 @@ Void checkoutGitopsE2eBranch() {
Void generateNamespaces() {
def y1 = generateAdminNamespaceYaml()
// def y2 = generateEaNamespaceYaml()
// def y3 = generateMainNamespaceYaml()
def y2 = generateEaNamespaceYaml()
def y3 = generateMainNamespaceYaml()
dir("gitops") {
// sh "git add ${y1} ${y2} ${y3}"
sh "git add ${y1}"
sh "git add ${y1} ${y2} ${y3}"
sh "git commit -m 'add e2e namespaces for testrun'"
}
......@@ -633,7 +632,7 @@ Void waitForOzgCloudStackRollout(ozgCloudBezeichner) {
}
Void waitForAdminRollout(String bezeichner) {
// waitForOzgCloudStackRollout([bezeichner])
waitForOzgCloudStackRollout([bezeichner])
waitForHealthyApplication(bezeichner, 'administration')
waitForHealthyApplication(bezeichner, 'admin-client')
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment