Add subproject support for golang verify job
[ci-management.git] / jjb / integration / integration.yaml
1 ---
2 - project:
3     name: integration-project-view
4     project-name: integration
5     views:
6       - project-view
7
8 - project:
9     name: integration-info
10     project-name: integration
11     jobs:
12       - gerrit-info-yaml-verify
13     build-node: centos7-builder-2c-1g
14     project: integration
15     branch: master
16
17 - project:
18     name: integration-verify-python
19     project-name: integration
20     project: integration
21     stream:
22       - 'master':
23           branch: 'master'
24       - 'elalto':
25           branch: 'elalto'
26     mvn-settings: 'integration-settings'
27     build-node: 'centos7-builder-4c-4g'
28     subproject:
29       - 'test-vcpe':
30           path: 'test/vcpe'
31           pattern: 'test/vcpe/**'
32     jobs:
33       - '{project-name}-{stream}-{subproject}-verify-python'
34
35 - project:
36     name: integration-verify-vagrantfile
37     project-name: 'integration'
38     project: 'integration'
39     stream:
40       - 'master':
41           branch: 'master'
42     jobs:
43       - '{project-name}-{stream}-verify-vagrantfile'
44
45 - project:
46     name: integration-verify-golang
47     project-name: 'integration'
48     project: 'integration'
49     golangver: 'golang112'
50     mvn-settings: 'integration-settings'
51     archive-artifacts: ''
52     build-node: ubuntu1804-docker-8c-8g
53     jobs:
54       - '{project-name}-{stream}-{subproject}-verify-golang':
55           script: |
56               #!/bin/bash
57               set -ex # Fail build if any setup step fails
58               cd $WORKSPACE/{path}
59               make test
60     subproject:
61       - 'test-security-k8s':
62           path: 'test/security/k8s'
63           pattern: '{path}/**'
64       - 'test-security-sslendpoints':
65           path: 'test/security/sslendpoints'
66           pattern: '{path}/**'
67     stream:
68       - 'master':
69           branch: 'master'
70
71 - project:
72     name: integration-netconf-pnp-simulator
73     project: integration
74     stream:
75       - 'master':
76           branch: 'master'
77     # Required by verifier
78     mvn-settings: 'integration-settings'
79     project-name: 'integration-netconf-pnp-simulator'
80     gerrit_trigger_file_paths:
81       - compare-type: ANT
82         pattern: 'test/mocks/netconf-pnp-simulator/engine/**'
83     docker-name: 'onap/integration/simulators/netconf-pnp-simulator'
84     docker-root: test/mocks/netconf-pnp-simulator/engine
85     container-tag-method: yaml-file
86     post_docker_build_script: !include-raw-escape: ../global-jjb/shell/tox-run.sh
87     build-node: centos7-docker-8c-8g
88     build-timeout: 20
89     jobs:
90       - gerrit-docker-verify
91       - gerrit-docker-merge
92
93 - project:
94     name: integration-linters
95     project: 'integration'
96     project-name: 'integration'
97     python-version: python3
98     jobs:
99       - '{project-name}-{stream}-{subproject}-lint'
100     subproject:
101       - 'yaml':
102           tox-dir: '.'
103           tox-envs: 'yaml'
104           pattern: '**/*.yaml'
105       - 'yml':
106           tox-dir: '.'
107           tox-envs: 'yaml'
108           pattern: '**/*.yml'
109       - 'json':
110           tox-dir: '.'
111           tox-envs: 'json'
112           pattern: '**/*.json'
113       - 'python':
114           tox-dir: '.'
115           tox-envs: 'py'
116           pattern: '**/*.py'
117     stream:
118       - 'master':
119           branch: 'master'