blob: a9537558fc6399d5e92d29dbd8c9797dcde17dba [file] [log] [blame]
lf-jobbuilder6007aeb2022-10-14 18:06:00 +00001---
2- project:
3 name: aiml-fw-athp-sdk-model-storage-project-view
4 project-name: aiml-fw-athp-sdk-model-storage
5 views:
6 - project-view
7
8- project:
9 name: aiml-fw-athp-sdk-model-storage-info
10 project: aiml-fw/athp/sdk/model-storage
11 project-name: aiml-fw-athp-sdk-model-storage
12 build-node: centos7-builder-1c-1g
13 branch: master
14 jobs:
ashishj1729a93114f2022-12-07 15:01:27 +053015 - gerrit-info-yaml-verify
Anil Belur4e0d56a2023-04-18 11:49:03 +100016
Anil Belur439502c2023-05-07 12:39:38 +100017- _aiml_mssdk_docker_common:
18 &aiml_mssdk_docker_common # values apply to all training manager projects
ashishj1729a93114f2022-12-07 15:01:27 +053019 name: aiml-fw-athp-sdk-model-storage-docker-common
20 # git repo
21 project: aiml-fw/athp/sdk/model-storage
22 # jenkins job name prefix
23 project-name: aiml-fw-athp-sdk-model-storage
24 # maven settings file has docker credentials
25 mvn-settings: aiml-fw-athp-sdk-model-storage-settings
26
27- project:
28 <<: *aiml_mssdk_docker_common
29 name: aiml-fw-athp-sdk-model-storage-tox-verify
30 # the install script assumes an ubuntu image
31 build-node: ubuntu1804-builder-2c-2g
32 python-version: python3
33 # skip docs on verify
34 tox-envs: code
Anil Belur439502c2023-05-07 12:39:38 +100035 tox-dir: "."
ashishj1729a93114f2022-12-07 15:01:27 +053036 # do not trigger on changes in docs, releases
37 gerrit_trigger_file_paths:
38 - compare-type: REG_EXP
Anil Belur439502c2023-05-07 12:39:38 +100039 pattern: "modelmetricsdk/.*"
ashishj1729a93114f2022-12-07 15:01:27 +053040 stream:
41 # run verify on all branches
42 # the ANT pattern is **/{branch}, we are exploiting that.
43 - all:
44 branch: master
45 jobs:
46 - gerrit-tox-verify
47
48- project:
49 <<: *aiml_mssdk_docker_common
50 name: aiml-fw-athp-sdk-model-storage-sonarqube
51 python-version: python3
Anil Belur439502c2023-05-07 12:39:38 +100052 tox-dir: "."
ashishj1729a93114f2022-12-07 15:01:27 +053053 # the install script assumes an ubuntu image
54 build-node: ubuntu1804-builder-2c-2g
55 # do not trigger on changes in docs, releases
56 gerrit_trigger_file_paths:
57 - compare-type: REG_EXP
Anil Belur439502c2023-05-07 12:39:38 +100058 pattern: "modelmetricsdk/.*"
ashishj1729a93114f2022-12-07 15:01:27 +053059 sonar-project-file: ""
60 sonar-properties: |
Anil Belur439502c2023-05-07 12:39:38 +100061 sonar.login={sonarcloud_api_token}
62 sonar.projectKey={sonarcloud_project_organization}_{project-name}
63 sonar.projectName={project-name}
64 sonar.organization={sonarcloud_project_organization}
65 sonar.build.sourceEncoding=UTF-8
66 sonar.sources=modelmetricsdk
67 sonar.python.coverage.reportPaths=coverage.xml
ashishj1729a93114f2022-12-07 15:01:27 +053068 jobs:
Anil Belur4e0d56a2023-04-18 11:49:03 +100069 - gerrit-tox-sonarqube