d0b3f5e6d2adf8e9538f79328d92a05810c17e20
[ci-management.git] / jjb / ric-app-hw-python / ric-app-hw-python.yaml
1 ---
2 - project:
3     name: ric-app-hw-python-project-view
4     project-name: ric-app-hw-python
5     views:
6       - project-view
7
8 - _hw-python_common: &hw-python_common
9     # values apply to all projects
10     name: hw-python-common
11     # git repo
12     project: ric-app/hw-python
13     # jenkins prefix
14     project-name: ric-app-hw-python
15     # maven settings file has docker credentials
16     mvn-settings: ric-app-hw-python-settings
17
18 # verify INFO.yaml changes
19 - project:
20     <<: *hw-python_common
21     name: ric-app-hw-python-info
22     build-node: centos7-builder-1c-1g
23     jobs:
24       - gerrit-info-yaml-verify
25
26 # create docker image when source changes
27 - project:
28     <<: *hw-python_common
29     name: ric-app-hw-python
30     # image name
31     docker-name: 'o-ran-sc/{name}'
32     # source of docker tag
33     container-tag-method: yaml-file
34     # use host network to clone from our gerrit
35     docker-build-args: '--network=host'
36     # trigger on any change other than a file in ./docs
37     gerrit_trigger_file_paths:
38         - compare-type: REG_EXP
39           pattern: '^((?!docs/|\/COMMIT_MSG).)*$'
40     jobs:
41       - '{project-name}-gerrit-docker-jobs'
42     stream:
43       - master:
44           branch: master
45
46 # push nexus image from staging to release
47 - project:
48     <<: *hw-python_common
49     name: ric-app-hw-python-release
50     # maven release requires sigul which requires centos
51     # container release requires docker
52     build-node: centos7-docker-2c-8g
53     jobs:
54       - '{project-name}-gerrit-release-jobs'