Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vorgang-manager
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
vorgang-manager
Commits
67f111cc
Commit
67f111cc
authored
7 months ago
by
OZGCloud
Browse files
Options
Downloads
Patches
Plain Diff
OZG-3034 OZG-6684 CR changes
parent
f4247710
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/test/helm/deployment_alfa_host_test.yaml
+20
-2
20 additions, 2 deletions
src/test/helm/deployment_alfa_host_test.yaml
src/test/helm/deployment_test_ozgcloud_base_values_test.yaml
+6
-23
6 additions, 23 deletions
src/test/helm/deployment_test_ozgcloud_base_values_test.yaml
with
26 additions
and
25 deletions
src/test/helm/deployment_alfa_host_test.yaml
+
20
−
2
View file @
67f111cc
...
@@ -29,13 +29,15 @@ release:
...
@@ -29,13 +29,15 @@ release:
templates
:
templates
:
-
templates/deployment.yaml
-
templates/deployment.yaml
set
:
set
:
baseUrl
:
test.sh.ozg-cloud.de
ozgcloud
:
ozgcloud
:
environment
:
dev
environment
:
dev
bezeichner
:
helm
imagePullSecret
:
test-image-pull-secret
imagePullSecret
:
test-image-pull-secret
tests
:
tests
:
-
it
:
should set the alfa host
-
it
:
should set the alfa host
set
:
baseUrl
:
test.sh.ozg-cloud.de
ozgcloud
:
bezeichner
:
helm
asserts
:
asserts
:
-
contains
:
-
contains
:
path
:
spec.template.spec.containers[0].env
path
:
spec.template.spec.containers[0].env
...
@@ -44,6 +46,9 @@ tests:
...
@@ -44,6 +46,9 @@ tests:
value
:
https://helm.test.sh.ozg-cloud.de
value
:
https://helm.test.sh.ozg-cloud.de
-
it
:
should use alfa host from values
-
it
:
should use alfa host from values
set
:
set
:
baseUrl
:
test.sh.ozg-cloud.de
ozgcloud
:
bezeichner
:
helm
alfaHost
:
https://hamburg.mein-kreis.de
alfaHost
:
https://hamburg.mein-kreis.de
asserts
:
asserts
:
-
contains
:
-
contains
:
...
@@ -51,3 +56,16 @@ tests:
...
@@ -51,3 +56,16 @@ tests:
content
:
content
:
name
:
ozgcloud_alfa_host
name
:
ozgcloud_alfa_host
value
:
https://hamburg.mein-kreis.de
value
:
https://hamburg.mein-kreis.de
-
it
:
should fail if bezeichner is not set
set
:
baseUrl
:
test.sh.ozg-cloud.de
asserts
:
-
failedTemplate
:
errorMessage
:
"
ozgcloud.bezeichner
must
be
set"
-
it
:
should fail if base url is not set
set
:
ozgcloud
:
bezeichner
:
helm
asserts
:
-
failedTemplate
:
errorMessage
:
"
baseUrl
must
be
set"
This diff is collapsed.
Click to expand it.
src/test/helm/deployment_test_ozgcloud_base_values_test.yaml
+
6
−
23
View file @
67f111cc
...
@@ -31,36 +31,19 @@ templates:
...
@@ -31,36 +31,19 @@ templates:
set
:
set
:
baseUrl
:
test.sh.ozg-cloud.de
baseUrl
:
test.sh.ozg-cloud.de
ozgcloud
:
ozgcloud
:
environment
:
dev
bezeichner
:
helm
bezeichner
:
helm
imagePullSecret
:
test-image-pull-secret
tests
:
tests
:
-
it
:
should fail on missing environment
-
it
:
should fail on missing environment
set
:
set
:
ozgcloud
:
imagePullSecret
:
test-image-pull-secret
environment
:
asserts
:
asserts
:
-
failedTemplate
:
-
failedTemplate
:
errorMessage
:
ozgcloud.environment must be set
errorMessage
:
ozgcloud.environment must be set
-
it
:
should fail on missing imagePullSecret
-
it
:
should not fail on not missing environment and not missing imagepullsecret
set
:
imagePullSecret
:
asserts
:
-
failedTemplate
:
errorMessage
:
imagePullSecret must be set
-
it
:
should fail if bezeichner is not set
set
:
set
:
ozgcloud
:
ozgcloud
:
bezeichner
:
environment
:
dev
asserts
:
imagePullSecret
:
test-image-pull-secret
-
failedTemplate
:
errorMessage
:
"
ozgcloud.bezeichner
must
be
set"
-
it
:
should fail if base url is not set
set
:
baseUrl
:
asserts
:
-
failedTemplate
:
errorMessage
:
"
baseUrl
must
be
set"
-
it
:
should not fail on not missing required values
asserts
:
asserts
:
-
notFailedTemplate
:
{}
-
notFailedTemplate
:
{}
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