mirror of
https://gitlab.opencode.de/bmi/opendesk/deployment/opendesk.git
synced 2025-12-06 23:41:43 +01:00
fix(ci): Trigger e2e tests for multiple languages.
This commit is contained in:
committed by
Thorsten Roßner
parent
180ccddfaa
commit
9d7d89f74f
@@ -469,7 +469,7 @@ env-stop:
|
|||||||
kubectl -n ${NAMESPACE} get secret ums-nubus-credentials -o jsonpath='{.data.user_password}' | base64 -d \
|
kubectl -n ${NAMESPACE} get secret ums-nubus-credentials -o jsonpath='{.data.user_password}' | base64 -d \
|
||||||
)
|
)
|
||||||
DEFAULT_ADMIN_PASSWORD=$(
|
DEFAULT_ADMIN_PASSWORD=$(
|
||||||
kubectl -n ${NAMESPACE} get secret ums-nubus-credentials -o jsonpath='{.data.administrator_password}' | base64 -d \
|
kubectl -n ${NAMESPACE} get secret ums-nubus-credentials -o jsonpath='{.data.admin_password}' | base64 -d \
|
||||||
)
|
)
|
||||||
|
|
||||||
run-tests:
|
run-tests:
|
||||||
@@ -481,6 +481,11 @@ run-tests:
|
|||||||
- if: >
|
- if: >
|
||||||
$CI_PIPELINE_SOURCE =~ "web|schedules|trigger|api" && $NAMESPACE =~ /.+/ && $RUN_TESTS == "yes"
|
$CI_PIPELINE_SOURCE =~ "web|schedules|trigger|api" && $NAMESPACE =~ /.+/ && $RUN_TESTS == "yes"
|
||||||
when: "on_success"
|
when: "on_success"
|
||||||
|
parallel:
|
||||||
|
matrix:
|
||||||
|
- LANGUAGE:
|
||||||
|
- "de"
|
||||||
|
- "en"
|
||||||
script:
|
script:
|
||||||
- *ums-default-password
|
- *ums-default-password
|
||||||
- |
|
- |
|
||||||
@@ -494,6 +499,7 @@ run-tests:
|
|||||||
\"cluster\": \"${CLUSTER}\", \
|
\"cluster\": \"${CLUSTER}\", \
|
||||||
\"namespace\": \"${NAMESPACE}\", \
|
\"namespace\": \"${NAMESPACE}\", \
|
||||||
\"url\": \"https://portal.${DOMAIN}/\", \
|
\"url\": \"https://portal.${DOMAIN}/\", \
|
||||||
|
\"language\": \"${LANGUAGE}\", \
|
||||||
\"user_name\": \"${DEFAULT_USER_NAME}\", \
|
\"user_name\": \"${DEFAULT_USER_NAME}\", \
|
||||||
\"user_password\": \"${DEFAULT_USER_PASSWORD}\", \
|
\"user_password\": \"${DEFAULT_USER_PASSWORD}\", \
|
||||||
\"admin_name\": \"${DEFAULT_ADMIN_NAME}\", \
|
\"admin_name\": \"${DEFAULT_ADMIN_NAME}\", \
|
||||||
|
|||||||
Reference in New Issue
Block a user