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 { ...@@ -222,7 +222,7 @@ pipeline {
FAILED_STAGE = env.STAGE_NAME FAILED_STAGE = env.STAGE_NAME
waitForAdminRollout(env.ADMIN_BEZEICHNER) waitForAdminRollout(env.ADMIN_BEZEICHNER)
// waitForOzgCloudStackRollout([env.EA_BEZEICHNER, env.MAIN_BEZEICHNER]) waitForOzgCloudStackRollout([env.EA_BEZEICHNER, env.MAIN_BEZEICHNER])
} }
} }
post { post {
...@@ -254,67 +254,67 @@ pipeline { ...@@ -254,67 +254,67 @@ pipeline {
failFast false failFast false
parallel { parallel {
// stage('E2E-Alfa-EA') { stage('E2E-Alfa-EA') {
// when { when {
// expression { !SKIP_RUN } expression { !SKIP_RUN }
// } }
// steps { steps {
// catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') { catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
// script { script {
// def bezeichner = env.EA_BEZEICHNER def bezeichner = env.EA_BEZEICHNER
//
// Integer mongoDbPort = forwardMongoDbPort(generateNamespace(bezeichner)) Integer mongoDbPort = forwardMongoDbPort(generateNamespace(bezeichner))
//
// runTests(bezeichner, 'alfa-e2e', 'einheitlicher-ansprechpartner', env.KEYCLOAK_CLIENT_ALFA_APP, mongoDbPort, env.STAGE_NAME) runTests(bezeichner, 'alfa-e2e', 'einheitlicher-ansprechpartner', env.KEYCLOAK_CLIENT_ALFA_APP, mongoDbPort, env.STAGE_NAME)
//
// stopForwardMongoDbPort(generateNamespace(bezeichner)) stopForwardMongoDbPort(generateNamespace(bezeichner))
// } }
// } }
// } }
// post { post {
// failure { failure {
// script { script {
// FAILED_PARALLEL_STAGE += "${env.STAGE_NAME} " FAILED_PARALLEL_STAGE += "${env.STAGE_NAME} "
// } }
// } }
// always { always {
// script { script {
// publishAlfaE2ETestResult("einheitlicher-ansprechpartner", "Alfa E2E-Tests EA") publishAlfaE2ETestResult("einheitlicher-ansprechpartner", "Alfa E2E-Tests EA")
// } }
// } }
// } }
// } }
//
// stage('E2E-Alfa-Main') { stage('E2E-Alfa-Main') {
// when { when {
// expression { !SKIP_RUN } expression { !SKIP_RUN }
// } }
// steps { steps {
// catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') { catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
// script { script {
// def bezeichner = env.MAIN_BEZEICHNER def bezeichner = env.MAIN_BEZEICHNER
//
// Integer mongoDbPort = forwardMongoDbPort(generateNamespace(bezeichner)) Integer mongoDbPort = forwardMongoDbPort(generateNamespace(bezeichner))
//
// runTests(bezeichner, 'alfa-e2e', 'main-tests', env.KEYCLOAK_CLIENT_ALFA_APP, mongoDbPort, env.STAGE_NAME) runTests(bezeichner, 'alfa-e2e', 'main-tests', env.KEYCLOAK_CLIENT_ALFA_APP, mongoDbPort, env.STAGE_NAME)
//
// stopForwardMongoDbPort(generateNamespace(bezeichner)) stopForwardMongoDbPort(generateNamespace(bezeichner))
// } }
// } }
// } }
// post { post {
// failure { failure {
// script { script {
// FAILED_PARALLEL_STAGE += "${env.STAGE_NAME} " FAILED_PARALLEL_STAGE += "${env.STAGE_NAME} "
// } }
// } }
// always { always {
// script { script {
// publishAlfaE2ETestResult("main-tests", "Alfa E2E-Tests main") publishAlfaE2ETestResult("main-tests", "Alfa E2E-Tests main")
// } }
// } }
// } }
// } }
stage('E2E-Admin-Main') { stage('E2E-Admin-Main') {
when { when {
expression { !SKIP_RUN } expression { !SKIP_RUN }
...@@ -529,12 +529,11 @@ Void checkoutGitopsE2eBranch() { ...@@ -529,12 +529,11 @@ Void checkoutGitopsE2eBranch() {
Void generateNamespaces() { Void generateNamespaces() {
def y1 = generateAdminNamespaceYaml() def y1 = generateAdminNamespaceYaml()
// def y2 = generateEaNamespaceYaml() def y2 = generateEaNamespaceYaml()
// def y3 = generateMainNamespaceYaml() def y3 = generateMainNamespaceYaml()
dir("gitops") { dir("gitops") {
// sh "git add ${y1} ${y2} ${y3}" sh "git add ${y1} ${y2} ${y3}"
sh "git add ${y1}"
sh "git commit -m 'add e2e namespaces for testrun'" sh "git commit -m 'add e2e namespaces for testrun'"
} }
...@@ -633,7 +632,7 @@ Void waitForOzgCloudStackRollout(ozgCloudBezeichner) { ...@@ -633,7 +632,7 @@ Void waitForOzgCloudStackRollout(ozgCloudBezeichner) {
} }
Void waitForAdminRollout(String bezeichner) { Void waitForAdminRollout(String bezeichner) {
// waitForOzgCloudStackRollout([bezeichner]) waitForOzgCloudStackRollout([bezeichner])
waitForHealthyApplication(bezeichner, 'administration') waitForHealthyApplication(bezeichner, 'administration')
waitForHealthyApplication(bezeichner, 'admin-client') 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