Skip to content
Snippets Groups Projects
Commit df67f6a8 authored by OZG-Cloud Team's avatar OZG-Cloud Team
Browse files

OZG-4788-move values in unit-values.yaml to unittests itself

parent 1e3403f8
Branches
Tags
No related merge requests found
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
suite: xta-adapter bindings suite: xta-adapter bindings
templates: templates:
- templates/xta_adapter_cronjob.yaml - templates/xta_adapter_cronjob.yaml
set:
ozgcloud.environment: test
tests: tests:
- it: should have temp-dir volume - it: should have temp-dir volume
asserts: asserts:
......
...@@ -28,6 +28,9 @@ templates: ...@@ -28,6 +28,9 @@ templates:
release: release:
name: xta-adapter name: xta-adapter
namespace: helm-test namespace: helm-test
set:
ozgcloud.environment: dev
tests: tests:
- it: validate basic data - it: validate basic data
template: xta_adapter_cronjob.yaml template: xta_adapter_cronjob.yaml
...@@ -70,7 +73,6 @@ tests: ...@@ -70,7 +73,6 @@ tests:
template: xta_adapter_cronjob.yaml template: xta_adapter_cronjob.yaml
set: set:
image.name: xta-adapter image.name: xta-adapter
ozgcloud.environment: dev
asserts: asserts:
- equal: - equal:
path: spec.schedule path: spec.schedule
...@@ -79,7 +81,6 @@ tests: ...@@ -79,7 +81,6 @@ tests:
template: xta_adapter_cronjob.yaml template: xta_adapter_cronjob.yaml
set: set:
image.name: xta-adapter image.name: xta-adapter
ozgcloud.environment: dev
asserts: asserts:
- equal: - equal:
path: spec.jobTemplate.spec.template.spec.containers[0].image path: spec.jobTemplate.spec.template.spec.containers[0].image
......
...@@ -28,6 +28,8 @@ templates: ...@@ -28,6 +28,8 @@ templates:
release: release:
name: xta-adapter name: xta-adapter
namespace: helm-test namespace: helm-test
set:
ozgcloud.environment: test
tests: tests:
- it: check dummy livenessProbe default disabled - it: check dummy livenessProbe default disabled
template: xta_adapter_cronjob.yaml template: xta_adapter_cronjob.yaml
......
...@@ -28,6 +28,8 @@ templates: ...@@ -28,6 +28,8 @@ templates:
release: release:
name: xta-adapter name: xta-adapter
namespace: helm-test namespace: helm-test
set:
ozgcloud.environment: test
tests: tests:
- it: check default env - it: check default env
template: xta_adapter_cronjob.yaml template: xta_adapter_cronjob.yaml
......
...@@ -28,8 +28,12 @@ release: ...@@ -28,8 +28,12 @@ release:
namespace: sh-helm-test namespace: sh-helm-test
templates: templates:
- templates/xta_adapter_cronjob.yaml - templates/xta_adapter_cronjob.yaml
set:
ozgcloud.environment: dev
tests: tests:
- it: should use default imagePull secret - it: should use default imagePull secret
set:
asserts: asserts:
- equal: - equal:
path: spec.jobTemplate.spec.template.spec.imagePullSecrets[0].name path: spec.jobTemplate.spec.template.spec.imagePullSecrets[0].name
......
...@@ -28,6 +28,8 @@ templates: ...@@ -28,6 +28,8 @@ templates:
release: release:
name: xta-adapter name: xta-adapter
namespace: helm-test namespace: helm-test
set:
ozgcloud.environment: dev
tests: tests:
- it: check resources - it: check resources
template: xta_adapter_cronjob.yaml template: xta_adapter_cronjob.yaml
......
...@@ -28,6 +28,8 @@ templates: ...@@ -28,6 +28,8 @@ templates:
release: release:
name: xta-adapter name: xta-adapter
namespace: helm-test namespace: helm-test
set:
ozgcloud.environment: dev
tests: tests:
- it: check volume mounts - it: check volume mounts
template: xta_adapter_cronjob.yaml template: xta_adapter_cronjob.yaml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment