10cb9d1c2a31ffe4cfa96db9b7e9924469e79929
[ci-management.git] / jjb / nonrtric-rapp-ransliceassurance / nonrtric-rapp-ransliceassurance.yaml
1 ---
2 - project:
3     name: nonrtric-rapp-ransliceassurance-project-view
4     project-name: nonrtric-rapp-ransliceassurance
5     views:
6       - project-view
7
8 - project:
9     name: nonrtric-rapp-ransliceassurance-info
10     project: nonrtric/rapp/ransliceassurance
11     project-name: nonrtric-rapp-ransliceassurance
12     build-node: centos7-builder-1c-1g
13     jobs:
14       - gerrit-info-yaml-verify
15
16 - _ransliceassurance_common: &ransliceassurance_common
17     name: ransliceassurance-common
18     # git repo
19     project: nonrtric/rapp/ransliceassurance
20     # jenkins job name prefix
21     project-name: nonrtric-rapp-ransliceassurance
22     # maven settings file has docker credentials
23     mvn-settings: nonrtric-rapp-ransliceassurance-settings
24
25 - project:
26     <<: *ransliceassurance_common
27     name: nonrtric-rapp-ransliceassurance-release
28     # maven release requires sigul which requires centos
29     # container release requires docker
30     build-node: centos7-docker-2c-8g
31     jobs:
32       - "{project-name}-gerrit-release-jobs"
33
34 - project:
35     <<: *ransliceassurance_common
36     name: nonrtric-rapp-ransliceassurance
37     project-name: "{name}"
38     # image name
39     docker-name: "o-ran-sc/nonrtric-rapp-ransliceassurance"
40     # get tag from YAML
41     container-tag-method: yaml-file
42     # use host network to clone from our gerrit
43     docker-build-args: "--network=host"
44     # Directory with Dockerfile
45     docker-root: "smoversion"
46     # Directory where go test should be run
47     go-root: "smoversion"
48     build-node: ubuntu1804-docker-4c-4g
49     # Includes verify and merge jobs
50     jobs:
51       - "{project-name}-gerrit-docker-jobs"
52       - gerrit-go-verify
53     stream:
54       - master:
55           branch: master
56       - f-release:
57           branch: f-release
58       - g-release:
59           branch: g-release
60
61 - project:
62     <<: *ransliceassurance_common
63     name: nonrtric-rapp-ransliceassurance-icsversion
64     project-name: "{name}"
65     # image name
66     docker-name: "o-ran-sc/nonrtric-rapp-ransliceassurance-icsversion"
67     # get tag from YAML
68     container-tag-method: yaml-file
69     # use host network to clone from our gerrit
70     docker-build-args: "--network=host"
71     # Directory with Dockerfile
72     docker-root: "icsversion"
73     # Directory where go test should be run
74     go-root: "icsversion"
75     build-node: ubuntu1804-docker-4c-4g
76     # Includes verify and merge jobs
77     jobs:
78       - "{project-name}-gerrit-docker-jobs"
79       - gerrit-go-verify
80     stream:
81       - master:
82           branch: master
83       - f-release:
84           branch: f-release
85       - g-release:
86           branch: g-release
87
88 - project:
89     <<: *ransliceassurance_common
90     name: nonrtric-rapp-ransliceassurance-sonar
91     project-name: nonrtric-rapp-ransliceassurance
92     # prescan script requires ubuntu
93     # golang is only on docker-enabled nodes
94     build-node: ubuntu1804-docker-4c-4g
95     sonar-prescan-script: !include-raw-escape: prescan-ransliceassurance-ubuntu.sh
96     sonar-project-file: ""
97     java-version: openjdk11
98     # use sonarcloud values from defaults.yaml
99     sonar-properties: !include-raw-escape: sonar-project.properties
100     jobs:
101       - gerrit-sonar-prescan-script