Merge "Adapt to restructuring of code in repo"
[ci-management.git] / jjb / sim-a1-interface / sim-a1-interface.yaml
1 ---
2 - project:
3     name: sim-a1-interface-project-view
4     project-name: sim-a1-interface
5     views:
6       - project-view
7
8 - project:
9     name: sim-a1-interface-info
10     project: sim/a1-interface
11     project-name: sim-a1-interface
12     build-node: centos7-builder-1c-1g
13     jobs:
14       - gerrit-info-yaml-verify
15
16 - sim_a1_interface_common: &sim_a1_interface_common
17     # values apply to all projects here
18     name: sim-a1-interface-common
19     # git repo
20     project: sim/a1-interface
21     # jenkins job name prefix
22     project-name: sim-a1-interface
23     # maven settings file has docker credentials
24     mvn-settings: sim-a1-interface-settings
25
26 - project:
27     <<: *sim_a1_interface_common
28     name: a1-simulator
29     # image name
30     docker-name: 'o-ran-sc/{name}'
31     # source of docker tag
32     container-tag-method: yaml-file
33     docker-root: near-rt-ric-simulator
34     # use host network
35     docker-build-args: '--network=host'
36     build-node: ubuntu1804-docker-4c-4g
37     stream:
38       - master:
39           branch: master
40     jobs:
41       - '{project-name}-gerrit-docker-jobs'
42
43 - project:
44     <<: *sim_a1_interface_common
45     name: sim-a1-interface-sonarqube
46     python-version: python3
47     build-node: ubuntu1804-builder-2c-2g
48     sonar-project-file: ""
49     sonar-properties: |
50         sonar.login={sonarcloud_api_token}
51         sonar.projectKey={sonarcloud_project_organization}_{project-name}
52         sonar.projectName={project-name}
53         sonar.organization={sonarcloud_project_organization}
54         sonar.build.sourceEncoding=UTF-8
55         sonar.sources=near-rt-ric-simulator
56         sonar.python.coverage.reportPaths=coverage.xml
57     jobs:
58       - gerrit-tox-sonarqube
59
60
61 - project:
62     <<: *sim_a1_interface_common
63     name: sim-a1-interface-release
64     # maven release requires sigul which requires centos
65     # container release requires docker
66     build-node: centos7-docker-2c-8g
67     jobs:
68       - '{project-name}-gerrit-release-jobs'