aboutsummaryrefslogtreecommitdiffstats
path: root/healthcheck/jobs
diff options
context:
space:
mode:
authormrichomme <morgan.richomme@orange.com>2020-08-04 15:38:56 +0200
committermrichomme <morgan.richomme@orange.com>2020-08-05 10:28:03 +0200
commitf85d137e483e632f0b8d912708aae485baeabf1b (patch)
treef1f6111610f14221bb600e996ac6d6752671b95c /healthcheck/jobs
parent12457c4de491842f001fb1f9ac0393b9e1fe6b4e (diff)
Improve xtesting documentation
- replace gitlab.com images by Nexus3 images - update smoke test (even it will be deprecated soon) Issue-ID: INT-1676 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Ic7ebaa4d12b3e1872e51a895fc1b67dfc084e900 Signed-off-by: mrichomme <morgan.richomme@orange.com>
Diffstat (limited to 'healthcheck/jobs')
-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