aboutsummaryrefslogtreecommitdiffstats
path: root/robot/assets
diff options
context:
space:
mode:
authorKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>2022-03-23 10:29:20 +0100
committerKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>2022-03-25 12:06:49 +0000
commit83837dc5af3df7d89541fee2f6c933369c419c6d (patch)
tree9849faf4ad42eee751f122306e2f64a1e9080b9d /robot/assets
parent86c25a966bcaae4beb57c54d3b54e37dca230b7c (diff)
[ROBOT] Adopt DCAEMOD test cases to helm based deployment
Adopt DCAEMOD test cases to helm based deployment Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> Issue-ID: INT-1895 Change-Id: Id09932899f11ab37b391709c580d681674705432
Diffstat (limited to 'robot/assets')
-rw-r--r--robot/assets/templates/dcaemod/compspec_with_config_volume.jinja23
-rw-r--r--robot/assets/templates/dcaemod/compspec_without_config_volume.jinja23
2 files changed, 36 insertions, 10 deletions
diff --git a/robot/assets/templates/dcaemod/compspec_with_config_volume.jinja b/robot/assets/templates/dcaemod/compspec_with_config_volume.jinja
index 80feec55..958decd9 100644
--- a/robot/assets/templates/dcaemod/compspec_with_config_volume.jinja
+++ b/robot/assets/templates/dcaemod/compspec_with_config_volume.jinja
@@ -16,12 +16,23 @@
},
"parameters": [],
"auxilary": {
- "healthcheck": {
- "type": "docker",
- "interval": "45s",
- "timeout": "15s",
- "script": "service nginx status"
- },
+ "helm": {
+ "service": {
+ "type": "ClusterIP",
+ "name": "{{comp_spec_name}}",
+ "ports": [{
+ "name": "http",
+ "port": 80
+ }]
+ }
+ },
+ "healthcheck": {
+ "type": "HTTP",
+ "interval": "45s",
+ "timeout": "15s",
+ "port": 80,
+ "endpoint": "/"
+ },
"volumes": [{
"config_volume": {
"name": "{{config_map_name}}"
diff --git a/robot/assets/templates/dcaemod/compspec_without_config_volume.jinja b/robot/assets/templates/dcaemod/compspec_without_config_volume.jinja
index 45ac97fb..361a9934 100644
--- a/robot/assets/templates/dcaemod/compspec_without_config_volume.jinja
+++ b/robot/assets/templates/dcaemod/compspec_without_config_volume.jinja
@@ -16,16 +16,31 @@
},
"parameters": [],
"auxilary": {
+ "helm": {
+ "service": {
+ "type": "ClusterIP",
+ "name": "{{comp_spec_name}}",
+ "ports": [{
+ "name": "http",
+ "port": 80
+ }]
+ }
+ },
"healthcheck": {
- "type": "docker",
- "interval": "300s",
- "timeout": "120s",
- "script": "service nginx status"
+ "type": "HTTP",
+ "interval": "45s",
+ "timeout": "15s",
+ "port": 80,
+ "endpoint": "/"
},
"ports": [
"80:0",
"99:0"
],
+ "log_info": {
+ "log_directory": "/opt/logs/test"
+ },
+
"tls_info":{
"cert_directory":"/opt/app/dcae-certificate/",
"use_tls": false,