aboutsummaryrefslogtreecommitdiffstats
path: root/healthcheck/jobs/healthcheck-job-template.yaml
blob: f000352279c42842711246887580852c3bf99474 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
apiVersion: batch/v1
kind: Job
metadata:
    name: integration-onap-"{{ run_type }}"
    namespace: onap
spec:
    template:
        spec:
            containers:
            - env:
              - name: INSTALLER_TYPE
                value: "{{ deployment_name }}"
              - name: DEPLOY_SCENARIO
                value: "{{ deploy_scenario }}"
              - name: NODE_NAME
                value: "{{ node_name }}"
              - name: TEST_DB_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:
            - 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: localtime
            - configMap:
                  defaultMode: 493
                  name: onap-robot-eteshare-configmap
              name: robot-eteshare
            - hostPath:
                  path: "{{ res_local_path }}"
              name: robot-save-results