From f85d137e483e632f0b8d912708aae485baeabf1b Mon Sep 17 00:00:00 2001 From: mrichomme Date: Tue, 4 Aug 2020 15:38:56 +0200 Subject: 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 Change-Id: Ic7ebaa4d12b3e1872e51a895fc1b67dfc084e900 Signed-off-by: mrichomme --- healthcheck/jobs/healthcheck-job-template.yaml | 69 ++++++++++++-------------- 1 file changed, 31 insertions(+), 38 deletions(-) (limited to 'healthcheck') 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 -- cgit 1.2.3-korg