Merge "Chore: Automation adds aiml-fw-athp-data-extraction.yaml"
[ci-management.git] / jjb / nonrtric / nonrtric.yaml
1 ---
2 - project:
3     name: nonrtric-project-view
4     project-name: nonrtric
5     views:
6       - project-view
7
8 - project:
9     name: nonrtric-info
10     project: nonrtric
11     project-name: nonrtric
12     build-node: centos7-builder-1c-1g
13     jobs:
14       - gerrit-info-yaml-verify
15
16 - nonrtric_jdk_common: &nonrtric_jdk_common
17     name: nonrtric-jdk-common
18     # git repo
19     project: nonrtric
20     # jenkins job name prefix
21     project-name: nonrtric
22     # maven settings file has docker credentials
23     mvn-settings: nonrtric-settings
24     mvn-version: mvn36
25     java-version: openjdk11
26
27 - project:
28     <<: *nonrtric_jdk_common
29     mvn-params: -Dbuild.number=${{BUILD_NUMBER}}
30     jobs:
31       - gerrit-maven-docker-verify
32       - gerrit-maven-docker-merge
33       - gerrit-maven-docker-stage
34     stream:
35       - e-release:
36           branch: e-release
37
38 # nonrtric:policy-agent/
39 # Maven artifacts for nonrtric-policy-agent/
40 - project:
41     <<: *nonrtric_jdk_common
42     name: nonrtric-policy-agent
43     project-name: '{name}'
44     mvn-opts: '-Ddocker.skip=true'
45     mvn-params: '-f policy-agent/'
46     gerrit_trigger_file_paths:
47       - compare-type: REG_EXP
48         pattern: 'policy-agent/.*'
49     build-node: ubuntu1804-builder-4c-4g
50     jobs:
51       - gerrit-maven-verify
52       - gerrit-maven-merge
53       - gerrit-maven-stage
54       - gerrit-maven-clm
55     stream:
56       - dawn:
57           branch: dawn
58
59 # nonrtric:sdnc-a1-controller
60 # Maven artifacts for nonrtric-sdnc-a1-controller
61 - project:
62     <<: *nonrtric_jdk_common
63     name: nonrtric-sdnc-a1-controller
64     project-name: '{name}'
65     mvn-opts: '-Ddocker.skip=true'
66     mvn-params: '-f sdnc-a1-controller/northbound'
67     gerrit_trigger_file_paths:
68       - compare-type: REG_EXP
69         pattern: 'sdnc-a1-controller/northbound/.*'
70     build-node: ubuntu1804-builder-4c-4g
71     jobs:
72       - gerrit-maven-verify
73       - gerrit-maven-merge
74       - gerrit-maven-stage
75       - gerrit-maven-clm
76     stream:
77       - dawn:
78           branch: dawn
79       - e-release:
80           branch: e-release
81
82 # nonrtric:enrichment-coordinator-service
83 # Maven artifacts for nonrtric-enrichment-coordinator-service
84 - project:
85     <<: *nonrtric_jdk_common
86     name: nonrtric-enrichment-coordinator-service
87     project-name: '{name}'
88     mvn-opts: '-Ddocker.skip=true'
89     mvn-params: '-f enrichment-coordinator-service'
90     gerrit_trigger_file_paths:
91       - compare-type: REG_EXP
92         pattern: 'enrichment-coordinator-service/.*'
93     build-node: ubuntu1804-builder-4c-4g
94     jobs:
95       - gerrit-maven-verify
96       - gerrit-maven-merge
97       - gerrit-maven-stage
98       - gerrit-maven-clm
99     stream:
100       - dawn:
101           branch: dawn
102
103 - project:
104     <<: *nonrtric_jdk_common
105     name: nonrtric-plt-auth-token-fetch
106     project-name: '{name}'
107     # image name
108     docker-name: 'o-ran-sc/nonrtric-plt-auth-token-fetch'
109     # get tag from YAML
110     container-tag-method: yaml-file
111     # use host network to clone from our gerrit
112     docker-build-args: '--network=host'
113     # Directory with Dockerfile
114     docker-root: 'auth-token-fetch'
115     # use host network to clone from our gerrit
116     docker-build-args: '--network=host'
117     # Directory where go test should be run
118     go-root: 'auth-token-fetch'
119     # Limit build trigger to appropriate files
120     gerrit_trigger_file_paths:
121       - compare-type: REG_EXP
122         pattern: 'auth-token-fetch/.*'
123     build-node: ubuntu1804-docker-4c-4g
124     # Includes verify and merge jobs
125     jobs:
126       - "{project-name}-gerrit-docker-jobs"
127       - gerrit-go-verify
128     stream:
129       - master:
130           branch: master
131       - f-release:
132           branch: f-release
133
134 - project:
135     <<: *nonrtric_jdk_common
136     name: nonrtric-plt-auth-token-fetch-sonar
137     project-name: nonrtric-plt-auth-token-fetch
138     # prescan script requires ubuntu
139     # golang is only on docker-enabled nodes
140     build-node: ubuntu1804-docker-4c-4g
141     sonar-prescan-script: !include-raw-escape: prescan-nonrtric-auth-token-fetch-ubuntu.sh
142     sonar-project-file: ""
143     java-version: openjdk11
144     # use sonarcloud values from defaults.yaml
145     sonar-properties: !include-raw: sonar-project.properties
146     jobs:
147       - gerrit-sonar-prescan-script
148
149 - project:
150     <<: *nonrtric_jdk_common
151     name: nonrtric-release
152     # maven release requires sigul which requires centos
153     # container release requires docker
154     build-node: centos7-docker-2c-8g
155     jobs:
156       - '{project-name}-gerrit-release-jobs'