Merge "Chore: Automation adds aiml-fw/aihp/tps/kserve-adapter config files"
[ci-management.git] / jjb / nonrtric-rapp-orufhrecovery / nonrtric-rapp-orufhrecovery.yaml
1 ---
2 - project:
3     name: nonrtric-rapp-orufhrecovery-project-view
4     project-name: nonrtric-rapp-orufhrecovery
5     views:
6       - project-view
7
8 - project: &orufhrecovery_common
9     name: nonrtric-rapp-orufhrecovery-info
10     project: nonrtric/rapp/orufhrecovery
11     project-name: nonrtric-rapp-orufhrecovery
12     # maven settings file has docker credentials
13     mvn-settings: nonrtric-rapp-orufhrecovery-settings
14     build-node: centos7-builder-1c-1g
15     jobs:
16       - gerrit-info-yaml-verify
17
18 - project:
19     <<: *orufhrecovery_common
20     name: nonrtric-rapp-orufhrecovery-release
21     # maven release requires sigul which requires centos
22     # container release requires docker
23     build-node: centos7-docker-2c-8g
24     jobs:
25       - '{project-name}-gerrit-release-jobs'
26
27 - project:
28     <<: *orufhrecovery_common
29     name: nonrtric-rapp-orufhrecovery
30     project-name: '{name}'
31     # image name
32     docker-name: 'o-ran-sc/nonrtric-rapp-orufhrecovery'
33     # get tag from YAML
34     container-tag-method: yaml-file
35     # use host network to clone from our gerrit
36     docker-build-args: '--network=host'
37     # Directory with Dockerfile
38     docker-root: 'scriptversion/app'
39     # Limit build trigger to appropriate files
40     gerrit_trigger_file_paths:
41       - compare-type: REG_EXP
42         pattern: 'scriptversion/app/.*'
43     build-node: ubuntu1804-docker-4c-4g
44     # Includes verify and merge jobs
45     jobs:
46       - "{project-name}-gerrit-docker-jobs"
47     stream:
48       - master:
49           branch: master
50       - f-release:
51           branch: f-release
52
53 - project:
54     <<: *orufhrecovery_common
55     name: nonrtric-rapp-orufhrecovery-consumer
56     project-name: '{name}'
57     # image name
58     docker-name: 'o-ran-sc/nonrtric-rapp-orufhrecovery-consumer'
59     # get tag from YAML
60     container-tag-method: yaml-file
61     # use host network to clone from our gerrit
62     docker-build-args: '--network=host'
63     # Directory with Dockerfile
64     docker-root: 'goversion'
65     # Directory where go test should be run
66     go-root: 'goversion'
67     # Limit build trigger to appropriate files
68     gerrit_trigger_file_paths:
69       - compare-type: REG_EXP
70         pattern: 'goversion/.*'
71     build-node: ubuntu1804-docker-4c-4g
72     # Includes verify and merge jobs
73     jobs:
74       - "{project-name}-gerrit-docker-jobs"
75       - gerrit-go-verify
76     stream:
77       - master:
78           branch: master
79       - f-release:
80           branch: f-release
81
82 - project:
83     <<: *orufhrecovery_common
84     name: nonrtric-rapp-orufhrecovery-consumer-sonar
85     project-name: 'nonrtric-rapp-orufhrecovery-consumer'
86     # prescan script requires ubuntu
87     # golang is only on docker-enabled nodes
88     build-node: ubuntu1804-docker-4c-4g
89     sonar-prescan-script: !include-raw-escape: prescan-oruclosedloopconsumer-ubuntu.sh
90     sonar-project-file: ""
91     java-version: openjdk11
92     # use sonarcloud values from defaults.yaml
93     sonar-properties: |
94         # Required metadata
95         sonar.login={sonarcloud_api_token}
96         sonar.projectKey=nonrtric-rapp-orufhrecovery-consumer
97         sonar.organization={sonarcloud_project_organization}
98         # Encoding
99         sonar.build.sourceEncoding=UTF-8
100         # Language
101         sonar.language=go
102         # Source
103         sonar.sources=.
104         # Unit tests
105         sonar.go.coverage.reportPaths=goversion/coverage.txt
106         # Inclusions
107         sonar.inclusions=goversion/internal/**/**.go,goversion/**.go
108         # Exclusions
109         sonar.exclusions=goversion/mocks/**.go,goversion/internal/**/**_test.go,goversion/**_test.go,goversion/simulator/**.go
110     jobs:
111       - gerrit-sonar-prescan-script