summaryrefslogtreecommitdiffstats
path: root/ci/run.yaml
blob: 4bdd4d3e0cea535fa70b0741c62bf809105a447d (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
---
- job-template:
    name: '{repo}-functest-kubernetes-{container}-{test}-{tag}-run'
    defaults: 'functest-kubernetes-defaults'
    builders:
      - shell: |
          docker run \
            -e DEPLOY_SCENARIO=k8s \
            -v \
            {prefix}/results/$JOB_NAME-$BUILD_ID:/home/opnfv/functest/results \
            -v {prefix}/config:/root/.kube/config \
            {repo}/functest-kubernetes-{container}:{tag} run_tests -t {test}

- project:
    name: '{repo}-functest-kubernetes-healthcheck-{test}-{tag}-run'
    container: healthcheck
    test:
      - k8s_smoke
    jobs:
      - '{repo}-functest-kubernetes-{container}-{test}-{tag}-run'

- job-template:
    name: '{repo}-functest-kubernetes-healthcheck-{tag}-run'
    project-type: multijob
    builders:
      - multijob:
          name: healthcheck
          projects:
            - name: '{repo}-functest-kubernetes-healthcheck-k8s_smoke-{tag}-run'

- project:
    name: '{repo}-functest-kubernetes-healthcheck-{tag}-run'
    jobs:
      - '{repo}-functest-kubernetes-healthcheck-{tag}-run'

- project:
    name: '{repo}-functest-kubernetes-smoke-{test}-{tag}-run'
    container: smoke
    test:
      - k8s_conformance
    jobs:
      - '{repo}-functest-kubernetes-{container}-{test}-{tag}-run'

- job-template:
    name: '{repo}-functest-kubernetes-smoke-{tag}-run'
    project-type: multijob
    builders:
      - multijob:
          name: smoke
          projects:
            - name: '{repo}-functest-kubernetes-smoke-k8s_conformance-{tag}-run'

- project:
    name: '{repo}-functest-kubernetes-smoke-{tag}-run'
    jobs:
      - '{repo}-functest-kubernetes-smoke-{tag}-run'

- project:
    name: '{repo}-functest-kubernetes-features-{test}-{tag}-run'
    container: features
    test:
      - stor4nfv_k8s
      - clover_k8s
    jobs:
      - '{repo}-functest-kubernetes-{container}-{test}-{tag}-run'

- job-template:
    name: '{repo}-functest-kubernetes-features-{tag}-run'
    project-type: multijob
    builders:
      - multijob:
          name: features
          projects:
            - name: '{repo}-functest-kubernetes-features-stor4nfv_k8s-{tag}-run'
            - name: '{repo}-functest-kubernetes-features-clover_k8s-{tag}-run'

- project:
    name: '{repo}-functest-kubernetes-features-{tag}-run'
    jobs:
      - '{repo}-functest-kubernetes-features-{tag}-run'