summaryrefslogtreecommitdiffstats
path: root/kubernetes/robot
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2018-01-23 11:05:38 -0500
committerAlexis de Talhouët <adetalhouet89@gmail.com>2018-01-23 13:58:42 -0500
commit5ed638e4125473b6a48f30bbe5a7d55f6bbfaba0 (patch)
tree33f183eaed6c13cc209c38522c4f911f6a18f8d7 /kubernetes/robot
parentf6c0855f03b99fcca9f411370221fe9ffa48e889 (diff)
Fix Robot distribute test
Change-Id: I22b2983f7ca1ac3ef9690d4cd53cd1a27b675700 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Issue-ID: OOM-575
Diffstat (limited to 'kubernetes/robot')
-rw-r--r--kubernetes/robot/templates/robot-deployment.yaml29
-rw-r--r--kubernetes/robot/values.yaml2
2 files changed, 15 insertions, 16 deletions
diff --git a/kubernetes/robot/templates/robot-deployment.yaml b/kubernetes/robot/templates/robot-deployment.yaml
index 5130955919..154abb48ed 100644
--- a/kubernetes/robot/templates/robot-deployment.yaml
+++ b/kubernetes/robot/templates/robot-deployment.yaml
@@ -15,21 +15,26 @@ spec:
name: robot
spec:
containers:
- - image: {{ .Values.image.testsuite }}
+ - command:
+ - bash
+ - "-c"
+ - |
+ git clone -b amsterdam --single-branch http://gerrit.onap.org/r/demo.git /tmp/demo
+ mkdir -p /share/heat && cp -rf /tmp/demo/heat /share
+ git clone -b amsterdam --single-branch http://gerrit.onap.org/r/testsuite/properties.git /tmp/testsuite/properties
+ mkdir -p /share/config && cp /tmp/testsuite/properties/integration_* /share/config
+ lighttpd -D -f /etc/lighttpd/lighttpd.conf
+ image: {{ .Values.image.testsuite }}
imagePullPolicy: {{ .Values.pullPolicy }}
name: robot
volumeMounts:
- name: localtime
mountPath: /etc/localtime
readOnly: true
- - name: robot-eteshare
- mountPath: /share
- name: robot-resources-asdc-interface
mountPath: /var/opt/OpenECOMP_ETE/robot/resources/asdc_interface.robot
- - name: robot-resources-policy-interface
- mountPath: /var/opt/OpenECOMP_ETE/robot/resources/policy_interface.robot
- - name: robot-resources-sdngc-interface
- mountPath: /var/opt/OpenECOMP_ETE/robot/resources/sdngc_interface.robot
+ - name: vm-properties
+ mountPath: /share/config/
- name: lighttpd-authorization
mountPath: /etc/lighttpd/authorization
ports:
@@ -43,18 +48,12 @@ spec:
- name: localtime
hostPath:
path: /etc/localtime
- - name: robot-eteshare
- hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/eteshare
- name: robot-resources-asdc-interface
hostPath:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/resources/asdc_interface.robot
- - name: robot-resources-policy-interface
- hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/resources/policy_interface.robot
- - name: robot-resources-sdngc-interface
+ - name: vm-properties
hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/resources/sdngc_interface.robot
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/config
- name: lighttpd-authorization
hostPath:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/authorization
diff --git a/kubernetes/robot/values.yaml b/kubernetes/robot/values.yaml
index 221b572264..657228f061 100644
--- a/kubernetes/robot/values.yaml
+++ b/kubernetes/robot/values.yaml
@@ -2,5 +2,5 @@ nsPrefix: onap
pullPolicy: Always
nodePortPrefix: 302
image:
- testsuite: nexus3.onap.org:10001/openecomp/testsuite:1.1-STAGING-latest
+ testsuite: nexus3.onap.org:10001/openecomp/testsuite:1.2-STAGING-latest