CI: Deprecate Jenkins Sonar jobs
[ci-management.git] / jjb / pti-o2 / pti-o2.yaml
1 ---
2 - project:
3     name: pti-o2-project-view
4     project-name: pti-o2
5     views:
6       - project-view
7
8 - _pti_o2_common: &pti_o2_common # values apply to all pti/o2 projects
9     name: pti-o2-common
10     # git repo
11     project: pti/o2
12     # jenkins job name prefix
13     project-name: pti-o2
14     # maven settings file has credentials
15     mvn-settings: pti-o2-settings
16
17 - _pti_o2_python: &pti_o2_python # settings for python builds
18     name: pti-o2-python
19     # the install script assumes an ubuntu image
20     build-node: ubuntu1804-builder-2c-2g
21     # impt for verify and tox etc
22     python-version: python3
23     # no need to verify docs
24     tox-envs: code,flake8
25
26 - _pti_o2_docker: &pti_o2_docker_common
27     <<: *pti_o2_common
28     # values apply to all pti/o2 docker projects
29     # maven settings file has docker credentials
30     docker-name: "o-ran-sc/pti-o2imsdms"
31     docker-build-args: "--network=host -f Dockerfile"
32     # source of docker tag
33     container-tag-method: yaml-file
34     # docker-root: src
35     # if no container-tag-yaml-dir is defined, container-tag.yml is taken from the docker-root
36     container-tag-yaml-dir: stages
37     build-node: ubuntu1804-docker-4c-4g
38     stream:
39       - master:
40           branch: master
41
42 - project:
43     <<: *pti_o2_docker_common
44     name: pti-o2-imsdms
45     # do not trigger on changes in docs, releases
46     gerrit_trigger_file_paths:
47       - compare-type: REG_EXP
48         pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
49     jobs:
50       - "{project-name}-gerrit-docker-jobs"
51     stream:
52       - master:
53           branch: master
54
55 - project:
56     <<: *pti_o2_docker_common
57     name: pti-o2-imsdms-release
58     # maven release requires sigul which requires centos
59     # container release requires docker
60     build-node: centos7-docker-2c-8g
61     container-tag-yaml-dir: releases
62     gerrit_trigger_file_paths:
63       - compare-type: REG_EXP
64         pattern: 'releases\/.*\.yaml'
65     jobs:
66       - "{project-name}-gerrit-release-jobs"
67
68 - project:
69     <<: *pti_o2_docker_common
70     name: pti-o2-nexus-iq
71     build-node: centos7-builder-1c-1g
72     nexus-iq-namespace: oran-
73     jobs:
74       - gerrit-tox-nexus-iq-clm