Merge "the build issue on docker"
[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     jobs:
53       - '{project-name}-{stream}-{subproject}-verify-golang'
54     subproject:
55       - 'test-security-k8s':
56           path: 'test/security/k8s'
57           pattern: '{path}/**'
58           build-node: ubuntu1804-builder-4c-4g
59           script: |
60               #!/bin/bash
61               set -ex # Fail build if any setup step fails
62               cd $WORKSPACE/{path}
63               make test
64       - 'test-security-sslendpoints':
65           path: 'test/security/sslendpoints'
66           pattern: '{path}/**'
67           build-node: ubuntu1804-docker-8c-8g
68           script: |
69               #!/bin/bash
70               set -ex # Fail build if any setup step fails
71               cd $WORKSPACE/{path}
72               rm -rf $WORKSPACE/{path}/bin
73               make docker-build
74               make test
75               make clean
76     stream:
77       - 'master':
78           branch: 'master'
79
80 - project:
81     name: integration-netconf-pnp-simulator
82     project: integration
83     stream:
84       - 'master':
85           branch: 'master'
86     # Required by verifier
87     mvn-settings: 'integration-settings'
88     project-name: 'integration-netconf-pnp-simulator'
89     gerrit_trigger_file_paths:
90       - compare-type: ANT
91         pattern: 'test/mocks/netconf-pnp-simulator/engine/**'
92     docker-name: 'onap/integration/simulators/netconf-pnp-simulator'
93     docker-root: test/mocks/netconf-pnp-simulator/engine
94     container-tag-method: yaml-file
95     post_docker_build_script: !include-raw-escape: ../global-jjb/shell/tox-run.sh
96     build-node: centos7-docker-8c-8g
97     build-timeout: 20
98     jobs:
99       - gerrit-docker-verify
100       - gerrit-docker-merge
101
102 - project:
103     name: integration-linters
104     project: 'integration'
105     project-name: 'integration'
106     python-version: python3
107     jobs:
108       - '{project-name}-{stream}-{subproject}-lint'
109     subproject:
110       - 'yaml':
111           tox-dir: '.'
112           tox-envs: 'yaml'
113           pattern: '**/*.yaml'
114       - 'yml':
115           tox-dir: '.'
116           tox-envs: 'yaml'
117           pattern: '**/*.yml'
118       - 'json':
119           tox-dir: '.'
120           tox-envs: 'json'
121           pattern: '**/*.json'
122       - 'python':
123           tox-dir: '.'
124           tox-envs: 'py'
125           pattern: '**/*.py'
126     stream:
127       - 'master':
128           branch: 'master'