Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frontend-clients
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OZG-Cloud
app
frontend-clients
Commits
894a2f82
Commit
894a2f82
authored
8 months ago
by
OZGCloud
Browse files
Options
Downloads
Patches
Plain Diff
OZG-6368: Try remove base64 decoding by shell. Add documentation.
parent
f03fdd26
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
alfa-client/Jenkinsfile.e2e
+3
-1
3 additions, 1 deletion
alfa-client/Jenkinsfile.e2e
alfa-client/apps/admin-e2e/README.md
+1
-0
1 addition, 0 deletions
alfa-client/apps/admin-e2e/README.md
alfa-client/apps/alfa-e2e/README.md
+41
-12
41 additions, 12 deletions
alfa-client/apps/alfa-e2e/README.md
with
45 additions
and
13 deletions
alfa-client/Jenkinsfile.e2e
+
3
−
1
View file @
894a2f82
...
...
@@ -839,7 +839,9 @@ String generateNamespace(String bezeichner) {
}
String decodeString(String encoded) {
return sh (script: "echo -n ${encoded} | base64 --decode", returnStdout: true)
byte[] decoded = encoded.decodeBase64()
return new String(decoded)
// return sh (script: "echo -n ${encoded} | base64 --decode", returnStdout: true)
}
Map getElasticsearchSecret(String namespace) {
...
...
This diff is collapsed.
Click to expand it.
alfa-client/apps/admin-e2e/README.md
0 → 100644
+
1
−
0
View file @
894a2f82
See:
[
Alfa Readme
](
../alfa-e2e/README.md
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
alfa-client/apps/alfa-e2e/README.md
+
41
−
12
View file @
894a2f82
# E2E
## Allgemein
Die E2E Tests werden in parallen Jenkins Stages in seperaten Namespaces durchgeführt.
`einheitlicher-ansprechpartener`
-> 'EA'-Umgebung
`main-tests`
-> 'Dev'-Umgebung
-> es dürfen nur die der Umgebung entsprechenden User für die Tests genutzt werden.
(siehe dokumentation/Anwender/Standardbenutzer.md)
Die E2E Tests werden in parallelen Jenkins Stages in separaten Namespaces durchgeführt.
Unter src/e2e liegen die sogenannten App-Varianten, die Tests für eine bestimmte Umgebungskonfiguration enthalten:
*
`einheitlicher-ansprechpartner`
-> 'EA'-Umgebung
*
`main-tests`
-> 'Dev'-Umgebung
-> es dürfen nur die der Umgebung entsprechenden User für die Tests genutzt werden
(siehe
[
Standardbenutzer
](
https://git.ozg-sh.de/ozgcloud-doc/dokumentation/src/branch/master/Anwender/Standardbenutzer.md
)
).
## Lokal starten
1.
Mit Docker-Compose die Umgebung hochfahren, z.B. für alfa-client
-
Mit Shell-Skript (legt Daten an) / Nur für alfa-e2e verfügbar:
```
cd alfa/alfa-client/apps/alfa-e2e
./start-e2e-environment.sh
```
-
Nur mit Docker Compose
```
cd alfa/alfa-client/apps/alfa-e2e
docker compose up -d
```
2.
Den Client separat starten (alfa oder admin)
```
cd alfa/alfa-client/apps/alfa #ODER admin
npm run start
```
3.
Die Tests ausführen
-
Am Stück (wie Jenkins):
```
cd alfa/alfa-client/apps/
./run_tests.sh alfa-e2e #ODER admin-e2e
```
-
Interaktiv:
```
cd alfa/alfa-client/
npm run cypress:open
```
## Gegen ein bestehenden Namespace testen
...
...
@@ -20,10 +50,9 @@ Beispiel Namespace: sh-mastere2emain-dev
4.
Cypress mit entsprechender config starten:
`npm run cypress:open -- --config-file cypress-master-main.json`
## docker-compose
### -march Architektur
## -march Architektur
In die
`.env`
Datei eintragen:
```
USER_MANAGER_DOCKER_IMAGE=march-snapshot-latest
```
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment