aboutsummaryrefslogtreecommitdiffstats
path: root/healthcheck/jobs/healthcheck-job-template.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'healthcheck/jobs/healthcheck-job-template.yaml')
-rw-r--r--healthcheck/jobs/healthcheck-job-template.yaml69
1 files changed, 31 insertions, 38 deletions
diff --git a/healthcheck/jobs/healthcheck-job-template.yaml b/healthcheck/jobs/healthcheck-job-template.yaml
index 049ec22..f000352 100644
--- a/healthcheck/jobs/healthcheck-job-template.yaml
+++ b/healthcheck/jobs/healthcheck-job-template.yaml
@@ -1,22 +1,13 @@
----
-tests:
- - core
-
-healthcheck_deployment:
- apiVersion: batch/v1
- kind: Job
- metadata:
- name: "functest-onap-{{ run_type }}"
- namespace: "{{ onap_namespace }}"
- spec:
+apiVersion: batch/v1
+kind: Job
+metadata:
+ name: integration-onap-"{{ run_type }}"
+ namespace: onap
+spec:
template:
- spec:
- restartPolicy: Never
- containers:
- - name: functest-onap
- image: registry.gitlab.com/orange-opensource/lfn/onap/integration/xtesting/health
- imagePullPolicy: Always
- env:
+ spec:
+ containers:
+ - env:
- name: INSTALLER_TYPE
value: "{{ deployment_name }}"
- name: DEPLOY_SCENARIO
@@ -24,29 +15,31 @@ healthcheck_deployment:
- name: NODE_NAME
value: "{{ node_name }}"
- name: TEST_DB_URL
- value:
- "{{ test_result_url }}"
+ value: http://testresults.opnfv.org/onap/api/v1/results
- name: BUILD_TAG
value: "{{ build_tag }}"
- name: TAG
value: "{{ run_type }}"
+ image: nexus3.onap.org:10001/onap/xtesting-healthcheck:latest
+ imagePullPolicy: Always
+ name: integration-"{{ run_type }}"
volumeMounts:
- - name: localtime
- mountPath: /etc/localtime
- readOnly: true
- - name: robot-eteshare
- mountPath: /share/config
- - name: robot-save-results
- mountPath:
- /var/lib/xtesting/results/
- volumes:
- - name: localtime
- hostPath:
+ - mountPath: /etc/localtime
+ name: localtime
+ readOnly: true
+ - mountPath: /share/config
+ name: robot-eteshare
+ - mountPath: /var/lib/xtesting/results/
+ name: robot-save-results
+ restartPolicy: Never
+ volumes:
+ - hostPath:
path: /etc/localtime
- - name: robot-eteshare
- configMap:
- name: "{{ onap_namespace }}-robot-robot-eteshare-configmap"
- defaultMode: 0755
- - name: robot-save-results
- hostPath:
- path: "{{ res_local_path }}/{{ run_type }}"
+ name: localtime
+ - configMap:
+ defaultMode: 493
+ name: onap-robot-eteshare-configmap
+ name: robot-eteshare
+ - hostPath:
+ path: "{{ res_local_path }}"
+ name: robot-save-results