Update jjb for pti o2 repo 13/6913/1
authorBin Yang <bin.yang@windriver.com>
Fri, 22 Oct 2021 05:50:26 +0000 (13:50 +0800)
committerBin Yang <bin.yang@windriver.com>
Fri, 22 Oct 2021 05:52:35 +0000 (13:52 +0800)
Add verify job

Issue-ID: INF-232

Signed-off-by: Bin Yang <bin.yang@windriver.com>
Change-Id: I66092dff7e2a08c1b408fd3119e3d7b792b33a03

jjb/pti-o2/pti-o2.yaml

index 23f22c4..f07066f 100644 (file)
     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