build-node: centos7-builder-1c-1g
jobs:
- gerrit-info-yaml-verify
+
+- pti_o2_common: &pti_o2_common
+ # values apply to all pti/o2 projects
+ name: pti-o2-common
+ # git repo
+ project: pti/o2
+ # jenkins job name prefix
+ project-name: pti-o2
+ # maven settings file has credentials
+ mvn-settings: pti-o2-settings
+
+- pti_o2_python: &pti_o2_python
+ # settings for python builds
+ name: pti-o2-python
+ # the install script assumes an ubuntu image
+ build-node: ubuntu1804-builder-2c-2g
+ # impt for verify and tox etc
+ python-version: python3
+ # no need to verify docs
+ tox-envs: code,flake8
+
+- project:
+ <<: *pti_o2_common
+ <<: *pti_o2_python
+ name: pti-o2-imsdms-verify
+ # do not trigger on changes in docs, releases
+ gerrit_trigger_file_paths:
+ - compare-type: REG_EXP
+ pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
+ jobs:
+ - gerrit-tox-verify
+ stream:
+ - master:
+ branch: master