summaryrefslogtreecommitdiffstats
path: root/jjb/integration/integration.yaml
blob: 9d289a4d88d2933a8f1bed518cce476376878ccb (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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
---
- project:
    name: integration-project-view
    project-name: integration
    views:
      - project-view

- project:
    name: integration-info
    project-name: integration
    jobs:
      - gerrit-info-yaml-verify
    build-node: centos8-builder-2c-1g
    project: integration
    branch: master

- project:
    name: integration-verify-python
    project-name: integration
    project: integration
    stream:
      - "master":
          branch: "master"
    mvn-settings: "integration-settings"
    build-node: "ubuntu1804-builder-4c-4g"
    subproject:
      - "test-vcpe":
          path: "test/vcpe"
          pattern: "test/vcpe/**"
      - "ran-nssmf-simulator":
          path: "test/mocks/ran-nssmf-simulator"
          pattern: "test/mocks/ran-nssmf-simulator/**"
    jobs:
      - "{project-name}-{stream}-{subproject}-verify-python"

- project:
    name: integration-verify-vagrantfile
    project-name: "integration"
    project: "integration"
    stream:
      - "master":
          branch: "master"
    jobs:
      - "{project-name}-{stream}-verify-vagrantfile"

- project:
    name: integration-verify-golang
    project-name: "integration"
    project: "integration"
    golangver: "golang114"
    mvn-settings: "integration-settings"
    archive-artifacts: ""
    jobs:
      - "{project-name}-{stream}-{subproject}-verify-golang"
    subproject:
      - "test-security-k8s":
          path: "test/security/k8s"
          pattern: "{path}/**"
          build-node: ubuntu1804-builder-4c-4g
          script: |
            #!/bin/bash
            set -ex # Fail build if any setup step fails
            cd $WORKSPACE/{path}
            make test
      - "test-security-sslendpoints":
          path: "test/security/sslendpoints"
          pattern: "{path}/**"
          build-node: ubuntu1804-docker-8c-8g
          script: |
            #!/bin/bash
            set -ex # Fail build if any setup step fails
            cd $WORKSPACE/{path}
            rm -rf $WORKSPACE/{path}/bin
            make docker-build
            make test
            make clean
    stream:
      - "master":
          branch: "master"

- project:
    name: integration-linters
    project: "integration"
    project-name: "integration"
    python-version: python3
    jobs:
      - integration-linters
    subproject:
      - "yaml":
          tox-dir: "."
          tox-envs: "yaml"
          pattern: "**/*.yaml"
      - "yml":
          tox-dir: "."
          tox-envs: "yaml"
          pattern: "**/*.yml"
      - "json":
          tox-dir: "."
          tox-envs: "json"
          pattern: "**/*.json"
      - "python":
          tox-dir: "."
          tox-envs: "py"
          pattern: "**/*.py"
      - "rst":
          tox-dir: "."
          tox-envs: "rst"
          pattern: "**/*.rst"
      - "md":
          tox-dir: "."
          tox-envs: "md"
          pattern: "**/*.md"
    stream:
      - "master":
          branch: "master"