Integrated gateway and updated kube support
Restructured the test env to decouple the test engine from the components
Issue-ID: NONRTRIC-441
Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
Change-Id: I07c746741b1c5c964679545f0a12861e5e9f6292
diff --git a/test/simulator-group/ecs/docker-compose.yml b/test/simulator-group/ecs/docker-compose.yml
index b74252a..b057753 100644
--- a/test/simulator-group/ecs/docker-compose.yml
+++ b/test/simulator-group/ecs/docker-compose.yml
@@ -32,6 +32,6 @@
ports:
- ${ECS_EXTERNAL_PORT}:${ECS_INTERNAL_PORT}
- ${ECS_EXTERNAL_SECURE_PORT}:${ECS_INTERNAL_SECURE_PORT}
-
-
-
+ labels:
+ - "nrttest_app=ECS"
+ - "nrttest_dp=${ECS_DISPLAY_NAME}"
diff --git a/test/simulator-group/ecs/mnt/.gitignore b/test/simulator-group/ecs/mnt/.gitignore
index 1e82fc7..72e8ffc 100644
--- a/test/simulator-group/ecs/mnt/.gitignore
+++ b/test/simulator-group/ecs/mnt/.gitignore
@@ -1 +1 @@
-*.yaml
+*
diff --git a/test/simulator-group/ecs/pv.yaml b/test/simulator-group/ecs/pv.yaml
new file mode 100644
index 0000000..ffccecc
--- /dev/null
+++ b/test/simulator-group/ecs/pv.yaml
@@ -0,0 +1,16 @@
+apiVersion: v1
+kind: PersistentVolume
+metadata:
+ name: $ECS_DATA_PV_NAME
+ labels:
+ run: $ECS_APP_NAME
+ autotest: ECS
+spec:
+ storageClassName: ecs-standard
+ capacity:
+ storage: 1Mi
+ accessModes:
+ - ReadWriteOnce
+ persistentVolumeReclaimPolicy: Delete
+ hostPath:
+ path: "/tmp/$ECS_PV_PATH"
diff --git a/test/simulator-group/ecs/pvc.yaml b/test/simulator-group/ecs/pvc.yaml
index 3abd359..dca9f1c 100644
--- a/test/simulator-group/ecs/pvc.yaml
+++ b/test/simulator-group/ecs/pvc.yaml
@@ -11,6 +11,6 @@
- ReadWriteOnce
resources:
requests:
- storage: 10Mi
- storageClassName: standard
- volumeMode: Filesystem
\ No newline at end of file
+ storage: 1Mi
+ storageClassName: ecs-standard
+ volumeMode: Filesystem