lf-jobbuilder | 6007aeb | 2022-10-14 18:06:00 +0000 | [diff] [blame] | 1 | --- |
| 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: |
ashishj1729 | a93114f | 2022-12-07 15:01:27 +0530 | [diff] [blame] | 15 | - gerrit-info-yaml-verify |
Anil Belur | 4e0d56a | 2023-04-18 11:49:03 +1000 | [diff] [blame] | 16 | |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 17 | - _aiml_mssdk_docker_common: |
| 18 | &aiml_mssdk_docker_common # values apply to all training manager projects |
ashishj1729 | a93114f | 2022-12-07 15:01:27 +0530 | [diff] [blame] | 19 | 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 Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 35 | tox-dir: "." |
ashishj1729 | a93114f | 2022-12-07 15:01:27 +0530 | [diff] [blame] | 36 | # do not trigger on changes in docs, releases |
| 37 | gerrit_trigger_file_paths: |
| 38 | - compare-type: REG_EXP |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 39 | pattern: "modelmetricsdk/.*" |
ashishj1729 | a93114f | 2022-12-07 15:01:27 +0530 | [diff] [blame] | 40 | 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 Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 52 | tox-dir: "." |
ashishj1729 | a93114f | 2022-12-07 15:01:27 +0530 | [diff] [blame] | 53 | # 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 Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 58 | pattern: "modelmetricsdk/.*" |
ashishj1729 | a93114f | 2022-12-07 15:01:27 +0530 | [diff] [blame] | 59 | sonar-project-file: "" |
| 60 | sonar-properties: | |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 61 | 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 |
ashishj1729 | a93114f | 2022-12-07 15:01:27 +0530 | [diff] [blame] | 68 | jobs: |
Anil Belur | 4e0d56a | 2023-04-18 11:49:03 +1000 | [diff] [blame] | 69 | - gerrit-tox-sonarqube |